Remote MCP Server (Authless) logo

Remote MCP Server (Authless)

by bsmarch

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 various MCP clients like the Cloudflare AI Playground and 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 without requiring authentication, enabling integration with platforms like the Cloudflare AI Playground and Claude Desktop.

How to use Remote MCP Server (Authless)?

  1. Deploy the server to Cloudflare Workers using the provided 'Deploy to Workers' button or the command line.
  2. Customize the server by adding your own tools within the init() method of src/index.ts.
  3. Connect to the server from the Cloudflare AI Playground by entering the deployed server URL.
  4. Connect to the server from Claude Desktop by using the mcp-remote proxy and updating the Claude Desktop configuration.

Key features of Remote MCP Server (Authless)

  • Authentication-less deployment

  • Cloudflare Workers integration

  • Customizable tools

  • Compatibility with Cloudflare AI Playground

  • Integration with Claude Desktop

  • Remote access

Use cases of Remote MCP Server (Authless)

  • Exposing custom tools to AI models

  • Integrating AI models with external services

  • Building AI-powered applications

  • Connecting local applications to remote AI services

  • Prototyping AI tools and workflows

FAQ from Remote MCP Server (Authless)

What is MCP?

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

Why deploy on Cloudflare Workers?

Cloudflare Workers provides a serverless environment for deploying and scaling applications globally.

How do I add my own tools?

Define each tool 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, but you can add authentication if needed.

What is mcp-remote?

mcp-remote is a proxy that allows you to connect to remote MCP servers from local MCP clients like Claude Desktop.