Remote MCP Server (Authless)
by dbalders
This example demonstrates how to deploy a remote Model Context Protocol (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 MCP server designed to run on Cloudflare Workers. It allows you to expose tools and functionalities to MCP clients, such as the Cloudflare AI Playground and Claude Desktop, 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 using 'npm create cloudflare@latest'. After deployment, the server will be accessible at a URL like 'remote-mcp-server-authless.<your-account>.workers.dev/sse'. You can then connect to it from the Cloudflare AI Playground or configure local MCP clients like Claude Desktop to use it.
Key features of Remote MCP Server (Authless)
Serverless deployment on Cloudflare Workers
Authentication-free access
Easy integration with Cloudflare AI Playground
Compatibility with local MCP clients (e.g., Claude Desktop)
Customizable tool integration
Use cases of Remote MCP Server (Authless)
Exposing custom tools to the Cloudflare AI Playground
Integrating server-side functionalities with Claude Desktop
Building AI-powered applications with remote tool execution
Creating a centralized MCP server for multiple clients
Experimenting with MCP without authentication complexity
FAQ from Remote MCP Server (Authless)
What is MCP?
What is MCP?
MCP stands for Model Context Protocol, a standard for communicating between AI models and tools.
Why use a remote MCP server?
Why use a remote MCP server?
A remote MCP server allows you to offload tool execution to a server, enabling you to use tools with limited resources or that require specific environments.
How do I add my own tools?
How do I add my own tools?
You can add tools to the server by defining them within the init()
method of src/index.ts
using this.server.tool(...)
.
What is the Cloudflare AI Playground?
What is the Cloudflare AI Playground?
The Cloudflare AI Playground is a web-based interface for interacting with AI models and tools.
How do I connect Claude Desktop?
How do I connect Claude Desktop?
Follow Anthropic's Quickstart guide and update the Claude Desktop configuration with the provided JSON snippet, replacing the URL with your deployed MCP server URL.