TokenGuard setup

Add the MCP server and your API key so usage is tied to your account.

1. Get your API key

Open Dashboard, log in, and click Generate new API key. Copy the key (starts with tg_live_).

2. Cursor

In Cursor: Settings → MCP (or open ~/.cursor/mcp.json). Add a server with headers:

{
  "mcpServers": {
    "tokenguard": {
      "url": "https://tokenguard.agenticidaho.workers.dev/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY_HERE"
      }
    }
  }
}

Replace YOUR_API_KEY_HERE with your key. You can also use X-TokenGuard-Key instead of Authorization.

3. Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or the equivalent on Windows:

{
  "mcpServers": {
    "tokenguard": {
      "url": "https://tokenguard.agenticidaho.workers.dev/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY_HERE"
      }
    }
  }
}

4. Other MCP clients

Set the MCP URL to https://tokenguard.agenticidaho.workers.dev/mcp and add a header:

← Back to homepage