Building a Remote MCP Server on Cloudflare (Without Auth)
@simonberner
关于 Building a Remote MCP Server on Cloudflare (Without Auth)
Demo of a remote deployed MCP Server
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Building a Remote MCP Server on Cloudflare (Without Auth)?
This is a template for deploying a remote MCP server on Cloudflare Workers that does not require authentication. It allows users to add custom tools and connect clients such as Cloudflare AI Playground or local MCP clients via an SSE endpoint.
How to use Building a Remote MCP Server on Cloudflare (Without Auth)?
Deploy by clicking the "Deploy to Workers" button or running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools by editing src/index.ts using this.server.tool(...). Connect to the server from Cloudflare AI Playground or configure a local client using the mcp-remote proxy.
Key features of Building a Remote MCP Server on Cloudflare (Without Auth)
- Deploy without authentication on Cloudflare Workers.
- Server uses SSE transport at
<account>.workers.dev/sse. - Tools defined with zod schemas inside
init()method. - Connect directly from Cloudflare AI Playground.
- Use mcp-remote proxy to connect from local stdio clients.
- One‑click deployment via Workers button.
Use cases of Building a Remote MCP Server on Cloudflare (Without Auth)
- Expose AI tools from a Cloudflare Worker as a remote MCP server.
- Test MCP tools interactively in Cloudflare AI Playground without a local client.
- Bridge local MCP clients that only support stdio to a remote SSE server.
- Quickly prototype and share MCP servers without worrying about authentication.
FAQ from Building a Remote MCP Server on Cloudflare (Without Auth)
How do I deploy this MCP server?
Use the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless.
How do I add custom tools?
Define each tool inside the init() method of src/index.ts using this.server.tool(...) with zod schemas for argument validation.
How can I connect from Cloudflare AI Playground?
Go to https://playground.ai.cloudflare.com/ and enter the deployed server URL such as remote-mcp-server-authless.<your-account>.workers.dev/sse.
How can I connect a local MCP client to this remote server?
Configure your client to use npx -y mcp-remote with the SSE URL, or use the mcp-remote proxy if the client only supports stdio transport.
Does this server require authentication?
No, the server is explicitly built without authentication as stated in the title.
开发工具 分类下的更多 MCP 服务器
MCP Containers
metorialConnect any AI model to 1200+ integrations (MCP, CLI, API)
test
cloudwegoThe ultimate LLM/AI application development framework in Go.
Deepwiki MCP Server
regenrek📖 MCP server for fetch deepwiki.com and get latest knowledge in Cursor and other Code Editors
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
评论