Remote MCP Server Authless
在 Cloudflare 上构建远程 MCP 服务器(无需身份验证)
此示例允许您部署不需要在 Cloudflare Workers 上进行身份验证的远程 MCP 服务器。
开始:
这会将您的 MCP 服务器部署到类似以下 URL: remote-mcp-server-authless.<your-account>.workers.dev/sse
或者,您可以使用下面的命令行在本地计算机上创建远程 MCP 服务器:
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authlessRelated MCP server: Remote MCP Server for Cloudflare
自定义您的 MCP 服务器
要将您自己的工具添加到 MCP 服务器,请在src/index.ts的init()方法中使用this.server.tool(...)定义每个工具。
连接到 Cloudflare AI Playground
您可以从 Cloudflare AI Playground(一个远程 MCP 客户端)连接到您的 MCP 服务器:
输入您部署的 MCP 服务器 URL (
remote-mcp-server-authless.<your-account>.workers.dev/sse)您现在可以直接从游乐场使用您的 MCP 工具!
将 Claude Desktop 连接到您的 MCP 服务器
您还可以使用mcp-remote 代理从本地 MCP 客户端连接到远程 MCP 服务器。
要从 Claude Desktop 连接到您的 MCP 服务器,请按照Anthropic 的快速入门,并在 Claude Desktop 中转到设置 > 开发人员 > 编辑配置。
使用此配置进行更新:
{
"mcpServers": {
"calculator": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/sse" // or remote-mcp-server-authless.your-account.workers.dev/sse
]
}
}
}重新启动 Claude,您就会看到工具可用。
This server cannot be deployed
Related MCP Connectors
Cloudflare Workers MCP server: ai-model-router
- QuallaaOAuthcom.quallaa
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
9 remote MCP servers on Cloudflare Workers for AI agents. Free tier + Pro API keys.
Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceA deployable Model Context Protocol server on Cloudflare Workers that operates without authentication, allowing connection to AI assistants like Claude Desktop and Cloudflare AI Playground.-
- FlicenseNot gradedqualityCmaintenanceA deployable Model Context Protocol server on Cloudflare Workers that runs without authentication requirements, allowing integration with AI models through the Cloudflare AI Playground or Claude Desktop.-
- FlicenseNot gradedqualityCmaintenanceA deployable Model Context Protocol server on Cloudflare Workers that enables custom AI tools without requiring authentication, compatible with Cloudflare AI Playground and Claude Desktop.-
- FlicenseNot gradedqualityCmaintenanceA serverless implementation of Model Context Protocol on Cloudflare Workers that enables connecting AI assistants like Claude to custom tools without authentication.-