Building a Remote MCP Server on Cloudflare (Without Auth)
@nealriley
关于 Building a Remote MCP Server on Cloudflare (Without Auth)
暂无概览
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Building a Remote MCP Server on Cloudflare (Without Auth)?
This example deploys a remote Model Context Protocol (MCP) server that requires no authentication on Cloudflare Workers. It is intended for developers who want to expose MCP tools over SSE without setting up auth.
How to use Building a Remote MCP Server on Cloudflare (Without Auth)?
Deploy via the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Once deployed, the server is available at a URL like remote-mcp-server-authless.<your-account>.workers.dev/sse. Add custom tools inside the init() method of src/index.ts using this.server.tool(...).
Key features of Building a Remote MCP Server on Cloudflare (Without Auth)
- Deployable with one click or CLI command
- No authentication required for connections
- Supports custom tool definition in TypeScript
- Serves MCP over SSE endpoint
- Compatible with Cloudflare AI Playground and Claude Desktop
Use cases of Building a Remote MCP Server on Cloudflare (Without Auth)
- Expose MCP tools publicly without login walls
- Prototype MCP integrations before adding auth
- Enable remote AI assistants to call custom tools
- Connect local MCP clients like Claude Desktop via a proxy
FAQ from Building a Remote MCP Server on Cloudflare (Without Auth)
How do I deploy this MCP server?
Click the "Deploy to Workers" button on the README or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless from the command line.
How do I add my own tools?
Define each tool inside the init() method of src/index.ts using this.server.tool(...). More details are in the Cloudflare Tools documentation.
How do I connect from Cloudflare AI Playground?
Go to https://playground.ai.cloudflare.com/, enter your deployed MCP server URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse), and use the tools directly.
How do I connect Claude Desktop?
Install the mcp-remote npm proxy package, then add an entry to Claude Desktop’s claude_desktop_config.json with "command": "npx" and args including the SSE URL.
Does this server require any authentication?
No – this specific example is built to run without authentication, as stated in its name and README.
开发工具 分类下的更多 MCP 服务器
sentry-mcp
getsentryAn MCP server for interacting with Sentry via LLMs.
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
MCP-Bridge
SecretiveShellA middleware to provide an openAI compatible endpoint that can call MCP tools
评论