Remote MCP Server (Authless) logo

Remote MCP Server (Authless)

by brianmoney

This example demonstrates how 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 MCP server that can be deployed on Cloudflare Workers. It allows you to define and use tools within the Model Context Protocol framework without requiring authentication.

How to use Remote MCP Server (Authless)?

You can deploy the server using the 'Deploy to Workers' button or via the command line. After deployment, you can connect to it from the Cloudflare AI Playground by entering the server URL. You can also connect from local MCP clients like Claude Desktop 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 (e.g., Claude Desktop)

  • Customizable tool definitions

Use cases of Remote MCP Server (Authless)

  • Providing custom tools to AI models

  • Experimenting with MCP functionality

  • Building AI applications with external tool access

  • Connecting local AI clients to remote tools

FAQ from Remote MCP Server (Authless)

What is MCP?

MCP stands for Model Context Protocol, a framework for connecting AI models with external tools.

What are Cloudflare Workers?

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

How do I add my own tools to the server?

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

Can I use this server with other MCP clients?

Yes, you can use this server with any MCP client that supports connecting to a remote server via SSE (Server-Sent Events).

Is this server secure?

This example is designed for experimentation and does not include authentication. For production environments, consider implementing authentication and authorization mechanisms.