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.
「開発者ツール」の他のコンテンツ
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
JetBrains MCP Proxy Server
JetBrainsA model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
test
harlancA simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
コメント