Remote MCP Server (Authless)
by gotalab
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 clients like the Cloudflare AI Playground or 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 and functionalities 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 from the Cloudflare AI Playground by entering the server's URL. For Claude Desktop, you need to configure the mcpServers
section in the settings with the server's URL using the mcp-remote
proxy.
Key features of Remote MCP Server (Authless)
Authentication-less deployment
Easy deployment on Cloudflare Workers
Integration with Cloudflare AI Playground
Compatibility with Claude Desktop
Customizable tools via
src/index.ts
Use cases of Remote MCP Server (Authless)
Exposing custom tools to AI models
Connecting local AI clients to remote services
Building AI applications on Cloudflare
Prototyping AI workflows
Experimenting with MCP protocol
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 and services.
Why use a remote MCP server?
Why use a remote MCP server?
A remote MCP server allows you to expose tools and functionalities to AI models without running them locally.
How do I add my own tools?
How do I add my own tools?
You can add your own tools by defining them inside 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.
Do I need authentication for this server?
Do I need authentication for this server?
No, this example is designed to be authentication-less for simplicity. However, you can add authentication if needed.