Remote MCP Server (Authless) logo

Remote MCP Server (Authless)

by alasdairnicol

This example provides a way to deploy a remote Model Context Protocol (MCP) server on Cloudflare Workers without requiring authentication. It enables 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 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)?

You can deploy the server using the 'Deploy to Workers' button or the command line. After deployment, you can customize the server by adding your own tools in the src/index.ts file. You can connect to the server from the Cloudflare AI Playground by entering the deployed URL. For Claude Desktop, you can use the mcp-remote proxy and update the configuration file.

Key features of Remote MCP Server (Authless)

  • Authentication-less deployment

  • Easy deployment on Cloudflare Workers

  • Customizable with your own tools

  • Connects to Cloudflare AI Playground

  • Supports local MCP clients like Claude Desktop

Use cases of Remote MCP Server (Authless)

  • Exposing custom tools to AI models

  • Creating a remote interface for local tools

  • Experimenting with MCP in a serverless environment

  • Integrating with Cloudflare AI services

FAQ from Remote MCP Server (Authless)

What is MCP?

MCP stands for Model Context Protocol, a standard for connecting tools to AI models.

What are Cloudflare Workers?

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

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(...).

How do I connect to the Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/ and enter your deployed MCP server URL.

How do I connect Claude Desktop?

Use the mcp-remote proxy and update the configuration file in Claude Desktop as described in the README.