Remote MCP Server (Authless)
by nealriley
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 that can be deployed on Cloudflare Workers. It allows you to expose AI tools and connect them to clients like the Cloudflare AI Playground or Claude Desktop without 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 customize it by adding your own tools within the init()
method of src/index.ts
. You can then connect to the server from the Cloudflare AI Playground by entering the deployed server URL, or from Claude Desktop using the mcp-remote proxy.
Key features of Remote MCP Server (Authless)
Authless deployment
Cloudflare Workers integration
Customizable tools
Integration with Cloudflare AI Playground
Integration with Claude Desktop
Use cases of Remote MCP Server (Authless)
Exposing AI tools to the Cloudflare AI Playground
Connecting custom tools to Claude Desktop
Building AI-powered applications with remote tool execution
Experimenting with MCP without authentication overhead
FAQ from Remote MCP Server (Authless)
What is MCP?
What is MCP?
MCP stands for Model Context Protocol, a standard for connecting AI models with external tools.
Why deploy on Cloudflare Workers?
Why deploy on Cloudflare Workers?
Cloudflare Workers provides a serverless environment for running your MCP server with scalability and global distribution.
How do I add my own tools?
How do I add my own tools?
You can add tools by defining them inside the init()
method of src/index.ts
using this.server.tool(...)
.
Is authentication required?
Is authentication required?
This example is specifically designed to be authless, meaning no authentication is required to connect to the server.
Can I use this with other MCP clients?
Can I use this with other MCP clients?
Yes, you can use this with any MCP client that supports connecting to a remote server, potentially requiring the mcp-remote proxy.