Remote MCP Server (Authless) logo

Remote MCP Server (Authless)

by garrettHensley

This is an example of deploying a remote Model Context Protocol (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 MCP server designed to run 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)?

You can deploy the server using the 'Deploy to Workers' button or the npm create cloudflare command. After deployment, you can connect to it from the Cloudflare AI Playground by entering the server URL or from Claude Desktop by configuring the mcpServers setting with the server URL and using the mcp-remote proxy.

Key features of Remote MCP Server (Authless)

  • Authless deployment

  • Cloudflare Workers integration

  • MCP compatibility

  • Tool customization

  • Integration with Cloudflare AI Playground

  • Integration with Claude Desktop

Use cases of Remote MCP Server (Authless)

  • Exposing custom tools to AI models

  • Building AI-powered applications with remote tools

  • Experimenting with MCP in a serverless environment

  • Connecting local AI clients to remote tools

  • Extending the functionality of the Cloudflare AI Playground

FAQ from Remote MCP Server (Authless)

What is MCP?

MCP stands for Model Context Protocol. It's a protocol for connecting AI models to external tools and data sources.

What is Cloudflare Workers?

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

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

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

Do I need authentication to use this server?

No, this example is designed to be authless for simplicity. However, you can add authentication if needed.

What is the mcp-remote proxy?

The mcp-remote proxy allows you to connect local MCP clients (like Claude Desktop) to remote MCP servers.