Building a Remote MCP Server on Cloudflare (Without Auth)
@trigidigital
关于 Building a Remote MCP Server on Cloudflare (Without Auth)
暂无概览
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Building a Remote MCP Server on Cloudflare (Without Auth)?
A template for deploying a remote Model Context Protocol (MCP) server on Cloudflare Workers without requiring authentication. It exposes tools via an SSE endpoint and is intended for developers who want to experiment with remote MCP servers accessible from Cloudflare’s AI Playground or local MCP clients.
How to use Building a Remote MCP Server on Cloudflare (Without Auth)?
Deploy by clicking the “Deploy to Workers” button or by running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools inside src/index.ts using this.server.tool(...). Connect from the Cloudflare AI Playground by entering your deployed SSE URL, or from Claude Desktop using the mcp-remote proxy with an adapted claude_desktop_config.json.
Key features of Building a Remote MCP Server on Cloudflare (Without Auth)
- One‑click deploy to Cloudflare Workers
- No authentication required for the MCP server
- Easy tool customization via
this.server.tool() - Pre‑configured SSE endpoint (
/sse) - Works with Cloudflare AI Playground as a remote client
- Compatible with local MCP clients using
mcp-remoteproxy
Use cases of Building a Remote MCP Server on Cloudflare (Without Auth)
- Prototyping custom MCP tools without auth overhead
- Connecting Cloudflare AI Playground to user‑defined tools
- Running a remote MCP server for personal experimentation
- Testing MCP integrations before adding authentication
FAQ from Building a Remote MCP Server on Cloudflare (Without Auth)
How do I deploy the MCP server?
Click the “Deploy to Workers” button or use the CLI command npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless.
How do I add custom tools?
Add tools inside the init() method of src/index.ts using this.server.tool(...). Each tool is defined following the MCP Server SDK.
How do I connect the server to Cloudflare AI Playground?
Go to https://playground.ai.cloudflare.com/, enter your deployed SSE URL (e.g., remote-mcp-server-authless.your-account.workers.dev/sse), and start using the tools directly in the playground.
How do I connect the server to Claude Desktop?
Install mcp-remote (npx mcp-remote ...) and update Claude Desktop’s configuration (claude_desktop_config.json) to use the mcp-remote command with your SSE URL as an argument.
Does the server require any authentication?
No, this example explicitly builds an MCP server without authentication. For production use, you may want to add authentication.
开发工具 分类下的更多 MCP 服务器
MCP server to deploy code to Google Cloud Run
GoogleCloudPlatformMCP server to deploy apps to Cloud Run
MCP Inspector
modelcontextprotocolVisual testing tool for MCP servers
@vercel/mcp-adapter
vercelEasily spin up an MCP Server on Next.js, Nuxt, Svelte, and more
DevDocs by CyberAGI 🚀
cyberagiincCompletely free, private, UI based Tech Documentation MCP server. Designed for coders and software developers in mind. Easily integrate into Cursor, Windsurf, Cline, Roo Code, Claude Desktop App
MCP-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
评论