Remote MCP Server (Authless) logo

Remote MCP Server (Authless)

by sxjeru

This project provides an example of deploying a remote MCP server on Cloudflare Workers without authentication. It allows you to connect to the server from the Cloudflare AI Playground or local MCP clients like Claude Desktop.

View on GitHub

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 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)?

  1. Deploy the server to Cloudflare Workers using the provided 'Deploy to Workers' button or the command line.
  2. Customize the server by adding your own tools within the init() method of src/index.ts.
  3. Connect to the server from the Cloudflare AI Playground by entering the deployed server URL.
  4. Connect to the server from local MCP clients like Claude Desktop using the mcp-remote proxy and updating the client's configuration.

Key features of Remote MCP Server (Authless)

  • Authentication-free deployment

  • Easy deployment to Cloudflare Workers

  • Customizable with your own tools

  • Integration with Cloudflare AI Playground

  • Compatibility with local MCP clients (e.g., Claude Desktop)

Use cases of Remote MCP Server (Authless)

  • Exposing custom tools to the Cloudflare AI Playground

  • Connecting Claude Desktop to custom tools

  • Building AI applications with remote tool execution

  • Creating a serverless MCP environment

  • Experimenting with MCP without managing authentication

FAQ from Remote MCP Server (Authless)

What is MCP?

MCP stands for Model Context Protocol. It's a protocol for connecting language models with external tools.

What is Cloudflare Workers?

Cloudflare Workers is a serverless execution environment that allows you to deploy and run code on Cloudflare's global network.

How do I add my own tools to the MCP server?

You can add your own tools by defining them inside the init() method of src/index.ts using this.server.tool(...).

How do I find my deployed MCP server URL?

After deploying to Cloudflare Workers, your server will be available at a URL like remote-mcp-server-authless.<your-account>.workers.dev/sse.

Can I use this server with other MCP clients?

Yes, you can use this server with any MCP client that supports connecting to a remote MCP server via HTTP.