Remote MCP Server (Authless) logo

Remote MCP Server (Authless)

by khar20

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 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 an example of a 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 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 or from Claude Desktop by configuring the 'mcpServers' setting with the server's address.

Key features of Remote MCP Server (Authless)

  • Authentication-less deployment

  • Cloudflare Workers integration

  • Easy tool customization

  • Compatibility with Cloudflare AI Playground

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

Use cases of Remote MCP Server (Authless)

  • Exposing custom tools to AI models

  • Experimenting with MCP without authentication overhead

  • Connecting local AI clients to remote tools

  • Building AI-powered applications on Cloudflare

  • Integrating with existing AI workflows

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.

How do I add tools to the server?

You can add 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 connecting to a remote server via HTTP.

Is this server secure?

This server does not require authentication, so it should not be used in production environments where security is a concern. Consider adding authentication for production use cases.

How do I find the server URL after deployment?

The server URL will be in the format remote-mcp-server-authless.<your-account>.workers.dev/sse after deployment to Cloudflare Workers.