Remote MCP Server (Authless)
by shaikzhafir
This is an example of deploying a remote Model Context Protocol (MCP) server on Cloudflare Workers without authentication. It allows you to connect to the server from clients like the Cloudflare AI Playground or Claude Desktop.
Last updated: N/A
What is Remote MCP Server (Authless)?
This is a remote MCP server that can be deployed on Cloudflare Workers. It allows you to expose tools to MCP clients without requiring authentication.
How to use Remote MCP Server (Authless)?
You can deploy the server using the 'Deploy to Workers' button or via the command line. After deployment, you can connect to it from the Cloudflare AI Playground by entering the server URL. You can also connect from local MCP clients like Claude Desktop using the mcp-remote proxy.
Key features of Remote MCP Server (Authless)
Authentication-less deployment
Easy deployment on Cloudflare Workers
Integration with Cloudflare AI Playground
Compatibility with local MCP clients (e.g., Claude Desktop)
Customizable tools via the init() method
Use cases of Remote MCP Server (Authless)
Exposing custom tools to LLMs
Connecting LLMs to external services
Building AI agents with custom capabilities
Experimenting with MCP in a serverless environment
FAQ from Remote MCP Server (Authless)
What is MCP?
What is MCP?
MCP stands for Model Context Protocol, a protocol for connecting LLMs to external tools and services.
What is Cloudflare Workers?
What is Cloudflare Workers?
Cloudflare Workers is a serverless platform 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 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?
The deployed MCP server URL will be in the format remote-mcp-server-authless.<your-account>.workers.dev/sse
.
Do I need authentication to use this server?
Do I need authentication to use this server?
No, this example is designed to be authentication-less for ease of use and experimentation.