What is Building a Remote MCP Server on Cloudflare (Without Auth)?
This example allows you to deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers that does not require authentication. It is intended for developers who want to quickly create and host MCP tools accessible from remote clients.
How to use Building a Remote MCP Server on Cloudflare (Without Auth)?
Deploy the server by clicking the Deploy to Workers button or by running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless from the command line. Customize tools inside the init() method of src/index.ts using this.server.tool(...). Connect to it from Cloudflare AI Playground by entering the deployed SSE URL, or from Claude Desktop by configuring the mcp-remote proxy with the same URL.
Key features of Building a Remote MCP Server on Cloudflare (Without Auth)
- Deploys to Cloudflare Workers with a single click or command.
- No authentication required for client connections.
- Easily add custom tools via
this.server.tool(...).
- Works with Cloudflare AI Playground as a remote MCP client.
- Compatible with Claude Desktop via the
mcp-remote proxy.
Use cases of Building a Remote MCP Server on Cloudflare (Without Auth)
- Hosting AI agent tools accessible over the internet without auth.
- Experimenting with remote MCP clients like Cloudflare AI Playground.
- Integrating custom server-side logic into Claude Desktop workflows.
- Rapid prototyping of MCP-based tool servers on a global edge network.
コメント