ChatGPT
Claude

开启您的 AI 伙伴模式 —— 连接 ChatGPT 与 Claude Desktop

通过我们的 MCP API,直接在您最喜欢的 AI 聊天助手(ChatGPT、Claude 或任何兼容 MCP 的工具)中检查 SEO、追踪排名并撰写优化内容。

无需令牌,无需复制 —— 只需在 Claude Desktop 中粘贴一个 URL,然后在浏览器中确认即可。

什么是 MCP(模型上下文协议)?

MCP 是一种标准协议,允许 ChatGPT 和 Claude 等 AI 助手与外部工具及服务无缝连接。

通过我们的 MCP 集成,您可以直接在 AI 聊天中访问 SEO 数据、检查排名、分析关键词并生成优化内容。

Claude Desktop 直接集成

内置官方 MCP 支持

支持 ChatGPT

通过自定义操作 (Actions) 实现

安全身份验证

使用 API 密钥确认身份

实时数据访问

基础设置无需编写代码

支持的聊天平台

Claude Desktop推荐

Claude Desktop

  • 内置官方 MCP 支持
  • 在设置中添加我们的 MCP 服务器
  • 即刻开始利用 SEO 数据进行对话
ChatGPT进阶

ChatGPT Custom Actions

  • 使用我们的 API 创建自定义 GPT
  • 配置 Actions 以访问 SEO 数据
  • 支持 ChatGPT Plus 或 Team 版本
Supported

Cursor, Windsurf, Zed & more

  • Any MCP-compatible client
  • OAuth 2.0 auto-registration
  • Single-URL setup

分步设置指南

连接 Claude Desktop (OAuth —— 无需 API 密钥)

  1. 1Open Claude Desktop Settings → Developer → Edit Config
  2. 2Paste the configuration below — no API key needed
  3. 3Restart Claude Desktop. It will open your browser to approve the connection, then log you in automatically.
  4. 4Done — you can now ask Claude about your SEO data.
claude_desktop_config.json
{
  "mcpServers": {
    "seo-ai-agent": {
      "url": "https://seo-agent.net/api/mcp"
    }
  }
}

大功告成 —— 只需在浏览器中授权一次

On first use Claude Desktop will open a tab on seo-agent.net, ask you to approve the connection, and redirect back automatically. After that, every MCP call is handled by the access token Claude received — no further action needed.

可用的 MCP 工具/函数

19 tools across 7 categories — all workspace-scoped and OAuth-authenticated.

Category函数名称描述示例查询
Profileget_profileReturn the authenticated user profile (name, email, picture)."Who am I signed in as?"
Profileget_current_workspaceReturn info about the workspace the current credentials are bound to."Which workspace am I in right now?"
Domainslist_domainsList all domains in the active workspace."Show me all my domains."
GSCget_domain_insightGet aggregated GSC stats (clicks, impressions, CTR, position), top keywords, pages and countries."How is example.com performing in Google in the last 30 days?"
GSCget_domain_keywordsGSC keyword breakdown by query/device/country for the last N days."Top queries for example.com by country last month."
Trackinglist_tracked_keywordsList manually-tracked rank keywords for a domain."What keywords am I tracking for example.com?"
Trackingadd_tracked_keywordAdd a keyword to the rank tracker for a domain."Start tracking "ai seo tools" on example.com."
Competitorslist_domain_competitorsList competitor domains configured for a given domain."Who are my competitors for example.com?"
Competitorsupdate_domain_competitorsReplace the competitor list for a domain."Set competitors for example.com to ahrefs.com and semrush.com."
Competitorsget_keyword_competitorsCurrent competitor ranking positions for a specific tracked keyword."Who ranks near me for "seo ai tools"?"
Competitorsget_competitor_historyTime-series ranking history for competitors on a keyword."How has competitor.com ranked for "seo ai" over time?"
Researchget_domain_seo_overviewDomain-level SEO health: clicks, impressions, CTR, position + period-over-period change."Give me a 30-day SEO summary for example.com."
Researchfind_keyword_opportunitiesQuick-win buckets: striking distance, low CTR, zero-click, rising keywords."Find keyword opportunities for example.com."
Researchgenerate_content_briefFull content brief for a new article: primary/secondary keywords, target word count, suggested structure, internal link candidates."Build a content brief for "best ai seo tools" on example.com."
Postslist_postsList articles/posts in a domain (draft, published, scheduled)."Show all my draft posts for example.com."
Postsget_postFetch a single post with full HTML content and metadata."Show me post #42."
Postsanalyze_seoRun the built-in analyzer on article content (20+ on-page checks, 0-100 score, actionable fixes)."Analyze this draft for SEO."
Postssave_postCreate or update a post. Automatically computes the SEO score and returns both the saved post and the full analyzer report."Save this article as a draft and tell me the SEO score."
Postsdelete_postDelete a post by ID."Delete post #42."

