Remote MCP Server (Authless)
by muratkryc
This example provides a way to deploy a remote MCP server on Cloudflare Workers without requiring authentication. It allows you to connect to the server from the Cloudflare AI Playground or local MCP clients like Claude Desktop.
Last updated: N/A
What is Remote MCP Server (Authless)?
This is a remote Model Context Protocol (MCP) server designed to run on Cloudflare Workers. It allows you to expose tools to MCP clients like the Cloudflare AI Playground or Claude Desktop, enabling them to interact with those tools.
How to use Remote MCP Server (Authless)?
You can deploy the server using the 'Deploy to Workers' button or via the command line using npm create cloudflare@latest
. After deployment, you can connect to it from the Cloudflare AI Playground by entering the server URL. For local clients like Claude Desktop, you need to use the mcp-remote
proxy and configure the client to connect to the proxy.
Key features of Remote MCP Server (Authless)
Authentication-less deployment
Easy deployment to Cloudflare Workers
Integration with Cloudflare AI Playground
Support for local MCP clients via mcp-remote
Customizable tools via
src/index.ts
Use cases of Remote MCP Server (Authless)
Exposing custom tools to AI models
Building AI-powered applications with external tools
Experimenting with different tools in the Cloudflare AI Playground
Connecting local AI clients to remote tools
Creating a serverless AI tool ecosystem
FAQ from Remote MCP Server (Authless)
What is MCP?
What is MCP?
MCP stands for Model Context Protocol. It's a protocol that allows AI models to interact with external tools.
What is Cloudflare Workers?
What is Cloudflare Workers?
Cloudflare Workers is a serverless platform that allows you to run code on Cloudflare's edge 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 server URL will be in the format remote-mcp-server-authless.<your-account>.workers.dev/sse
.
Do I need authentication to use this MCP server?
Do I need authentication to use this MCP server?
No, this example is designed to be authentication-less for ease of use and experimentation.