关于 Remote MCP Server on Cloudflare
这是一个部署在 Cloudflare 上的远程 MCP 服务示例,README 提供访问链接及通过 Wrangler 部署的命令。具体工具和数据能力未作说明。
主要功能
- 01Cloudflare 部署示例
- 02提供 MCP 配置片段
适用场景
- 01参考 Wrangler 部署 MCP 服务
- 02在客户端配置 SSE 服务地址
MCP 相关
该项目是远程 MCP 服务,示例配置中的服务地址为 http://localhost:8787/sse。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
服务地址
http://localhost:8787/sse一键复制安装命令
Claude CodeTerminal
claude mcp add --transport http tiny-ser http://localhost:8787/sseCursor.cursor/mcp.json
{"mcpServers":{"tiny-ser":{"type":"http","url":"http://localhost:8787/sse"}}}在 Cursor 中打开VS Code.vscode/mcp.json
{"servers":{"tiny-ser":{"type":"http","url":"http://localhost:8787/sse"}}}在 VS Code 中打开Claude Desktopclaude_desktop_config.json
{"mcpServers":{"tiny-ser":{"type":"http","url":"http://localhost:8787/sse"}}}Windsurf~/.codeium/windsurf/mcp_config.json
{"mcpServers":{"tiny-ser":{"serverUrl":"http://localhost:8787/sse"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
Cloudflare 上的远程 MCP 服务

你可以通过此链接访问:https://note.linkof.link/13a9p7.html
mcp.json
{
"mcpServers": {
"tiny-server": {
"url": "http://localhost:8787/sse"
}
}
}
部署到 Cloudflare
tiny-ser-mcp-server 🍣 master via v20.17.0 🐏 26GiB/32GiB | 16GiB/19GiB took 12s
🕙 17:50:29 ➜ npm run deploy
> [email protected] deploy
> wrangler deploy
⛅️ wrangler 4.6.0
------------------
🌀 Building list of assets...
🌀 Starting asset upload...
No files to upload. Proceeding with deployment...
Total Upload: 432.56 KiB / gzip: 83.32 KiB
Your worker has access to the following bindings:
- Durable Objects:
- MCP_OBJECT: MyMCP
- Assets:
- Binding: ASSETS
✘ [ERROR] A request to the Cloudflare API (/accounts/xxx/workers/scripts/tiny-ser-mcp-server) failed.
In order to use Durable Objects, you must switch to a paid plan at
https://dash.cloudflare.com/xxx/workers/plans. [code: 10084]
If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。