MCP.so
Sign In
Servers

Building a Remote MCP Server on Cloudflare (Without Auth)

@elizabethsiegle

Overview

What is Building a Remote MCP Server on Cloudflare (Without Auth)?

Building a Remote MCP Server on Cloudflare (Without Auth) is a template for deploying a remote MCP server on Cloudflare Workers that requires no authentication and returns GIFs based on input queries. It targets developers who want a quick, unauthenticated remote MCP server integrated with Cloudflare's infrastructure.

How to use Building a Remote MCP Server on Cloudflare (Without Auth)?

Deploy using the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless on the command line. Customize tools inside the init() method of src/index.ts via this.server.tool(...). Connect from the Cloudflare AI Playground or from local MCP clients (e.g., Claude Desktop) using the mcp-remote proxy.

Key features of Building a Remote MCP Server on Cloudflare (Without Auth)

  • Deploy a remote MCP server to Cloudflare Workers
  • No authentication required for the MCP server
  • Returns GIFs based on input queries
  • Easily customizable with your own tools
  • Connects to Cloudflare AI Playground as a remote MCP client
  • Compatible with local MCP clients via mcp-remote proxy

Use cases of Building a Remote MCP Server on Cloudflare (Without Auth)

  • Quickly deploy a no-auth remote MCP server on Cloudflare Workers
  • Integrate MCP tools with the Cloudflare AI Playground
  • Connect a remote MCP server to Claude Desktop for tool use
  • Build and test custom MCP tools without managing authentication

FAQ from Building a Remote MCP Server on Cloudflare (Without Auth)

How do I deploy the server?

Use the "Deploy to Workers" button on the README page or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless in your terminal.

Where is the server URL after deployment?

The server deploys to a URL like remote-mcp-server-authless.<your-account>.workers.dev/sse.

How do I add or customize tools?

Define each tool inside the init() method of src/index.ts using this.server.tool(...).

How do I connect from Claude Desktop?

Use the mcp-remote proxy. Update your Claude Desktop config to point to the server's SSE endpoint via npx mcp-remote <server-url>/sse.

Does this require any authentication?

No, this server is intentionally built without authentication for easy testing and prototyping.

Tags

More from Search