Model Context Protocol

Let AI Agents Drive Your SEO

The Traffi MCP Server exposes your entire traffic generation stack as AI tools. Claude, Cursor, Windsurf — any MCP client can now scan URLs, generate articles, and check AI visibility on your behalf.

Claude Desktop Cursor Windsurf Cline Continue OpenAI Agents Any MCP Client

7 Tools. Full Autonomy.

Give your AI agent complete control over the Traffi content pipeline — from first scan to published article.

scan_url
Scan any website to extract its ICP profile — target industries, roles, pain points, keywords, and competitors.
url: string
get_scan_status
Poll a scan in progress. Returns the full ICP when complete.
scan_id: number
generate_articles
Trigger 5 SEO articles for a completed scan. Generation runs async in 2–5 minutes.
scan_id: number
get_traffic_stats
Fetch click analytics, top articles, and channel breakdown for any time period.
period: '7d' | '30d' | '90d' | 'all'
get_published_articles
List all published articles with titles, keywords, click counts, and SEO scores.
scan_id?: number, limit?: number
check_ai_visibility
Check how often your brand is mentioned in ChatGPT, Claude, Perplexity, and Gemini responses.
no params required
generate_llms_txt
Create or refresh a llms.txt file so AI crawlers discover and cite your content.
client_slug: string

Connect in 2 Minutes

Choose your client below. All clients need a Traffi API key from your settings.

Claude Desktop
Cursor / Windsurf
HTTP / Remote
npm / npx
// ~/.config/claude/claude_desktop_config.json
{
  "mcpServers": {
    "traffi": {
      "command": "npx",
      "args": ["-y", "traffi-mcp"],
      "env": {
        "TRAFFI_API_KEY": "tk_your_api_key_here"
      }
    }
  }
}
// .cursor/mcp.json  (or Windsurf: .windsurf/mcp.json)
{
  "mcpServers": {
    "traffi": {
      "command": "npx",
      "args": ["-y", "traffi-mcp"],
      "env": {
        "TRAFFI_API_KEY": "tk_your_api_key_here"
      }
    }
  }
}
# HTTP endpoint for remote MCP clients
# POST https://traffi.app/api/mcp

curl -X POST https://traffi.app/api/mcp \
  -H "Content-Type: application/json" \
  -H "X-MCP-API-Key: tk_your_api_key_here" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/list",
    "params": {}
  }'

# For Streamable HTTP clients, use:
# MCP_SERVER_URL=https://traffi.app/api/mcp
# Run directly with npx (no install needed)
TRAFFI_API_KEY=tk_your_api_key npx -y traffi-mcp

# Or install globally
npm install -g traffi-mcp

# Then run
TRAFFI_API_KEY=tk_your_api_key traffi-mcp

API Key Setup

1
Go to Settings → API Keys in your Traffi dashboard.
2
Click Create API Key. Your key will start with tk_ — copy it immediately (it won't be shown again).
3
Paste it as TRAFFI_API_KEY in your MCP client config. The key authenticates as your account and inherits your plan permissions.
4
Each key has a default rate limit of 100 calls/hour. Revoke keys anytime from Settings.

What to Ask Your Agent

Full Pipeline
"Scan stripe.com, wait for the ICP to complete, then generate articles and tell me what keywords they're targeting."
Performance Review
"Show me the traffic stats for the last 30 days and list my top 10 published articles by click count."
AI Visibility Audit
"Check my AI visibility score and tell me which keywords I'm missing coverage on, then generate llms.txt for my site."

Start Building with Traffi MCP

Free trial included. No credit card. Get your API key and connect in minutes.

Get Started Free →