Remote MCP Server (Authless) logo

Remote MCP Server (Authless)

by TiagoRechau

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

You can deploy the server using the 'Deploy to Workers' button or via the command line using 'npm create cloudflare@latest'. After deployment, the server URL can be used to connect from the Cloudflare AI Playground or configured in Claude Desktop using the mcp-remote proxy.

Key features of Remote MCP Server (Authless)

  • Authentication-free deployment

  • Easy deployment to Cloudflare Workers

  • Customizable tools via the init() method

  • Integration with Cloudflare AI Playground

  • Compatibility with local MCP clients like Claude Desktop

Use cases of Remote MCP Server (Authless)

  • Exposing custom tools to AI models

  • Creating a remote interface for AI model interaction

  • Experimenting with MCP protocols

  • Integrating custom logic into AI workflows

FAQ from Remote MCP Server (Authless)

What is MCP?

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

What is Cloudflare Workers?

Cloudflare Workers is a serverless platform that allows you to deploy code to Cloudflare's edge network.

How do I add custom tools?

You can add custom 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 configure Claude Desktop as described in the README.