Remote MCP Server (Authless) logo

Remote MCP Server (Authless)

by ashaney

This is an example that allows you to deploy a remote MCP server without authentication on Cloudflare Workers. It enables you to connect to the server from the Cloudflare AI Playground or local MCP clients.

View on GitHub

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 without requiring authentication. It allows you to expose tools to MCP clients such as the Cloudflare AI Playground and Claude Desktop.

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 URL. For local MCP clients like Claude Desktop, use the mcp-remote proxy and configure the client to point to the proxy.

Key features of Remote MCP Server (Authless)

  • Authentication-less deployment

  • Cloudflare Workers integration

  • Tool customization

  • Compatibility with Cloudflare AI Playground

  • Compatibility with local MCP clients (via proxy)

Use cases of Remote MCP Server (Authless)

  • Exposing custom tools to the Cloudflare AI Playground

  • Integrating custom functionality into Claude Desktop

  • Creating a remotely accessible MCP server for development and testing

  • Building AI applications that leverage remote tools

  • Providing access to specialized tools without requiring user authentication

FAQ from Remote MCP Server (Authless)

What is an MCP server?

MCP stands for Model Context Protocol. It's a protocol that allows clients to interact with tools exposed by a server.

Why use Cloudflare Workers?

Cloudflare Workers provide a serverless environment for deploying and running code globally.

How do I add my own tools?

Define your tools inside the init() method of src/index.ts using this.server.tool(...).

What is the mcp-remote proxy?

The mcp-remote proxy allows local MCP clients to connect to remote MCP servers.

Is this server secure without authentication?

Because this server is authless, it is not suitable for production environments where security is a concern. It is intended for development and testing purposes.