MCP Configuration Examples

Copy-ready configurations for connecting agentcentral to MCP clients and custom agents.

Before You Start

Create an API key from the dashboard Keys tab. Header-capable clients use the raw ac_live_... key. Claude custom connectors use the signed Claude connector URL from the same Keys tab.

ClientAuth shape
Claude custom connectorSigned /mcp/connect/<token> URL
Claude CodeAuthorization: Bearer ac_live_... header
CursorAuthorization: Bearer ac_live_... header
Custom agentRemote HTTP MCP endpoint plus bearer header

Claude Custom Connector

Copy the Claude connector URL from the dashboard, then add it in Claude through Customize > Connectors > Add custom connector. Name the connector agentcentral.

https://mcp.agentcentral.to/mcp/connect/<signed-token>

Use the signed connector URL for this flow. The Claude custom connector UI does not accept a separate Authorization header.

Claude Code

Set your key once, then add the remote HTTP MCP server from any Claude Code session.

export AGENT_CENTRAL_API_KEY="ac_live_..."
claude mcp add --transport http agentcentral https://mcp.agentcentral.to/mcp \
  --header "Authorization: Bearer ${AGENT_CENTRAL_API_KEY}"

Add --scope project to share the server through the repository's .mcp.json, or --scope user for your local Claude Code profile.

JSON form:

claude mcp add-json agentcentral '{
  "type": "http",
  "url": "https://mcp.agentcentral.to/mcp",
  "headers": {
    "Authorization": "Bearer ${AGENT_CENTRAL_API_KEY}"
  }
}'

Cursor

For repository scope, save this as .cursor/mcp.json. For user scope, save it as ~/.cursor/mcp.json.

{
  "mcpServers": {
    "agentcentral": {
      "url": "https://mcp.agentcentral.to/mcp",
      "headers": {
        "Authorization": "Bearer ${AGENT_CENTRAL_API_KEY}"
      }
    }
  }
}

Restart Cursor or reload the MCP server list after saving the file.

Header-Capable Clients

Most MCP clients use an mcpServers object with a remote URL and request headers.

{
  "mcpServers": {
    "agentcentral": {
      "url": "https://mcp.agentcentral.to/mcp",
      "headers": {
        "Authorization": "Bearer ${env:AGENT_CENTRAL_API_KEY}"
      }
    }
  }
}

Custom Agent

If your agent owns its MCP client layer, store the endpoint and header in your agent configuration and inject the API key from a secret manager or environment variable.

{
  "name": "agentcentral",
  "transport": "http",
  "url": "https://mcp.agentcentral.to/mcp",
  "headers": {
    "Authorization": "Bearer ${AGENT_CENTRAL_API_KEY}"
  },
  "capabilities": {
    "tools": true,
    "resources": true
  }
}

Use https://mcp.agentcentral.to/mcp for normal bearer auth. Reserve /mcp/connect/<signed-token> for Claude custom connectors.

MCP Configuration Examples — agentcentral