MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@mehmetakinn

关于 Building a Remote MCP Server on Cloudflare (Without Auth)

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

mehmetakinn

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

评论

开发工具 分类下的更多 MCP 服务器