Why Use MCP Integration?

Speed & Efficiency

  • Get SEO insights in seconds
  • No need to switch between tools
  • Natural language queries

AI-Powered Insights

  • Let AI analyze your data
  • Get recommendations automatically
  • Generate content on the fly

Secure & Private

  • Your data stays secure
  • API keys with specific permissions
  • Audit logs for all actions

Continuous Updates

  • Always use latest data
  • Real-time ranking checks
  • Automatic sync with GSC

Frequently Asked Questions

No. The server supports OAuth 2.0 Dynamic Client Registration (RFC 7591) and the MCP 2025-06-18 auth spec. You paste a single URL (/api/mcp) into your AI client — it auto-registers, opens your browser for approval, and gets its own access token. Nothing to copy, nothing to manage.

Your AI client first hits /api/mcp and receives HTTP 401 with a WWW-Authenticate header. It discovers the authorization server at /.well-known/oauth-authorization-server, registers a client at /api/oauth/register, then runs the Authorization Code + PKCE flow at /api/oauth/authorize. You approve once on the consent screen, it receives a code, exchanges it for an access_token + refresh_token at /api/oauth/token, and the MCP session is live.

The workspace that is active at the moment you approve the connection. You can switch workspaces from the sidebar, then reconnect your assistant — it will be bound to the new workspace. You can also revoke any connection any time from /profile/oauth-apps.

Yes. Each team member runs the same OAuth flow under their own account — they each get a personal access token scoped to the workspaces they are a member of, with the role (owner / admin / editor / viewer) they have in each. Owners and admins can revoke any teammate connection from the Connected Apps page.

read:profile (your user info + current workspace), read:domains / write:domains, read:gsc (GSC aggregates), read:keywords / write:keywords (rank tracker), and read:analytics. Your AI client only asks for what it needs — the consent screen shows you exactly which scopes you are granting before you approve.

All 19 tools listed in the "Available MCP Tools" table above: profile + workspace info, domains, GSC insights + keywords, rank tracker with competitors, content research (SEO overview, keyword opportunities, content briefs), posts CRUD, and a built-in SEO analyzer that scores articles 0-100 across 20+ on-page factors.

Access tokens are short-lived (1 hour) and refreshed automatically. All tokens are sha256-hashed in the database — we never store them in plain text. Every sync triggered via MCP is logged in gsc_sync_log with the source (mcp / oauth / web) so you have a full audit trail. Revoking a connection invalidates every token it holds immediately.

Yes. Go to /profile/oauth-apps → Developer section → Register an App. You will receive a client_id (and client_secret for confidential clients). Your app can then redirect users to /api/oauth/authorize with "Sign in with SEO AI Agent" — they approve, and your backend exchanges the code for an access token bound to their workspace.

准备好大幅提升您的 SEO 工作流了吗?

开始使用 MCP,通过 AI 自动化您的 SEO 任务

加入 1,000 多名使用 MCP 自动化 SEO 的用户行列