Remote MCP Server (Authless) logo

Remote MCP Server (Authless)

by mohd-arham-islam

This example provides a way to deploy a remote Model Context Protocol (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.

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 allows you to expose tools to MCP clients like the Cloudflare AI Playground or 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 in the src/index.ts file.
  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 configuring the client to point to the server's URL.

Key features of Remote MCP Server (Authless)

  • Authentication-less deployment

  • Easy deployment to Cloudflare Workers

  • Customizable with your own tools

  • Connects to Cloudflare AI Playground

  • Connects to local MCP clients like Claude Desktop

Use cases of Remote MCP Server (Authless)

  • Exposing custom tools to the Cloudflare AI Playground

  • Integrating custom tools with Claude Desktop

  • Creating a serverless MCP server for AI applications

  • Experimenting with MCP without authentication overhead

FAQ from Remote MCP Server (Authless)

What is MCP?

MCP stands for Model Context Protocol, a protocol for connecting AI models with tools and context.

What are Cloudflare Workers?

Cloudflare Workers is a serverless platform 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, your MCP server will be available at a URL like remote-mcp-server-authless.<your-account>.workers.dev/sse.

Do I need to pay for Cloudflare Workers?

Cloudflare Workers offers a free tier, which may be sufficient for testing and development. For production use, you may need to upgrade to a paid plan.