MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@Maury1329

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

Maury1329

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

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

概览

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

This example allows you to deploy a remote MCP server on Cloudflare Workers that does not require authentication. It is intended for developers who want to host Model Context Protocol (MCP) tools remotely without auth and connect them to MCP clients like Cloudflare AI Playground or Claude Desktop.

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

Deploy by clicking the "Deploy to Workers" button or using the command npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools by editing src/index.ts using this.server.tool(...). Connect clients via the deployed SSE endpoint (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse). For Claude Desktop, use the mcp-remote proxy in its config.

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

  • Deploy a remote MCP server on Cloudflare Workers with no authentication required.
  • Server exposes tools via an SSE endpoint.
  • Customizable tools by adding them in the init() method of src/index.ts.
  • Supports connection from Cloudflare AI Playground and local clients via proxy.
  • One-click deployment with "Deploy to Workers" button.

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

  • Deploy a public MCP server for testing or demo purposes without setting up authentication.
  • Connect MCP tools to Cloudflare AI Playground for remote experimentation.
  • Use with Claude Desktop via the mcp-remote proxy for local development.

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

How do I deploy the server?

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

How do I add custom MCP tools?

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

How do I connect Cloudflare AI Playground to the server?

Go to https://playground.ai.cloudflare.com/, enter your deployed SSE URL, and use the tools directly.

How do I connect Claude Desktop to the server?

Install mcp-remote and add a configuration entry in Claude Desktop's settings with the command npx mcp-remote and the SSE URL of your server.

What runtime or dependencies are required?

You need a Cloudflare account and Node.js for local development. The server runs on Cloudflare Workers; no additional authentication service is required.

评论

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