MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@momput

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

momput

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

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

This example allows you to deploy a remote MCP (Model Context Protocol) server that requires no authentication on Cloudflare Workers. It is intended for developers who want to quickly spin up a remote MCP server for testing, prototyping, or connecting to MCP clients like the Cloudflare AI Playground or Claude Desktop.

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

Deploy using the “Deploy to Workers” button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. After deployment, customize the server by adding tools inside the init() method of src/index.ts using this.server.tool(...). The server URL will be remote-mcp-server-authless.<your-account>.workers.dev/sse.

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

  • No authentication required for the MCP server
  • Deployable with one click or command line
  • Fully customizable tools via this.server.tool()
  • Connects to Cloudflare AI Playground as a remote MCP client
  • Compatible with local MCP clients via the mcp-remote proxy

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

  • Rapidly testing MCP tools without setting up local infrastructure
  • Integrating MCP tools with the Cloudflare AI Playground for interactive experimentation
  • Connecting Claude Desktop to a remote MCP server using the mcp-remote proxy
  • Providing a public, stateless MCP server for internal or demonstration purposes

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

How do I deploy this MCP server?

Click the “Deploy to Workers” button or run npm create cloudflare@latest with the provided template to create a local project and deploy it to Cloudflare Workers.

How do I add custom tools to the server?

Define each tool inside the init() method of src/index.ts using this.server.tool(...). Refer to the Cloudflare AI documentation on MCP tools for details.

How do I connect to the Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed MCP server URL (remote-mcp-server-authless.<your-account>.workers.dev/sse), and you can use your tools directly from the playground.

How do I connect Claude Desktop to this MCP server?

Install the mcp-remote proxy (npx mcp-remote) and add a configuration entry in Claude Desktop’s developer settings that points to your MCP server’s SSE endpoint. Restart Claude to see the tools.

评论

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