Skip to main content
Glama

SearchAtlas MCP 服务器

npm version MCP Registry License: MIT Node.js

npm · MCP Registry · GitHub

将任何兼容 MCP 的 AI 客户端连接到 SearchAtlas v2 MCP 服务器 — 包含 500 多种工具,涵盖 OTTO SEO、PPC、Content Genius、网站浏览器、Google 企业资料、本地 SEO、链接实验室、数字公关、LLM 可见性、关键词研究等。

此包作为轻量级 stdio 网桥运行,连接到 https://mcp.searchatlas.com/mcp/ 的托管 v2 MCP 服务器,因此它适用于仅支持 stdio 的客户端。支持原生 Streamable-HTTP 的客户端可以直接连接到远程端点。

适用于 Claude Code、Cursor、Claude Desktop、VS Code、Windsurf 和 Zed。


设置 (3 个步骤)

1. 安装并登录

使用 npm:

npm install -g searchatlas-mcp-server
searchatlas login

使用 yarn:

yarn global add searchatlas-mcp-server
searchatlas login

使用 pnpm:

pnpm add -g searchatlas-mcp-server
searchatlas login

无需安装 (npx):

npx searchatlas-mcp-server login

这将打开您的浏览器。登录后:

  1. 按 F12 (或 Mac 上的 Cmd+Option+I) 打开开发者工具

  2. 转到 Console (控制台) 选项卡

  3. 运行: localStorage.getItem("token")

  4. 复制结果并将其粘贴到终端中

CLI 会验证您的令牌,保存它,并打印出已自动检测到路径的、可直接粘贴的配置。

2. 添加到您的 MCP 客户端

Claude Code

macOS / Linux:

claude mcp add searchatlas -e SEARCHATLAS_TOKEN=your-token -- npx -y searchatlas-mcp-server

Windows (PowerShell):

claude mcp add searchatlas -e SEARCHATLAS_TOKEN=your-token -- npx.cmd -y searchatlas-mcp-server

Windows 注意: 您必须使用 npx.cmd 而不是 npx。这是因为 Claude Code 直接生成进程,而 Windows 需要 .cmd 扩展名。

完成。就是这样。

Cursor

在项目根目录创建 .cursor/mcp.json (或全局使用 ~/.cursor/mcp.json):

{
  "mcpServers": {
    "searchatlas": {
      "command": "/opt/homebrew/bin/node",
      "args": ["/opt/homebrew/lib/node_modules/searchatlas-mcp-server/dist/index.js"],
      "env": {
        "SEARCHATLAS_TOKEN": "your-token"
      }
    }
  }
}

您的路径可能有所不同。 运行 which node 和 npm root -g 来查找它们,或者直接复制 searchatlas login 打印出的配置 — 它包含您的确切路径。

Claude Desktop

添加到 ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) 或 %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "searchatlas": {
      "command": "/opt/homebrew/bin/node",
      "args": ["/opt/homebrew/lib/node_modules/searchatlas-mcp-server/dist/index.js"],
      "env": {
        "SEARCHATLAS_TOKEN": "your-token"
      }
    }
  }
}

保存后重启 Claude Desktop。

添加到 ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "searchatlas": {
      "command": "/opt/homebrew/bin/node",
      "args": ["/opt/homebrew/lib/node_modules/searchatlas-mcp-server/dist/index.js"],
      "env": {
        "SEARCHATLAS_TOKEN": "your-token"
      }
    }
  }
}

添加到项目中的 .vscode/mcp.json:

{
  "servers": {
    "searchatlas": {
      "command": "/opt/homebrew/bin/node",
      "args": ["/opt/homebrew/lib/node_modules/searchatlas-mcp-server/dist/index.js"],
      "env": {
        "SEARCHATLAS_TOKEN": "your-token"
      }
    }
  }
}

添加到 Zed 的 settings.json:

{
  "context_servers": {
    "searchatlas": {
      "command": {
        "path": "/opt/homebrew/bin/node",
        "args": ["/opt/homebrew/lib/node_modules/searchatlas-mcp-server/dist/index.js"],
        "env": {
          "SEARCHATLAS_TOKEN": "your-token"
        }
      }
    }
  }
}

3. 验证

