mcpField
S
SearchAtlas

SearchAtlas

本地服务
github.com/Search-Atlas-Group商业与营销227 周前更新

关于 SearchAtlas

SearchAtlas 是 SearchAtlas v2 的 MCP 接入包,面向 SEO、内容、PPC 和网站管理等工作。它通过轻量 stdio 桥接连接托管服务,动态发现工具目录。

主要功能

  1. 01覆盖 SEO、PPC 与内容工具
  2. 02支持本地 SEO 和数字公关
  3. 03提供关键词及站点分析
  4. 04CLI 登录并生成客户端配置
  5. 05动态发现托管工具目录

适用场景

  1. 01执行网站技术 SEO 审计
  2. 02研究关键词并制定内容简报
  3. 03管理 PPC 账户和广告系列
  4. 04查询站点、反向链接及本地排名

MCP 相关

该包通过 stdio 桥接到托管的 SearchAtlas v2 MCP 服务;支持 Streamable HTTP 的客户端也可直接连接远程端点。它动态发现服务端工具目录。

配置

本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。

mcp.json · 通用配置
{
"mcpServers": {
"search-atlas-group-searchatlas": {
"command": "npx",
"args": [
"-y",
"searchatlas-mcp-server"
],
"env": {
"SEARCHATLAS_TOKEN": "<SEARCHATLAS_TOKEN>",
"SEARCHATLAS_API_KEY": "<SEARCHATLAS_API_KEY>",
"SEARCHATLAS_API_URL": "<SEARCHATLAS_API_URL>"
}
}
}
}
启动命令npx -y searchatlas-mcp-server
需要配置的环境变量
SEARCHATLAS_TOKEN密钥JWT token for authentication (preferred method)
SEARCHATLAS_API_KEY密钥API key authentication (alternative to JWT token)
SEARCHATLAS_API_URLAPI base URL (defaults to https://mcp.searchatlas.com)

本地服务需要在你的电脑上安装运行环境(如 Node.js 18+)。各客户端的配置文件位置不同,请参考客户端文档。

安装包
npmsearchatlas-mcp-server1.3.8

工具

16

收录的工具列表 · 更新于 2 周前

参数类型必填说明
messagestring是要发送给 Agent 的消息
plan_modeboolean否启用计划模式 — Agent 在执行前提出步骤
project_idnumber否用于限定请求范围的项目 ID(推荐)
playbook_idstring否要在此 Agent 中执行的 Playbook ID

详细介绍

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、Site Explorer、Google Business Profile、本地 SEO、Link Laboratory、Digital PR、LLM 可见度、关键词研究等。

此软件包作为精简的 stdio 桥接程序运行,连接到托管的 v2 MCP 服务 https://mcp.searchatlas.com/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。

Windsurf

添加到 ~/.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"
      }
    }
  }
}
VS Code(GitHub Copilot)

添加到项目中的 .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

添加到 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!

为什么要使用完整路径?

macOS 图形界面应用(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_*Site Explorer(46 个工具)se_list_sites、se_get_details、se_backlinks_overview
gbp_*Google Business Profile(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_*Link Laboratory(24 个工具)ll_list_projects、ll_create_order
dpr_*Digital PR(20 个工具)dpr_list_campaigns、dpr_create_campaign
llmv_*大模型可见度(30 个工具)llmv_list_projects、llmv_get_visibility_report
krt_*关键词排名跟踪(16 个工具)krt_list_projects、krt_track_keywords
bv_*Brand Vault(25 个工具)bv_list、bv_ask、bv_update_business_info
ws_*Website Studio(8 个工具)ws_list_projects、ws_create_project
gsc_*Google Search Console(11 个工具)gsc_get_sites、gsc_get_keyword_performance
social_hub_*Social Hub(19 个工具)social_hub_list_posts、social_hub_create_post
cs_*Content Strategy(12 个工具)cs_list_templates、cs_create
kg_*Knowledge Graph(7 个工具)kg_list、kg_create_entity
dkn_*Domain Knowledge Network(7 个工具)dkn_list_nodes、dkn_create
indexer_*Indexer(6 个工具)indexer_submit_batch、indexer_check_status
rb_*Report Builder(3 个工具)rb_list_reports、rb_get_report_details
pr_*Press Release(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)
  • 标头: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

Requirements

License

MIT

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。