关于 Shiped
Shiped 是供 Agent 在 Shiped 上部署和管理项目的 MCP 服务,通过 stdio 连接,并支持设备授权登录。
主要功能
- 01部署项目到 Shiped
- 02管理已部署项目
- 03设备授权登录
- 04登录与退出命令
适用场景
- 01发布 AI 生成的 HTML、CSS 和 JavaScript
- 02通过兼容 MCP 的 Agent 管理 Shiped 项目
MCP 相关
该 stdio MCP 服务向兼容 MCP 的 Agent 提供 Shiped 项目的部署与管理能力。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
服务地址
https://shiped.app/mcp一键复制安装命令
Claude CodeTerminal
claude mcp add --transport http kandahk-shiped https://shiped.app/mcpCursor.cursor/mcp.json
{"mcpServers":{"kandahk-shiped":{"type":"http","url":"https://shiped.app/mcp"}}}在 Cursor 中打开VS Code.vscode/mcp.json
{"servers":{"kandahk-shiped":{"type":"http","url":"https://shiped.app/mcp"}}}在 VS Code 中打开Claude Desktopclaude_desktop_config.json
{"mcpServers":{"kandahk-shiped":{"type":"http","url":"https://shiped.app/mcp"}}}Windsurf~/.codeium/windsurf/mcp_config.json
{"mcpServers":{"kandahk-shiped":{"serverUrl":"https://shiped.app/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
3| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| html | string | 否 | 完整 HTML 内容(单文件部署) |
| name | string | 是 | 项目名称 — 将用作子域名 |
| type | enum | 否 | 项目类型。默认为 "static"。"node" 运行单个 index.js 文件,"python" 运行单个 main.py 文件。static | node | python |
| files | array | 否 | 多文件项目使用的多个文件 |
详细介绍
Shiped MCP
Shiped 的 stdio MCP 服务。它让兼容 MCP 的 Agent 能够在 https://shiped.app 上部署和管理项目。
使用方法
将 Shiped 添加到兼容 MCP 的客户端:
{
"mcpServers": {
"shiped": { "command": "npx", "args": ["-y", "@shiped/mcp"] }
}
}
首次调用工具时会启动设备授权登录。若要显式登录,请运行:
npx @shiped/mcp login
npx @shiped/mcp logout
login 会将当前 Agent 连接到 Shiped。logout 会清除缓存的本地令牌。
开发
npm ci
npm run build
Docker 镜像通过 stdio 运行服务,可用于 MCP 内省或基于本地容器的客户端。
发布
npm login
npm publish
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。