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:readList registered SEO/GEO projects and readiness scores.
sarp_get_site_strategymcp:readRetrieve target domain profile, winnable niches, generated llms.txt & JSON-LD.
sarp_get_project_keywordsmcp:readFetch measured search volumes, difficulty, and Weak-Spot SERP signals.
sarp_get_priority_clustersmcp:readGet prioritized Pillar/Satellite topic clusters sorted by ROI.
sarp_list_briefsmcp:readList generated GEO briefs and draft completion status.
sarp_get_brief_markdownmcp:readRead the complete structured brief (Answer Capsule, H2/H3, Schema, FAQ).
sarp_get_pages_planmcp:readExport the next 10 pages to build as structured JSON or an AI-builder prompt.
sarp_get_ai_trafficmcp:readInspect real cookieless referral traffic from ChatGPT, Perplexity, and Claude.
sarp_check_crawler_viewmcp:toolsFetch initial server HTML without JavaScript on any route to prevent blank SPA pages.
sarp_lint_geo_contentmcp:toolsScore a markdown draft 0–100 against Princeton KDD 2024 citability criteria.
sarp_generate_fanout_queriesmcp:toolsDecompose a buyer prompt into hidden ChatGPT/Perplexity fan-out sub-queries.
sarp_compare_competitor_gapmcp:toolsCompare your live page vs a Top 10 competitor for missing headings, terms, and JSON-LD.
Zero-Secret Configuration Snippets
{
"mcpServers": {
"sarp": {
"type": "http",
"url": "https://www.sarpseo.com/api/mcp",
"headers": {
"Authorization": "Bearer ${SARP_API_KEY}"
}
}
}
}claude mcp add --transport http --scope user sarp https://www.sarpseo.com/api/mcp
{
"mcpServers": {
"sarp": {
"serverUrl": "https://www.sarpseo.com/api/mcp",
"headers": {
"Authorization": "Bearer <YOUR_SARP_API_KEY>"
}
}
}
}{
"mcpServers": {
"sarp": {
"url": "https://www.sarpseo.com/api/mcp",
"headers": {
"Authorization": "Bearer <YOUR_SARP_API_KEY>"
}
}
}
}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" ]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.
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.