MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@narensr

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

narensr

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

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

This template lets you deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers without requiring authentication. It is for developers who need to expose MCP tools over Server-Sent Events (SSE) to remote clients like the Cloudflare AI Playground or local MCP clients such as 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. After deployment, the server is available at a URL like remote-mcp-server-authless.<your-account>.workers.dev/sse. Customize tools by editing src/index.ts and adding definitions inside the init() method using this.server.tool(...).

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

  • Deploy a remote MCP server on Cloudflare Workers without authentication.
  • Uses Server-Sent Events (SSE) as the transport protocol.
  • One-click deployment via the Cloudflare dashboard.
  • CLI-based creation using npm create cloudflare.
  • Easily add custom MCP tools in src/index.ts.
  • Compatible with the Cloudflare AI Playground and local MCP clients via mcp-remote.

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

  • Expose MCP tools to remote clients without implementing authentication.
  • Test MCP tools directly from Cloudflare AI Playground.
  • Connect Claude Desktop to a remote MCP server using the mcp-remote proxy.
  • Build and prototype serverless AI agent integrations.

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

What is the deployed endpoint URL?

After deployment, the server is available at remote-mcp-server-authless.<your-account>.workers.dev/sse.

How do I add custom tools to the MCP server?

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

How can I connect this server to Claude Desktop?

Use the mcp-remote proxy: run npx mcp-remote with your server URL and add the configuration in Claude Desktop’s claude_desktop_config.json.

Does this server require authentication?

No, it is specifically designed to be without authentication.

What are the runtime dependencies?

The server runs on Cloudflare Workers. To create the project locally, you need Node.js and npm (to run npm create cloudflare).

评论

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