Remote MCP Server on Cloudflare
在 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 Authless
自定义您的 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 installed
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 gradedqualityDmaintenanceA tool for deploying a remote Model Context Protocol server on Cloudflare Workers without authentication requirements, allowing users to create custom AI tools accessible from Claude Desktop or Cloudflare AI Playground.
- FlicenseNot gradedqualityCmaintenanceA tool for deploying authentication-free Model Context Protocol servers on Cloudflare Workers that can be connected to AI clients like Claude Desktop or Cloudflare AI Playground.
- FlicenseNot gradedqualityCmaintenanceA tool that deploys a remote Model Context Protocol (MCP) server on Cloudflare Workers without authentication requirements, allowing developers to add custom tools that can be accessed from Claude Desktop or the Cloudflare AI Playground.
- FlicenseDqualityDmaintenanceA tool for deploying an authentication-free Model Context Protocol server on Cloudflare Workers that can be connected to AI clients like Claude Desktop or the Cloudflare AI Playground.2
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
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/jacob-dietle/supabase-mcp-remote'
If you have feedback or need assistance with the MCP directory API, please join our Discord server