Integrations

Connecting AI tools with MCP

Connect AI tools like Claude, Cursor, and Codex directly to your CitedSpy workspace with the Model Context Protocol (MCP). Once connected, your AI assistant can read your brands, prompts, runs, citations, and analytics - and create prompts or trigger runs - without you copying data back and forth.

What you can do

  • Ask for your AI visibility dashboard in plain language
  • Find your weakest prompts and engines
  • Create and edit tracking prompts from chat
  • Trigger fresh runs across engines
  • Pull citations, mentions, and reports into your AI workflow

Prerequisites

  • A CitedSpy account on a plan with API access (Growth or Pro)
  • A CitedSpy API key
  • An MCP-compatible AI client (Claude, Cursor, Codex, etc.)

The CitedSpy MCP server URL is:

https://mcp.citedspy.com/mcp

Step 1 - Create an API key

  1. Log in to app.citedspy.com.
  2. Go to Settings > API Keys.
  3. Click New API Key, name it (for example "Claude MCP"), and copy the key.

Your key starts with cspy_ and is only shown once. API keys are available on the Growth and Pro plans.

Step 2 - Connect your AI tool

Pick your tool below. Every tool points at the same server URL (https://mcp.citedspy.com/mcp) and finishes with the same one-time authorization in Step 3.

Claude Code (CLI)

Run this in your terminal:

claude mcp add --transport http citedspy https://mcp.citedspy.com/mcp

Then start Claude Code, run /mcp, choose citedspy, and authorize.

Claude Desktop

  1. Open Settings > Connectors > Add custom connector.
  2. Name it CitedSpy and paste the URL https://mcp.citedspy.com/mcp.
  3. Click Add, then Connect to authorize.

Gemini CLI

Run:

gemini mcp add --transport http citedspy https://mcp.citedspy.com/mcp

Restart Gemini CLI, run /mcp, and follow the prompt to authorize citedspy. If your version has no mcp add command, add the server to ~/.gemini/settings.json instead:

{
  "mcpServers": {
    "citedspy": {
      "httpUrl": "https://mcp.citedspy.com/mcp"
    }
  }
}

Codex (CLI and Desktop)

Add this to ~/.codex/config.toml:

[features]
experimental_use_rmcp_client = true

[mcp_servers.citedspy]
url = "https://mcp.citedspy.com/mcp"

Then authorize from the terminal:

codex mcp login citedspy

The rmcp_client feature is required for remote servers that use sign-in (OAuth), like CitedSpy.

Cursor

Add the server to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):

{
  "mcpServers": {
    "citedspy": {
      "url": "https://mcp.citedspy.com/mcp"
    }
  }
}

Cursor opens your browser to authorize the first time the server is used.

Any other MCP client

Any tool that supports remote (streamable HTTP) MCP servers works. Add a new server with the URL https://mcp.citedspy.com/mcp and complete the authorization in Step 3.

Step 3 - Authorize CitedSpy

The first time you connect, your AI tool opens a CitedSpy authorization page in your browser. Paste your API key, confirm the connection, and return to your AI tool. CitedSpy validates the key before the connection is created, and never exposes it to the AI tool. You only do this once per tool.

Example prompts

List all the brands in my CitedSpy workspace.
Show the visibility dashboard for my main brand over the last 30 days.
Create a comparison prompt for my brand against its top two competitors, then trigger a run.

Available actions

ActionWhat it does
pingValidates your key and shows your workspace and plan
list_brands / get_brandRead brands and their competitors
list_prompts / get_prompt / get_prompt_reportRead prompts and full analytics reports
create_prompt / update_prompt / delete_promptManage tracking prompts
list_runs / get_run / trigger_runRead runs and queue new ones
list_competitorsRead competitors for a brand
get_dashboardRead computed dashboard metrics
list_citations / list_mentionsRead citations and detected mentions
list_enginesRead engines and your on/off selection
call_citedspy_v1Call any API endpoint directly

Security

Your API key authorizes MCP access - treat it like a password. The MCP can create, update, and delete prompts and trigger runs, so only connect AI tools you trust. To revoke access, disconnect the server in your AI tool or delete the key in Settings > API Keys.

Troubleshooting

"API key is invalid" - Copy the full key including the cspy_ prefix, with no extra spaces.

"Plan does not include MCP access" - MCP requires the Growth or Pro plan. Upgrade, then reconnect.

AI tool cannot see CitedSpy actions - Confirm the URL is exactly https://mcp.citedspy.com/mcp, then disconnect and reconnect.

Need help? Contact us at citedspy.com/contact.

Need more help?

Our support team is here to help you get the most out of CitedSpy.

Contact support