Remote MCP Server (Authless) logo

Remote MCP Server (Authless)

by Jacqopb

This example allows you to deploy a remote MCP server that doesn't require authentication on Cloudflare Workers. It enables connecting to the server from Cloudflare AI Playground and 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 designed to run on Cloudflare Workers without requiring authentication. It allows you to expose tools and functionalities to MCP clients like 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, you can connect to it from the Cloudflare AI Playground by entering the server URL. For local clients like Claude Desktop, use the mcp-remote proxy and configure the client to point to your deployed server.

Key features of Remote MCP Server (Authless)

  • Authentication-less deployment

  • Cloudflare Workers integration

  • Integration with Cloudflare AI Playground

  • Compatibility with local MCP clients (e.g., Claude Desktop)

  • Customizable tools via src/index.ts

Use cases of Remote MCP Server (Authless)

  • Exposing custom tools to AI models

  • Building AI-powered applications with remote tool execution

  • Integrating with Cloudflare AI Playground for interactive tool usage

  • Connecting local AI clients to remote tool servers

  • Creating a serverless AI tool execution environment

FAQ from Remote MCP Server (Authless)

What is MCP?

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

What is Cloudflare Workers?

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

How do I add custom tools to the MCP server?

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

How do I find my deployed MCP server URL?

After deploying to Cloudflare Workers, your server URL will be in the format 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, you can use this server with any MCP client that supports connecting to a remote MCP server via SSE (Server-Sent Events).