Remote MCP Server (Authless) logo

Remote MCP Server (Authless)

by Sufian73

This is an example of deploying a remote Model Context Protocol (MCP) server on Cloudflare Workers without authentication. It allows you to connect to the server from the Cloudflare AI Playground or other 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 provides a way to expose tools and functionalities to MCP clients 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. 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

  • Cloudflare Workers based

  • Integration with Cloudflare AI Playground

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

  • Customizable with user-defined tools

Use cases of Remote MCP Server (Authless)

  • Exposing custom tools to AI models

  • Connecting local AI clients to remote services

  • Building AI-powered applications on Cloudflare

  • Experimenting with MCP protocol

  • Providing a secure and scalable AI service endpoint

FAQ from Remote MCP Server (Authless)

What is MCP?

MCP stands for Model Context Protocol. It's a protocol that allows AI models to interact with external tools and services.

Why deploy on Cloudflare Workers?

Cloudflare Workers provides a serverless environment that is scalable and cost-effective.

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(...).

Is authentication required?

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

What is mcp-remote?

mcp-remote is a proxy that allows local MCP clients to connect to remote MCP servers.