Remote MCP Server (Authless) logo

Remote MCP Server (Authless)

by aoprisan

This is an example of deploying a remote MCP server on Cloudflare Workers without 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 designed to run on Cloudflare Workers. It allows you to expose tools and functionalities to AI models and clients without requiring authentication.

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 tool. 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 local MCP clients like Claude Desktop using the mcp-remote proxy and configuring the client to point to the server's URL.

Key features of Remote MCP Server (Authless)

  • Authentication-less deployment

  • Cloudflare Workers compatibility

  • Customizable tools

  • Integration with Cloudflare AI Playground

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

Use cases of Remote MCP Server (Authless)

  • Exposing custom tools to AI models

  • Building AI-powered applications with external functionalities

  • Creating a remote interface for AI model interactions

  • Integrating AI models with existing systems and services

  • Providing a secure and scalable platform for AI model deployment

FAQ from Remote MCP Server (Authless)

What is MCP?

MCP stands for Model Context Protocol. It's a protocol for connecting AI models with external tools and data sources.

Why deploy on Cloudflare Workers?

Cloudflare Workers provides a serverless environment that is scalable, cost-effective, and easy to deploy.

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

Can I use this server with other MCP clients?

Yes, you can use this server with any MCP client that supports remote connections, such as Claude Desktop using the mcp-remote proxy.

Is this server secure?

This example is designed to be authentication-less, which may not be suitable for production environments. Consider adding authentication for production deployments.