Remote MCP Server (Authless) logo

Remote MCP Server (Authless)

by dturkuler

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 MCP (Model Context Protocol) server that can be deployed on Cloudflare Workers. It allows you to expose tools to MCP clients such as the Cloudflare AI Playground and Claude Desktop 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 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, you can use the mcp-remote proxy and configure the client to connect to the proxy.

Key features of Remote MCP Server (Authless)

  • Authentication-less deployment

  • Cloudflare Workers integration

  • MCP compatibility

  • Tool extensibility

  • Integration with Cloudflare AI Playground

  • Integration with Claude Desktop

Use cases of Remote MCP Server (Authless)

  • Exposing custom tools to AI models

  • Connecting local AI clients to remote tools

  • Building AI-powered applications using serverless infrastructure

  • Experimenting with MCP protocol

  • Providing a secure and scalable platform for AI tools

FAQ from Remote MCP Server (Authless)

What is MCP?

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

Why deploy on Cloudflare Workers?

Cloudflare Workers provides a serverless and scalable platform for deploying the MCP server.

How do I add my own tools?

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

Is authentication required?

This example is designed to be authentication-less, but you can add authentication if needed.

Can I use this 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).