MCP v2 · JSON-RPC 2.0 · OAuth 2.1 + PKCE

SARP MCP v2 Server & CI/CD Guard for Cursor, Claude Code & Windsurf

SARP exposes a remote Streamable HTTP MCP v2 server at https://www.sarpseo.com/api/mcp with 12 tools (8 read-only workspace tools and 4 active GEO/crawler verification tools), authenticated via OAuth 2.1 + PKCE or scoped API keys. Teams also enforce SEO/GEO thresholds on every PR via /api/ci/guard.

12 Remote MCP Tools Included

sarp_list_projectsmcp:read

List registered SEO/GEO projects and readiness scores.

sarp_get_site_strategymcp:read

Retrieve target domain profile, winnable niches, generated llms.txt & JSON-LD.

sarp_get_project_keywordsmcp:read

Fetch measured search volumes, difficulty, and Weak-Spot SERP signals.

sarp_get_priority_clustersmcp:read

Get prioritized Pillar/Satellite topic clusters sorted by ROI.

sarp_list_briefsmcp:read

List generated GEO briefs and draft completion status.

sarp_get_brief_markdownmcp:read

Read the complete structured brief (Answer Capsule, H2/H3, Schema, FAQ).

sarp_get_pages_planmcp:read

Export the next 10 pages to build as structured JSON or an AI-builder prompt.

sarp_get_ai_trafficmcp:read

Inspect real cookieless referral traffic from ChatGPT, Perplexity, and Claude.

sarp_check_crawler_viewmcp:tools

Fetch initial server HTML without JavaScript on any route to prevent blank SPA pages.

sarp_lint_geo_contentmcp:tools

Score a markdown draft 0–100 against Princeton KDD 2024 citability criteria.

sarp_generate_fanout_queriesmcp:tools

Decompose a buyer prompt into hidden ChatGPT/Perplexity fan-out sub-queries.

sarp_compare_competitor_gapmcp:tools

Compare your live page vs a Top 10 competitor for missing headings, terms, and JSON-LD.

Zero-Secret Configuration Snippets

Repository .mcp.json (Claude Code / Cursor)
{
  "mcpServers": {
    "sarp": {
      "type": "http",
      "url": "https://www.sarpseo.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${SARP_API_KEY}"
      }
    }
  }
}
Claude Code CLI (OAuth 2.1)
claude mcp add --transport http --scope user sarp https://www.sarpseo.com/api/mcp
Windsurf (~/.codeium/windsurf/mcp_config.json)
{
  "mcpServers": {
    "sarp": {
      "serverUrl": "https://www.sarpseo.com/api/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_SARP_API_KEY>"
      }
    }
  }
}
Cursor (.cursor/mcp.json)
{
  "mcpServers": {
    "sarp": {
      "url": "https://www.sarpseo.com/api/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_SARP_API_KEY>"
      }
    }
  }
}
GitHub Actions CI/CD Guard (/api/ci/guard)
name: SARP SEO & GEO Guard
on:
  pull_request:
    types: [opened, synchronize]
  deployment_status:

jobs:
  sarp-ci-guard:
    if: github.event_name != 'deployment_status' || github.event.deployment_status.state == 'success'
    runs-on: ubuntu-latest
    steps:
      - name: Run SARP SEO & GEO Guard
        env:
          SARP_API_KEY: ${{ secrets.SARP_MCP_API_KEY }}
          TARGET_URL: ${{ github.event.deployment_status.target_url || vars.SARP_TARGET_URL }}
        run: |
          set -euo pipefail
          if [ -z "${TARGET_URL:-}" ]; then
            echo "::notice::No TARGET_URL configured; skipping live URL check."
            exit 0
          fi

          RESP=$(curl -sS -w "\n%{http_code}" -X POST "https://www.sarpseo.com/api/ci/guard" \
            -H "Content-Type: application/json" \
            -H "Authorization: Bearer ${SARP_API_KEY}" \
            -d "$(jq -n --arg url "$TARGET_URL" '{
              url: $url,
              thresholds: { minSeoScore: 70, minGeoScore: 60, failOnEmptyCrawlerView: true },
              createShareReport: true,
              locale: "en"
            }')")

          HTTP_CODE=$(echo "$RESP" | tail -n1)
          BODY=$(echo "$RESP" | sed '$d')
          [ "$HTTP_CODE" -eq 200 ] || { echo "::error::SARP CI Guard failed ($HTTP_CODE): $BODY"; exit 1; }

          PASSED=$(echo "$BODY" | jq -r '.passed')
          SEO=$(echo "$BODY" | jq -r '.scores.seo')
          GEO=$(echo "$BODY" | jq -r '.scores.geo')
          VERDICT=$(echo "$BODY" | jq -r '.crawlerVerdict')
          SHARE_URL=$(echo "$BODY" | jq -r '.shareUrl // ""')

          {
            echo "### SARP SEO & GEO Guard"
            echo "| Metric | Value |"
            echo "|---|---|"
            echo "| Target | `${TARGET_URL}` |"
            echo "| SEO Score | **${SEO}/100** |"
            echo "| GEO Citability | **${GEO}/100** |"
            echo "| Crawler View (No-JS) | `${VERDICT}` |"
            [ -n "$SHARE_URL" ] && echo "| Full Audit Report | [View Shareable Report](${SHARE_URL}) |"
            echo ""
            echo "$BODY" | jq -r '.violations[] | "- **[(.severity | ascii_upcase)]** `(.rule)`: (.message)"'
          } >> "$GITHUB_STEP_SUMMARY"

          echo "$BODY" | jq -r '.violations[] | "::(.severity) title=(.rule)::(.message)"'
          [ "$PASSED" = "true" ]
Built for code-first teams

Connect your repo and ship your first 10 winnable pages today

Includes 25 free welcome credits, OAuth 2.1 + scoped keys, prompt-injection sanitization, and one-time credit packs starting at €19.

Create free account & connect MCP

FAQ

What endpoint URL should I add to Cursor, Claude, or Windsurf?

Use https://www.sarpseo.com/api/mcp. For Claude Desktop / Claude.ai, SARP supports OAuth 2.1 dynamic discovery at https://www.sarpseo.com/.well-known/oauth-protected-resource.

Does SARP MCP work with zero plaintext secrets checked into Git?

Yes. Drop `.mcp.json` using `Authorization: Bearer ${SARP_API_KEY}` and export your key locally, or connect via OAuth 2.1.

Is SARP protected against prompt injection from scraped competitor pages?

Yes. SARP strips hidden DOM elements and invisible Unicode characters and encloses third-party webpage fields with explicit untrusted-data security metadata before returning MCP tool payloads.