Citera home
Browse documentation

Connect an MCP client

Connect an MCP client

Find your MCP server URL, choose browser sign-in or a manual key, and follow a client-specific setup guide.

Summarize with AIChatGPTClaudePerplexity

Find your server URL

Sign in to Citera and open Settings → API & MCP → MCP. Select Connect another assistant. Choose Claude, Cursor, VS Code or Claude Code, or select Other client. The dialog displays the server URL and client-specific instructions.

Open Citera API & MCP settings

Server URL: https://mcp.citeralabs.ai/mcp. This is the address to enter in your AI client. The settings-page URL is for managing access and is not an MCP server endpoint.

Choose browser sign-in or a manual key

Browser sign-in is the simplest route for compatible clients: select OAuth, sign in to Citera and choose which brands the assistant may read. No API key is needed. Citera currently grants read-only access through this flow. You can disconnect from the AI assistants list in the same settings page.

If your client needs a fixed credential, expand Client doesn’t support browser sign-in? in the dialog and choose Use an API key instead. Manual MCP keys are optional. Follow the client’s credential-storage instructions and the manual examples below.

Client setup guides

Client

Setup route

Access

Guide

Claude

In-app instructions + client configuration

Read-only browser sign-in

Open setup guide

ChatGPT

Manual custom-server setup

Read-only browser sign-in

Open setup guide

Gemini CLI

Manual custom-server setup

Read-only browser sign-in

Open setup guide

Cursor

In-app instructions + client configuration

Read-only browser sign-in

Open setup guide

Lovable

Manual custom-server setup

Read-only browser sign-in

Open setup guide

Replit

Manual custom-server setup

Read-only browser sign-in

Open setup guide

VS Code

In-app instructions + client configuration

Read-only browser sign-in

Open setup guide

The in-app dialog includes Claude, Cursor, VS Code and Claude Code. For ChatGPT, Gemini CLI, Lovable and Replit, use Other client and the guide linked above. Custom-server availability, administrator permissions and client requirements can evolve. Complete the verification step in your chosen guide.

Start with a read-only workflow

Weekly AI visibility brief

White label client report

Find pages losing visibility

Manual-key and compatibility examples

For clients that need a fixed Authorization header, open Citera’s MCP connection dialog, expand Client doesn’t support browser sign-in? and choose Use an API key instead. Create a key for the brands it may read. Use https://mcp.citeralabs.ai/mcp as the endpoint. For the shell examples, set CITERA_MCP_URL to that URL and CITERA_API_KEY to your manual key. JSON secret interpolation varies by client.

Claude Code with a manual MCP key (browser sign-in is described in the Claude guide above):

claude mcp add --transport http citera "$CITERA_MCP_URL" \
  --header "Authorization: Bearer $CITERA_API_KEY"
claude mcp add --transport http citera "$CITERA_MCP_URL" \
  --header "Authorization: Bearer $CITERA_API_KEY"
claude mcp add --transport http citera "$CITERA_MCP_URL" \
  --header "Authorization: Bearer $CITERA_API_KEY"
claude mcp add --transport http citera "$CITERA_MCP_URL" \
  --header "Authorization: Bearer $CITERA_API_KEY"

Cursor and other clients that accept a remote URL with an Authorization header (prefer personal configuration and keep real keys out of repositories):

{
  "mcpServers": {
    "citera": {
      "url": "https://mcp.citeralabs.ai/mcp",
      "headers": { "Authorization": "Bearer rk_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" }
    }
  }
}
{
  "mcpServers": {
    "citera": {
      "url": "https://mcp.citeralabs.ai/mcp",
      "headers": { "Authorization": "Bearer rk_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" }
    }
  }
}
{
  "mcpServers": {
    "citera": {
      "url": "https://mcp.citeralabs.ai/mcp",
      "headers": { "Authorization": "Bearer rk_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" }
    }
  }
}
{
  "mcpServers": {
    "citera": {
      "url": "https://mcp.citeralabs.ai/mcp",
      "headers": { "Authorization": "Bearer rk_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" }
    }
  }
}

Clients that only support stdio servers (for example older Claude Desktop configurations) can use a stdio-to-HTTP bridge such as mcp-remote:

{
  "mcpServers": {
    "citera": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.citeralabs.ai/mcp",
               "--header", "Authorization: Bearer ${CITERA_API_KEY}"],
      "env": { "CITERA_API_KEY": "rk_live_…" }
    }
  }
}
{
  "mcpServers": {
    "citera": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.citeralabs.ai/mcp",
               "--header", "Authorization: Bearer ${CITERA_API_KEY}"],
      "env": { "CITERA_API_KEY": "rk_live_…" }
    }
  }
}
{
  "mcpServers": {
    "citera": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.citeralabs.ai/mcp",
               "--header", "Authorization: Bearer ${CITERA_API_KEY}"],
      "env": { "CITERA_API_KEY": "rk_live_…" }
    }
  }
}
{
  "mcpServers": {
    "citera": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.citeralabs.ai/mcp",
               "--header", "Authorization: Bearer ${CITERA_API_KEY}"],
      "env": { "CITERA_API_KEY": "rk_live_…" }
    }
  }
}

Raw JSON-RPC (useful for debugging):

curl -s "$CITERA_MCP_URL" \
  -H "Authorization: Bearer $CITERA_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

curl -s "$CITERA_MCP_URL" \
  -H "Authorization: Bearer $CITERA_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call",
       "params":{"name":"rankad_list_brands","arguments":{"limit":10}}}'
curl -s "$CITERA_MCP_URL" \
  -H "Authorization: Bearer $CITERA_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

curl -s "$CITERA_MCP_URL" \
  -H "Authorization: Bearer $CITERA_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call",
       "params":{"name":"rankad_list_brands","arguments":{"limit":10}}}'
curl -s "$CITERA_MCP_URL" \
  -H "Authorization: Bearer $CITERA_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

curl -s "$CITERA_MCP_URL" \
  -H "Authorization: Bearer $CITERA_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call",
       "params":{"name":"rankad_list_brands","arguments":{"limit":10}}}'
curl -s "$CITERA_MCP_URL" \
  -H "Authorization: Bearer $CITERA_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

curl -s "$CITERA_MCP_URL" \
  -H "Authorization: Bearer $CITERA_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call",
       "params":{"name":"rankad_list_brands","arguments":{"limit":10}}}'