searchatlas check
  SearchAtlas MCP Server — Health Check

  ✓ Credential source: ~/.searchatlasrc
  ✓ Config loaded successfully (endpoint: https://mcp.searchatlas.com/mcp)
  ✓ JWT structure valid (expires in 12 days) — user 42
  ✓ MCP handshake succeeded — 587 tools available

  All checks passed — you're ready to go!

Related MCP server: MCP by Amal Alexander

为什么需要完整路径?

macOS GUI 应用程序 (Cursor、Claude Desktop、VS Code、Windsurf、Zed) 不会继承您 shell 的 PATH,因此它们找不到 node 或 npx。使用 node 的完整路径并直接指向已安装的包可以完全避免 spawn npx ENOENT 和 env: node: No such file 错误。

searchatlas login 会自动检测您的路径并打印出您可以复制粘贴的配置。

如何查找您的路径

命令

node 的完整路径

which node

全局 npm 模块目录

npm root -g


使用方法

自然地进行对话即可。AI 会选择正确的工具:

"What are the top SEO issues for my site?"
"Run a technical SEO audit on example.com"
"Write a blog post about technical SEO best practices"
"Find long-tail keywords for project management software"
"List my projects"
"Show available playbooks and run one"

CLI 命令

命令

描述

searchatlas login

登录、保存令牌、打印 MCP 配置

searchatlas check

验证凭据 + API 连接性

searchatlas --version

打印版本

searchatlas --help

显示帮助

所有命令也可以通过 npx searchatlas-mcp-server <command> 运行。


工具

工具是从托管的 v2 MCP 服务器动态发现的 — 您的客户端可以看到实时目录(目前约 587 个工具),无需在发布新工具时更新包。主要分组如下:

前缀

领域

代表性工具

otto_*

OTTO SEO 自动化 (70 个工具)

otto_list_projects, otto_add_site, otto_get_dynamic_optimizations

ppc_*

Google Ads / PPC (76 个工具)

ppc_list_accounts, ppc_create_campaign, ppc_get_keyword_performance

cg_*

Content Genius (74 个工具)

cg_list_articles, cg_edit_article_content, cg_generate_content_brief

se_*

网站浏览器 (46 个工具)

se_list_sites, se_get_details, se_backlinks_overview

gbp_*

Google 企业资料 (96 个工具)

gbp_get_business_categories, gbp_list_citation_submissions

local_seo_*

本地 SEO 热力图 (19 个工具)

local_seo_heatmaps_get_heatmap_details, local_seo_heatmaps_get_rank

ll_*

链接实验室 (24 个工具)

ll_list_projects, ll_create_order

dpr_*

数字公关 (20 个工具)

dpr_list_campaigns, dpr_create_campaign

llmv_*

LLM 可见性 (30 个工具)

llmv_list_projects, llmv_get_visibility_report

krt_*

关键词排名跟踪 (16 个工具)

krt_list_projects, krt_track_keywords

bv_*

品牌库 (25 个工具)

bv_list, bv_ask, bv_update_business_info

ws_*

网站工作室 (8 个工具)

ws_list_projects, ws_create_project

gsc_*

Google Search Console (11 个工具)

gsc_get_sites, gsc_get_keyword_performance

social_hub_*

社交中心 (19 个工具)

social_hub_list_posts, social_hub_create_post

cs_*

内容策略 (12 个工具)

cs_list_templates, cs_create

kg_*

知识图谱 (7 个工具)

kg_list, kg_create_entity

dkn_*

领域知识网络 (7 个工具)

dkn_list_nodes, dkn_create

indexer_*

索引器 (6 个工具)

indexer_submit_batch, indexer_check_status

rb_*

报告生成器 (3 个工具)

rb_list_reports, rb_get_report_details

pr_*

新闻稿 (14 个工具)

pr_list, pr_write, pr_update

运行 searchatlas check 查看实时数量,或在连接后让您的 MCP 客户端列出工具。


配置

令牌优先级 (首次匹配胜出)

  1. SEARCHATLAS_TOKEN 环境变量

  2. SEARCHATLAS_API_KEY 环境变量

  3. ~/.searchatlasrc 文件 (由 searchatlas login 创建)

环境变量

变量

必需

描述

SEARCHATLAS_TOKEN

是

来自 SearchAtlas 的 JWT 令牌

SEARCHATLAS_API_KEY

替代

API 密钥认证

SEARCHATLAS_API_URL

否

自定义 v2 MCP 端点 (默认: https://mcp.searchatlas.com/mcp)

原生 Streamable-HTTP 客户端

如果您的 MCP 客户端直接支持 Streamable HTTP,您可以跳过此 npm 包并一步连接到远程服务器:

  • URL: https://mcp.searchatlas.com/mcp/

  • 传输: Streamable HTTP (JSON-RPC + SSE)

  • Header: Authorization: Bearer <SEARCHATLAS_TOKEN>


故障排除

错误

修复

spawn npx ENOENT / env: node: No such file

使用完整路径 (参见 为什么需要完整路径?) 或重新运行 searchatlas login

Windows 上的 spawn npx ENOENT (Claude Code)

使用 npx.cmd 代替 npx — 参见 Claude Code 设置

No SearchAtlas credentials found

运行 searchatlas login

Token expired on ...

运行 searchatlas login 获取新令牌

Authentication failed (401)

令牌过期 — 运行 searchatlas login

fetch failed

检查网络;运行 searchatlas check

工具未显示

添加配置后重启您的 MCP 客户端

仍然遇到问题? 运行 searchatlas check,确保 Node.js >= 18 (node --version),或者 提交问题。


开发

git clone https://github.com/Search-Atlas-Group/searchatlas-mcp-server.git
cd searchatlas-mcp-server
npm install && npm run build

使用 MCP Inspector 进行测试:

npx @modelcontextprotocol/inspector npx searchatlas-mcp-server

要求

许可证

MIT

Available Tools

16 tools
searchatlas_authority_buildingC

Link building and digital PR — outreach, guest posts, and authority signals

Inputs: message (required), project_id, playbook_id, plan_mode.

searchatlas_contentC

AI content generation — blog posts, landing pages, and optimized copy

Inputs: message (required), project_id, playbook_id, plan_mode.

searchatlas_create_projectC

Create a new SearchAtlas project

Inputs: domain (required), country_code.

searchatlas_gbpC

Google Business Profile management — listings, reviews, and local SEO

Inputs: message (required), project_id, playbook_id, plan_mode.

searchatlas_keywordsC

Keyword research — search volume, difficulty, SERP analysis, and clustering

Inputs: message (required), project_id, playbook_id, plan_mode.

searchatlas_list_artifactsC

List artifacts (code, content, reports) across all sessions

Inputs: page, page_size, type, search, +1 more.

searchatlas_list_conversationsB

List conversation sessions, optionally filtered by agent

Inputs: agent_namespace, page, page_size, search.

searchatlas_list_playbooksB

List available playbooks (automation recipes), optionally filtered by agent or ownership

Inputs: filter, agent_namespace, search, page, +1 more.

searchatlas_list_projectsB

List SearchAtlas projects for the authenticated user

Inputs: page, page_size, search.

searchatlas_llm_visibilityC

LLM brand monitoring — tracks how AI models reference your brand and competitors

Inputs: message (required), project_id, playbook_id, plan_mode.

searchatlas_orchestratorB

Multi-agent coordinator — routes queries to the best specialized agent (SEO, content, PPC, etc.)

Inputs: message (required), project_id, playbook_id, plan_mode.

searchatlas_otto_seoC

On-page SEO automation — deploys technical fixes, schema markup, and content optimizations

Inputs: message (required), project_id, playbook_id, plan_mode.

searchatlas_ppcC

PPC / Google Ads management — campaign creation, bid strategy, and performance analysis

Inputs: message (required), project_id, playbook_id, plan_mode.

searchatlas_run_playbookC

Execute a playbook (automation recipe) on a project using the appropriate agent

Inputs: playbook_id (required), project_id (required), message, agent_namespace.

searchatlas_site_explorerC

Site audit and analysis — crawl data, backlink profiles, and competitive intelligence

Inputs: message (required), project_id, playbook_id, plan_mode.

searchatlas_website_studioC

Website builder — creates and edits pages, layouts, and site structure

Inputs: message (required), project_id, playbook_id, plan_mode.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 16 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting specific SEO and marketing domains (e.g., keywords, content, PPC), but there is some overlap in scope between 'searchatlas_site_explorer' (site audit) and 'searchatlas_otto_seo' (on-page SEO), which could cause confusion as both involve site analysis and optimization. The descriptions help clarify, but boundaries are not perfectly sharp.

    Naming Consistency5/5

    All tool names follow a consistent 'searchatlas_' prefix with snake_case and clear verb_noun patterns (e.g., 'searchatlas_create_project', 'searchatlas_list_projects'), making them predictable and easy to parse. There are no deviations in naming conventions across the set.

    Tool Count4/5

    With 16 tools, the count is slightly high but reasonable for a comprehensive SEO and marketing platform, covering areas like content, keywords, PPC, and site management. It feels a bit heavy but not excessive, as each tool appears to serve a distinct function within the broad domain.

    Completeness4/5

    The tool set provides broad coverage for SEO and marketing tasks, including project management, content generation, keyword research, and automation. Minor gaps exist, such as no explicit tools for deleting projects or managing user settings, but core workflows are well-supported, and agents can likely work around these omissions.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that enables AI assistants to perform SEO automation tasks including keyword research, SERP analysis, and competitor analysis through Google Ads API integration.
      1
      ISC
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that connects AI assistants to SEO platforms like Google Search Console, GA4, Bing Webmaster Tools, and Adobe Analytics, enabling natural language queries about SEO performance.
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Professional Google Search Console MCP server providing 40+ SEO tools for performance analysis, content decay, CTR opportunities, and more, enabling real search data in clients like Cursor and Claude.
      40
      17 npm
      6
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      An MCP server that gives AI assistants 23 SEO tools for rank tracking, Google Analytics, site audits, keyword research, competitive analysis, and more, accessible through natural language.
      25
      12
      MIT