Remote MCP Server (Authless) logo

Remote MCP Server (Authless)

by amc0101

This example provides a way to deploy a remote 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 that can be deployed on Cloudflare Workers. It allows you to expose tools to MCP clients like the Cloudflare AI Playground or 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 provided npm create cloudflare command. 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

  • Support for local MCP clients via mcp-remote

  • Customizable tools

Use cases of Remote MCP Server (Authless)

  • Exposing custom tools to AI models

  • Connecting local AI clients to remote tools

  • Building AI applications on Cloudflare Workers

  • Experimenting with MCP protocol

  • Providing a secure and scalable MCP server

FAQ from Remote MCP Server (Authless)

What is MCP?

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

What is Cloudflare Workers?

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

How do I add my own tools?

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

How do I find my deployed server URL?

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

Do I need authentication?

This example is designed to be authentication-less for ease of use and experimentation. For production environments, consider adding authentication.