MCP setup

Create a key, connect your tool to Era and try it with a read-only request that changes nothing.

Connect your AI tools over MCP

This guide connects an AI tool to Era's MCP server. The tool works on its own AI account; Era's MCP key does not replace a model subscription, it only gives access to your records in Era.

Create the key

On the web or desktop, open Apps → MCP. On the Era MCP server card press Create key. Take the card's address and copy the key right away: it is shown once. Creating a key needs permission to manage API keys.

Tools that can sign in, like Claude Code, don't need a key

Add the address and the tool sends you to Era's sign-in page in the browser. A key is for tools that cannot sign in (config files, scripts).

Connect your tool

Use the card's address as it is. Send the key in the x-api-key header; Authorization: Bearer works too. <your era_ key> in the examples is a placeholder.

Terminal
claude mcp add --transport http era https://app.getera.io/api/mcp --header "x-api-key: <your era_ key>"
~/.codex/config.toml
[mcp_servers.era]
url = "https://app.getera.io/api/mcp"
bearer_token_env_var = "ERA_MCP_KEY"
mcp.json
{
  "mcpServers": {
    "era": {
      "url": "https://app.getera.io/api/mcp",
      "headers": { "x-api-key": "<your era_ key>" }
    }
  }
}
.vscode/mcp.json
{
  "inputs": [
    { "type": "promptString", "id": "era-key", "description": "Era MCP key", "password": true }
  ],
  "servers": {
    "era": {
      "type": "http",
      "url": "https://app.getera.io/api/mcp",
      "headers": { "x-api-key": "${input:era-key}" }
    }
  }
}

Claude Desktop has its own guide: the form differs on Windows.

Try it without changing anything

First request
List Era's tools and read the overview of the business you can access.
Don't change records and don't send messages outside.

The tool should load Era's tool list and read the business overview (era_overview). An address that looks added doesn't prove a tool really works; read the result.

Pick your tool

Rotating the key

Rotate key removes the old key; every tool using it stops working, so update them all with the new one. The new key is also shown only once.

Don't share the key

Never put the key, or a configuration with real customer data, in Git, a chat or a screenshot you send to support. If you think the key leaked, Rotate key right away.

If something goes wrong

SymptomWhat to do
401The key is missing, wrong or rotated. Check the header and the address.
404Addresses like /mcp or /mcp/personal don't exist; use the card's address (/api/mcp).
Tools list, but the job is refusedThe module may be off, your role may not allow it, or a precondition is missing.
Waiting for approvalDecide on the approval card in Era; don't start the same call again.
Old tool listReconnect the tool and have it reload the list.

Next checks: Permissions and MCP and CLI questions.