关于 Plug and Ship
Plug and Ship MCP 服务让编码 Agent 在对话中搜索 MCP 服务、Agent 技能和编码 Agent 插件。它通过公开 API 提供只读搜索、详情、趋势和精选列表,无需 API 密钥。
主要功能
- 01按关键词或任务搜索工具
- 02按类型与客户端筛选
- 03查看工具详情和安装命令
- 04查询按周期划分的增长趋势
- 05浏览主题精选列表
适用场景
- 01根据编码任务发现合适的 MCP 服务
- 02查找特定客户端可用的插件
- 03比较工具近期增长情况
- 04浏览某个主题的精选工具
MCP 相关
该项目是 MCP 服务,提供搜索、详情、趋势和精选列表工具。可通过无认证的托管 Streamable HTTP 端点连接,也支持 stdio 运行。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://plugandship.dev/mcpclaude mcp add --transport http dev-plugandship-plugandship https://plugandship.dev/mcp{"mcpServers":{"dev-plugandship-plugandship":{"type":"http","url":"https://plugandship.dev/mcp"}}}在 Cursor 中打开{"servers":{"dev-plugandship-plugandship":{"type":"http","url":"https://plugandship.dev/mcp"}}}在 VS Code 中打开{"mcpServers":{"dev-plugandship-plugandship":{"type":"http","url":"https://plugandship.dev/mcp"}}}{"mcpServers":{"dev-plugandship-plugandship":{"serverUrl":"https://plugandship.dev/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
4| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| task | string | 否 | 用自然语言描述你想做什么。提供后会替代 query 使用。 |
| type | enum | 否 | 仅限此类工具mcp | skill | plugin |
| limit | integer | 否 | 最大结果数,默认值为 10 |
| query | string | 否 | 关键词或简短任务,例如「postgres」「browser automation」「query my Postgres from Cursor」 |
| client | enum | 否 | 仅限名称中包含此编码 Agent 的工具(grok-bot:托管的 HTTPS MCP 服务)claude-code | cursor | codex | grok-bot |
| remote | boolean | 否 | 仅限具有公共 HTTPS 端点的 MCP 服务(无需安装) |
详细介绍
plugandship-mcp
适用于 Plug and Ship 的 MCP 服务。它让你的编码 Agent 无需离开聊天界面,就能搜索 Plug and Ship 的 MCP 服务、Agent 技能和编码 Agent 插件索引。
该服务为只读。它调用公开的 Plug and Ship API(/api/v1),无需 API 密钥。
已列入官方 MCP Registry,名称为 dev.plugandship/plugandship-mcp。
工具
| 工具 | 参数 | 返回内容 |
|---|---|---|
search_tools | query 或 task(关键词或自然语言任务,例如“在 Cursor 中查询我的 Postgres”)、type?(mcp / skill / plugin)、client?(claude-code / cursor / codex / grok-bot)、remote?(仅限具有公开 HTTPS 端点的 MCP 服务)、limit?(1 到 50,默认值为 10) | 按相关性排序的工具(全文匹配 + 语义匹配;星标数、最近提交、有效的一键配置和许可证仅用于打破平局),每个工具都附带一行匹配原因、安装命令和页面链接。还会返回结构化输出,包括对任务的理解。client: "grok-bot" 只保留具有公开远程(HTTP)端点的 MCP 服务。 |
get_tool | slug | 单个工具的完整详情:描述、代码仓库、星标数、标签、安装命令,以及远程端点(如有)。 |
trending | period(day / week / month)、type?、limit? | 增长最快的工具:该时段内新增的星标数,数据来自 Plug and Ship 自己的每日星标快照。 |
list_best | topic?、limit? | 精选的“最佳”列表。将 topic 留空即可列出主题(例如 grok-bot-connectors、voice-agents、postgres-mcp-servers)。 |
使用托管端点(无需安装)
远程 MCP 服务,Streamable HTTP,无状态,无需身份验证:
https://plugandship.dev/mcp
Claude Code
claude mcp add --transport http plugandship https://plugandship.dev/mcp
Cursor(~/.cursor/mcp.json 或项目中的 .cursor/mcp.json)
{
"mcpServers": {
"plugandship": { "url": "https://plugandship.dev/mcp" }
}
}
Codex(~/.codex/config.toml)
[mcp_servers.plugandship]
url = "https://plugandship.dev/mcp"
在本地运行(stdio)
需要 Node.js 18 或更高版本。直接从 GitHub 运行,无需 npm 包(已提交构建后的 dist/):
npx -y github:plugandship/plugandship-mcp
Claude Code
claude mcp add plugandship -- npx -y github:plugandship/plugandship-mcp
Cursor
{
"mcpServers": {
"plugandship": {
"command": "npx",
"args": ["-y", "github:plugandship/plugandship-mcp"]
}
}
}
Codex
[mcp_servers.plugandship]
command = "npx"
args = ["-y", "github:plugandship/plugandship-mcp"]
从检出目录运行
git clone https://github.com/plugandship/plugandship-mcp
cd plugandship-mcp
npm install
npm run build
node dist/index.js
自托管 Streamable HTTP
node dist/index.js --http --port 3333 --host 127.0.0.1
# endpoint: http://127.0.0.1:3333/mcp
无状态,返回 JSON,仅支持 POST。来自 localhost 以外浏览器 Origin 的请求会被拒绝。默认绑定到 127.0.0.1。对外公开前,请先将其置于 HTTPS 后面。
配置
| 环境变量 | 默认值 | 用途 |
|---|---|---|
PLUGANDSHIP_API_URL | https://plugandship.dev | API 基础 URL(针对本地站点使用 http://localhost:3000)。 |
公开 API 设有缓存和速率限制(每个 IP 每分钟约 60 次请求)。遇到 429 时,工具会返回简短的“请一分钟后重试”错误。
测试
npm test # stdio + local HTTP, against https://plugandship.dev
PLUGANDSHIP_API_URL=http://localhost:3000 npm test # against a local site
MCP_REMOTE_URL=https://plugandship.dev/mcp npm run test:remote # the hosted endpoint
npm test 会构建服务,通过 stdio 和 Streamable HTTP 启动服务,使用官方 MCP SDK 客户端连接,列出工具并逐一调用,包括错误场景(未知 slug、无效输入、外部 Origin)。test:remote 会对远程端点运行相同的检查。
Registry
server.json 是 MCP Registry 条目:仅远程服务的列表项(streamable-http,https://plugandship.dev/mcp),位于 dev.plugandship 命名空间下,并通过 DNS 验证。
许可证
MIT
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。