关于 Swarmnest
Swarmnest MCP Server 让 MCP 客户端搜索 Swarmnest 目录中的 Agent 工具、API、MCP 服务、数据源、技能和市场条目。它是只读服务,无需 API 密钥。
主要功能
- 01支持拼写纠正和筛选的目录搜索
- 02按 slug 获取完整条目
- 03浏览分类及条目数量
- 04搜索技能并查看安装说明
- 05列出市场产品和套装
- 06使用远程 HTTP 或本地 stdio 传输
适用场景
- 01按分类、价格或认证方式查找 API
- 02比较适合某项任务的 MCP 服务
- 03查找技能并查看安装步骤
- 04查看市场技能包和套装
MCP 相关
该服务向 MCP 客户端提供目录、技能、分类和市场条目的搜索与查询工具。可通过 Streamable HTTP 或本地 stdio 版本连接。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://swarmnest.ai/mcpclaude mcp add --transport http ai-swarmnest https://swarmnest.ai/mcp{"mcpServers":{"ai-swarmnest":{"type":"http","url":"https://swarmnest.ai/mcp"}}}在 Cursor 中打开{"servers":{"ai-swarmnest":{"type":"http","url":"https://swarmnest.ai/mcp"}}}在 VS Code 中打开{"mcpServers":{"ai-swarmnest":{"type":"http","url":"https://swarmnest.ai/mcp"}}}{"mcpServers":{"ai-swarmnest":{"serverUrl":"https://swarmnest.ai/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
Swarmnest MCP 服务
通过任意 MCP 客户端搜索 Swarmnest 目录:其中收录了数千种经过人工核验的 AI Agent 工具、API、MCP 服务和数据源,涵盖 160 多个类别、500 多项 Agent Skills,以及 Swarmnest Marketplace。免费、只读,无需 API 密钥。
远程端点: https://swarmnest.ai/mcp(Streamable HTTP)
文档: https://swarmnest.ai/mcp-server/
工具
| 工具 | 功能 |
|---|---|
search_directory | 在目录中按关键词搜索,并纠正拼写错误。筛选条件:category、pricing(免费、免费增值、付费、未知)、auth(无、密钥、oauth、未知)、os(macOS、iOS、Linux、Windows)、limit(最多 25 条)、offset。 |
get_entry | 按 slug 获取某个工具的完整记录。对于未知 slug,会返回相近匹配项。 |
list_categories | 列出所有类别及其 slug、描述、条目数和分组。可选的 group 筛选条件。 |
search_skills | 搜索 Agent Skills(SKILL.md 技能、插件包、Cursor 规则、AGENTS.md 模板、提示词包)。筛选条件:category、format、platform、os、limit、offset。 |
get_skill | 获取某项技能的信息,包括各平台的安装步骤、脚本/网络/凭据标签、许可证和来源。 |
list_marketplace_products | 列出 Swarmnest Marketplace 的技能包和组合包,包括价格、产品 URL 和结账 URL。可选的 type:all、products、bundles。 |
每条结果都包含规范的 swarmnest.ai URL。Agent Skills 由第三方开发者制作,因此技能搜索结果会附带安装警告:安装前请检查来源。
连接
Claude Code
claude mcp add --transport http swarmnest https://swarmnest.ai/mcp
Claude Desktop 和 Claude.ai: Settings → Connectors → Add Custom Connector → https://swarmnest.ai/mcp
Cursor(~/.cursor/mcp.json)
{ "mcpServers": { "swarmnest": { "url": "https://swarmnest.ai/mcp" } } }
VS Code(.vscode/mcp.json)
{ "servers": { "swarmnest": { "type": "http", "url": "https://swarmnest.ai/mcp" } } }
Windsurf(~/.codeium/windsurf/mcp_config.json)
{ "mcpServers": { "swarmnest": { "serverUrl": "https://swarmnest.ai/mcp" } } }
Codex(~/.codex/config.toml)
[mcp_servers.swarmnest]
url = "https://swarmnest.ai/mcp"
Gemini CLI(~/.gemini/settings.json)
{ "mcpServers": { "swarmnest": { "httpUrl": "https://swarmnest.ai/mcp" } } }
仅运行本地服务的客户端(npx mcp-remote 桥接)
{ "mcpServers": { "swarmnest": { "command": "npx", "args": ["-y", "mcp-remote", "https://swarmnest.ai/mcp"] } } }
本地 stdio 构建版本(从 swarmnest.ai 读取相同的公开 JSON;Node.js 18+)
{ "mcpServers": { "swarmnest": { "command": "npx", "args": ["-y", "github:swarmnest/swarmnest-mcp"] } } }
示例提示词
- 找出三个无需 API 密钥即可使用的免费网页抓取 API,并附上它们的 Swarmnest 页面链接。
- 哪些 MCP 服务可以读写 Postgres?比较它们的身份验证方式和定价。
- 搜索可在 Claude Code 中使用的 PDF 处理 Agent Skills,并告诉我如何安装其中最好的一个。
- Swarmnest Marketplace 销售哪些技能包和组合包?它们各自的价格是多少?
端点详情
- 向
https://swarmnest.ai/mcp发送带有 JSON-RPC 2.0 请求的POST请求。响应为application/json(无需 SSE 流)。 - 方法:
initialize、notifications/initialized、ping、tools/list、tools/call和server/discover。 - 协议版本:
2026-07-28(无状态,每个请求都带有_meta)以及2025-11-25、2025-06-18、2025-03-26、2024-11-05(需进行 initialize 握手)。无会话。 GET https://swarmnest.ai/mcp会返回简短的 JSON 描述。服务卡片:https://swarmnest.ai/mcp/server-card。- CORS 已开放,因此基于浏览器的客户端也可使用。
curl -s https://swarmnest.ai/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_directory","arguments":{"query":"vector database","limit":5}}}'
代码布局
src/mcp-core.js:工具定义、输入验证和 JSON-RPC 处理程序(与传输方式无关)。src/search-core.js:swarmnest.ai 各处使用的排序和拼写纠正搜索功能。functions/mcp.js:用于提供https://swarmnest.ai/mcp的 Cloudflare Pages Function。bin/stdio.js:供本地使用的 stdio 传输。server.json:MCP Registry 元数据。
数据来自 Swarmnest 公开的静态 JSON 文件(/api-index.json、/api/v1/categories.json、/api/v1/agent-skills.json、/api/v1/products.json 以及 /api/v1/ 下各条目的 JSON 文件),并缓存在内存中。请参阅 API 条款。
数据 API
更倾向于使用纯 HTTP?请参阅 OpenAPI 描述、搜索 API 和 llms.txt。
许可证
MIT。本目录内容 © Swarmnest,并受条款约束。列出的工具和技能归其所有者所有。
如有疑问或需要更正,请联系:[email protected]
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。