remote-mcp-server-authless
在 Cloudflare 上构建远程 MCP 服务器(无需认证)
本示例允许你在 Cloudflare Workers 上部署一个无需认证的无状态远程 MCP 服务器。它实现了 MCP 2026-07-28 规范,同时保持与旧版客户端的兼容,以支持普通的工具调用。
快速开始:
这会将你的 MCP 服务器部署到类似下面的 URL:remote-mcp-server-authless.<your-account>.workers.dev/mcp
或者,你可以使用下面的命令行在本地计算机上创建远程 MCP 服务器:
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authlessRelated MCP server: Remote MCP Server Authless
自定义你的 MCP 服务器
要向 MCP 服务器添加你自己的工具,请在 createServer() 函数中创建的 McpServer 上使用 server.registerTool(...) 注册每个工具。
连接到 Cloudflare AI Playground
你可以从 Cloudflare AI Playground 连接到你的 MCP 服务器,它是一个远程 MCP 客户端:
输入你已部署的 MCP 服务器 URL(
remote-mcp-server-authless.<your-account>.workers.dev/mcp)你现在就可以直接从 Playground 中使用你的 MCP 工具!
将 Claude Desktop 连接到你的 MCP 服务器
你还可以通过 mcp-remote 代理从本地 MCP 客户端连接到你的远程 MCP 服务器。
要从 Claude Desktop 连接到你的 MCP 服务器,请遵循 Anthropic 的快速入门指南,然后在 Claude Desktop 中进入设置 > 开发者 > 编辑配置。
将配置更新为以下内容:
{
"mcpServers": {
"calculator": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/mcp" // or remote-mcp-server-authless.your-account.workers.dev/mcp
]
}
}
}重启 Claude,你应该会看到这些工具变为可用。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables deploying a remote MCP server on Cloudflare Workers without authentication, allowing custom tools and integration with MCP clients.
- FlicenseNot gradedqualityCmaintenanceDeploys a stateless remote MCP server on Cloudflare Workers without authentication, supporting custom tool registration and connection from MCP clients.
- FlicenseNot gradedqualityCmaintenanceEnables deployment of a stateless remote MCP server on Cloudflare Workers without authentication, allowing AI clients to connect and use custom tools via the MCP protocol.
- FlicenseNot gradedqualityCmaintenanceEnables deployment of a stateless remote MCP server on Cloudflare Workers, allowing custom tools to be registered and accessed through MCP clients without requiring authentication.
Related MCP Connectors
Cloudflare Workers MCP server: crypto-signal
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ownkhan125/remote-mcp-server-authless'
If you have feedback or need assistance with the MCP directory API, please join our Discord server