Remote MCP Server (Authless)
by ericmarkson
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 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 enables you to expose tools to MCP clients like 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, you can connect to it using the provided URL from the Cloudflare AI Playground or by configuring the mcp-remote
proxy with Claude Desktop.
Key features of Remote MCP Server (Authless)
Authentication-less deployment
Cloudflare Workers compatibility
Tool customization
Integration with Cloudflare AI Playground
Integration with Claude Desktop via mcp-remote
Use cases of Remote MCP Server (Authless)
Exposing custom tools to AI models
Experimenting with MCP without authentication overhead
Connecting local AI clients to remote tools
Building AI-powered applications using Cloudflare Workers
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 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 connect to the MCP server from Claude Desktop?
How do I connect to the MCP server from Claude Desktop?
Use the mcp-remote
proxy and configure Claude Desktop with the provided JSON configuration, replacing the URL with your deployed server's URL.
Is this server secure without authentication?
Is this server secure without authentication?
Since this server doesn't require authentication, it's important to consider the security implications. Avoid exposing sensitive tools or data without implementing additional security measures.