MCP.so
ログイン
サーバー

Building a Remote MCP Server on Cloudflare (Without Auth)

@HawkEyeTheRapper

概要

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

This server lets you deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers without requiring authentication. It is designed for developers who want to quickly expose MCP tools over the internet using a serverless platform.

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

Deploy by clicking the "Deploy to Workers" button or running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools by editing src/index.ts and using this.server.tool(...). Connect to the deployed URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse) from remote MCP clients like Cloudflare AI Playground or, via the mcp-remote proxy, from Claude Desktop.

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

  • Deploy a remote MCP server without authentication
  • Runs on Cloudflare Workers for global edge deployment
  • Easily add custom tools via this.server.tool()
  • Connect directly from Cloudflare AI Playground
  • Works with local MCP clients using mcp-remote proxy

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

  • Quickly expose AI tools as a remote MCP server for testing
  • Integrate with Cloudflare AI Playground for interactive tool use
  • Connect to Claude Desktop via the mcp-remote proxy
  • Prototype serverless MCP endpoints without managing authentication

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

What is this server for?

It deploys an MCP server on Cloudflare Workers that does not require authentication, making it easy to share tools over the internet.

How do I deploy it?

You can deploy by clicking the "Deploy to Workers" button or by using the command npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless.

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 Claude Desktop?

Use the mcp-remote proxy and configure the MCP server URL in Claude Desktop's settings (e.g., http://localhost:8787/sse or your deployed URL).

Does this server require authentication?

No, the server is deployed without authentication as described in the title and README.

タグ

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