Skip to content
DocsCursor

Connect your AI

Cursor

Cursor reads MCP servers from mcp.json. Add MCPKeychain once for every project, or per project, and sign in from Cursor.

Your MCP URL

https://mcpkeychain.com/mcp

Add MCPKeychain

  1. Open your MCP configuration

    For every project, edit ~/.cursor/mcp.json. For one project only, create .cursor/mcp.json in that project. You can also open it from Cursor's settings, in the MCP section.

  2. Add the server

    mcp.json
    {
      "mcpServers": {
        "mcpkeychain": {
          "url": "https://mcpkeychain.com/mcp"
        }
      }
    }
  3. Sign in

    In Cursor's MCP settings, MCPKeychain shows that it needs a login. Click to connect: Cursor opens the MCPKeychain sign-in in your browser (OAuth with PKCE). Sign in, pick your agency and click Allow access.

Ask the agent Which clients can I work on? to check. In agent chats, Cursor shows each MCPKeychain tool call before it runs.

With a personal access token

For shared machines or when the browser sign-in is not an option, create a personal access token in the MCPKeychain panel (your agency's dashboard, Personal access tokens) and pass it as a header. Keep the token in an environment variable, not in the file:

mcp.json
{
  "mcpServers": {
    "mcpkeychain": {
      "url": "https://mcpkeychain.com/mcp",
      "headers": {
        "Authorization": "Bearer ${env:MCPKEYCHAIN_TOKEN}"
      }
    }
  }
}

Using Claude Code in the terminal as well? See Claude Code.