Remote MCP Server (Authless) logo

Remote MCP Server (Authless)

by brnardo

This is an example of deploying a remote 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 Model Context Protocol (MCP) server that runs on Cloudflare Workers and does not require authentication. It enables you to expose tools to MCP clients like the Cloudflare AI Playground and Claude Desktop.

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 on Cloudflare Workers

  • Easy integration with Cloudflare AI Playground

  • Compatibility with local MCP clients (e.g., Claude Desktop) via mcp-remote

  • Customizable tool definitions within the server code

  • Serverless architecture for scalability and cost-effectiveness

Use cases of Remote MCP Server (Authless)

  • Exposing custom tools to AI models in the Cloudflare AI Playground

  • Connecting local AI applications (e.g., Claude Desktop) to remote tools

  • Building AI-powered workflows that leverage a variety of tools

  • Creating a centralized tool repository for AI models

  • Experimenting with different tool configurations for AI model interaction

FAQ from Remote MCP Server (Authless)

What is an MCP server?

An MCP (Model Context Protocol) server allows AI models to interact with external tools and services.

How do I add my own tools to the server?

You can define your tools within the init() method of src/index.ts using this.server.tool(...).

How do I find my deployed server URL?

After deployment, your server will be available at a URL like remote-mcp-server-authless.<your-account>.workers.dev/sse.

Can I use this server with other MCP clients besides Cloudflare AI Playground and Claude Desktop?

Yes, any MCP client that supports connecting to a remote server via SSE can be used.

What is mcp-remote?

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