Remote MCP Server (Authless)
by irvinebroque
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 AI tools and functionalities that can be accessed by MCP clients, such as the Cloudflare AI Playground or 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 from the Cloudflare AI Playground by entering the server's URL or from local MCP clients by using the mcp-remote proxy. To add custom tools, define them within the init()
method of src/index.ts
using this.server.tool(...)
.
Key features of Remote MCP Server (Authless)
Authless deployment
Cloudflare Workers integration
Customizable tools
Cloudflare AI Playground compatibility
Local MCP client compatibility (via mcp-remote)
Use cases of Remote MCP Server (Authless)
Exposing custom AI tools to the Cloudflare AI Playground
Integrating AI functionalities into Claude Desktop
Creating a remote AI processing server
Experimenting with MCP without authentication overhead
Providing access to AI models and tools in a controlled environment
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 execution environment that allows you to 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 within 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 to point to the proxy's address, as shown in the README.
Is this server suitable for production use?
Is this server suitable for production use?
This example is authless, so consider security implications before using it in production. You might want to add authentication for production environments.