Remote MCP Server (Authless) logo

Remote MCP Server (Authless)

by dakotatores01

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 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 designed to run on Cloudflare Workers. It enables you to expose tools and functionalities to AI models and clients without requiring authentication, making it easier to integrate with services 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, you can connect to it using the provided URL in the Cloudflare AI Playground or configure Claude Desktop to use it as a remote MCP server using the mcp-remote proxy.

Key features of Remote MCP Server (Authless)

  • Authentication-less deployment

  • Easy deployment to Cloudflare Workers

  • Integration with Cloudflare AI Playground

  • Compatibility with local MCP clients like Claude Desktop

  • Customizable tools via the init() method

Use cases of Remote MCP Server (Authless)

  • Exposing custom tools to AI models

  • Integrating with the Cloudflare AI Playground for experimentation

  • Connecting Claude Desktop to remote functionalities

  • Creating a serverless AI tool ecosystem

  • Providing a simple and accessible MCP server for development and testing

FAQ from Remote MCP Server (Authless)

What is an MCP Server?

An MCP (Model Context Protocol) server allows you to expose tools and functionalities to AI models.

How do I add custom tools to the server?

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

How do I connect to the server from the Cloudflare AI Playground?

Enter your deployed MCP server URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse) in the Cloudflare AI Playground settings.

How do I connect Claude Desktop to my MCP server?

Use the mcp-remote proxy and configure Claude Desktop with the provided JSON configuration, replacing the URL with your deployed server URL.

What is the purpose of deploying without authentication?

Deploying without authentication simplifies the setup process and allows for easier experimentation and integration, especially in development environments. However, consider security implications for production deployments.