Remote MCP Server (Authless)
by chunxchun
This is an example of deploying a remote MCP server on Cloudflare Workers without authentication. It allows you to connect to the server from the Cloudflare AI Playground or local MCP clients.
Last updated: N/A
What is Remote MCP Server (Authless)?
This is a remote Model Context Protocol (MCP) server that can be deployed on Cloudflare Workers. It allows you to expose tools to MCP clients like the Cloudflare AI Playground or Claude Desktop without requiring authentication.
How to use Remote MCP Server (Authless)?
- Deploy the server to Cloudflare Workers using the provided button or command line.
- Customize the server by adding your own tools in the
src/index.ts
file. - Connect to the server from the Cloudflare AI Playground by entering the deployed URL.
- Connect to the server from local MCP clients like Claude Desktop using the mcp-remote proxy.
Key features of Remote MCP Server (Authless)
Authless deployment
Cloudflare Workers integration
Customizable tools
Compatibility with Cloudflare AI Playground
Compatibility with local MCP clients (e.g., Claude Desktop)
Use cases of Remote MCP Server (Authless)
Exposing custom tools to the Cloudflare AI Playground
Integrating custom tools with Claude Desktop
Building AI-powered applications with remote tool execution
Creating a serverless MCP endpoint
Experimenting with MCP without authentication overhead
FAQ from Remote MCP Server (Authless)
What is MCP?
What is MCP?
MCP stands for Model Context Protocol. It's a protocol for connecting AI models with external tools and services.
What is Cloudflare Workers?
What is Cloudflare Workers?
Cloudflare Workers is a serverless execution environment that allows you to deploy and run code on Cloudflare's global network.
How do I add my own tools to the MCP server?
How do I add my own tools to the MCP server?
You can add your own tools by defining them inside the init()
method of src/index.ts
using this.server.tool(...)
.
How do I find my deployed MCP server URL?
How do I find my deployed MCP server URL?
After deploying to Cloudflare Workers, your MCP server URL will be in the format remote-mcp-server-authless.<your-account>.workers.dev/sse
.
Why is authentication not required?
Why is authentication not required?
This example is designed for simplicity and experimentation. In a production environment, you should implement proper authentication and authorization mechanisms.