MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@simonberner

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

Demo of a remote deployed MCP Server

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

simonberner

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

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

This is a template for deploying a remote MCP server on Cloudflare Workers that does not require authentication. It allows users to add custom tools and connect clients such as Cloudflare AI Playground or local MCP clients via an SSE endpoint.

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 using this.server.tool(...). Connect to the server from Cloudflare AI Playground or configure a local client using the mcp-remote proxy.

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

  • Deploy without authentication on Cloudflare Workers.
  • Server uses SSE transport at <account>.workers.dev/sse.
  • Tools defined with zod schemas inside init() method.
  • Connect directly from Cloudflare AI Playground.
  • Use mcp-remote proxy to connect from local stdio clients.
  • One‑click deployment via Workers button.

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

  • Expose AI tools from a Cloudflare Worker as a remote MCP server.
  • Test MCP tools interactively in Cloudflare AI Playground without a local client.
  • Bridge local MCP clients that only support stdio to a remote SSE server.
  • Quickly prototype and share MCP servers without worrying about authentication.

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

How do I deploy this MCP server?

Use 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 tools?

Define each tool inside the init() method of src/index.ts using this.server.tool(...) with zod schemas for argument validation.

How can I connect from Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/ and enter the deployed server URL such as remote-mcp-server-authless.<your-account>.workers.dev/sse.

How can I connect a local MCP client to this remote server?

Configure your client to use npx -y mcp-remote with the SSE URL, or use the mcp-remote proxy if the client only supports stdio transport.

Does this server require authentication?

No, the server is explicitly built without authentication as stated in the title.

评论

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