MCP.so
ログイン
サーバー

Building a Remote MCP Server on Cloudflare (Without Auth)

@mehmetakinn

概要

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

This example deploys a remote MCP server on Cloudflare Workers without authentication. It targets developers who want to quickly launch custom MCP tools and connect them to remote clients like Cloudflare AI Playground or Claude Desktop.

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

Deploy via the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools by editing src/index.ts inside the init() method using this.server.tool(...). Connect to Cloudflare AI Playground by entering your SSE URL, or to Claude Desktop by running npx mcp-remote with your SSE URL and adding the configuration to Claude Desktop's mcpServers settings.

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

  • Deploy remote MCP server on Cloudflare Workers.
  • No authentication required.
  • Supports custom tools defined in src/index.ts.
  • Connects to Cloudflare AI Playground as remote client.
  • Works with local MCP clients via mcp-remote proxy.

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

  • Deploy a publicly accessible MCP server for testing and prototyping.
  • Integrate custom tools into Cloudflare AI Playground for interactive use.
  • Connect Claude Desktop to a remote MCP server without local infrastructure.
  • Quickly share MCP tools with others using a Cloudflare Workers URL.

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

What does this server do?

It is a template that deploys a remote MCP server on Cloudflare Workers without authentication, allowing you to serve MCP tools over SSE.

How do I deploy it?

Click the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless from the command line.

How do I add custom tools?

Edit src/index.ts and define each tool inside the init() method using this.server.tool(...).

How do I connect to Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed SSE URL (e.g., remote-mcp-server-authless.<account>.workers.dev/sse), and start using your tools.

How do I connect Claude Desktop?

Use npx mcp-remote with your SSE URL, then add the following configuration to Claude Desktop’s mcpServers:

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": ["mcp-remote", "http://localhost:8787/sse"]
    }
  }
}

Is authentication required?

No, this MCP server is specifically built without authentication.

タグ

「開発者ツール」の他のコンテンツ