McpMCP guides

Connect with VS Code

Add Era to VS Code's mcp.json; the key isn't written to the file, it's asked on first connect.

This configuration keeps the key out of the file: VS Code asks for it in a hidden field on first connect and stores it itself.

Get your key first

Finish the first step of MCP setup: Apps → MCP → Create key. Compare the address in the example with the one on your card.

Configuration

.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}" }
    }
  }
}

First read-only request

First request
List Era's tools. Find the demo customers and only summarise them.
Don't change any record; show the result with IDs and sources.

Check the tool's connection state and the real result of the records_find call. When you rotate the key, update the tool and reconnect. Role and module limits are enforced on Era's side; don't call an action that is waiting for approval again.

What's next

Official configuration docs