Remote MCP Server (Authless) logo

Remote MCP Server (Authless)

by ChrisTowles

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 various MCP clients like the Cloudflare AI Playground and Claude Desktop.

View on GitHub

Last updated: N/A

What is Remote MCP Server (Authless)?

This is a remote MCP server implementation designed to run on Cloudflare Workers. It enables you to expose AI tools defined within the server to external clients like the Cloudflare AI Playground and Claude Desktop, without needing 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 Claude Desktop by using the mcp-remote proxy and updating the Claude Desktop configuration.

Key features of Remote MCP Server (Authless)

  • Authentication-less deployment

  • Cloudflare Workers integration

  • Tool customization

  • Compatibility with Cloudflare AI Playground

  • Compatibility with Claude Desktop

  • Remote access to AI tools

Use cases of Remote MCP Server (Authless)

  • Exposing custom AI tools to the Cloudflare AI Playground

  • Integrating AI tools with Claude Desktop

  • Creating a serverless AI tool execution environment

  • Providing remote access to AI models and tools

  • Experimenting with the Model Context Protocol

FAQ from Remote MCP Server (Authless)

What is MCP?

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

Why deploy on Cloudflare Workers?

Cloudflare Workers provides a serverless environment that is easy to deploy and scale.

How do I add my own tools?

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

What is mcp-remote?

mcp-remote is a proxy that allows local MCP clients like Claude Desktop to connect to remote MCP servers.

Is authentication required?

This example is designed to be authentication-less for simplicity, but you can add authentication if needed.