MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@aiwithbenefits

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

暂无概览

基本信息

分类

云与基础设施

运行时

node

传输方式

stdio

发布者

aiwithbenefits

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

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

This example enables you to deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers that does not require authentication. It provides a starting template for creating your own remote MCP server with custom tools.

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

You can deploy the server directly via the "Deploy to Workers" button from the README, or by running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless in your terminal. Customize tools by editing the init() method in src/index.ts using this.server.tool(...). Connect to the server from Cloudflare AI Playground by entering the SSE URL, or from Claude Desktop using the mcp-remote proxy.

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

  • Deployable to Cloudflare Workers with no authentication required.
  • SSE endpoint accessible via a public URL.
  • Custom tools can be added by editing src/index.ts.
  • Provides a ready-to-use template for remote MCP servers.
  • Integrates with Cloudflare AI Playground and local MCP clients.

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

  • Hosting a public remote MCP server for testing or development.
  • Integrating custom AI tools from Cloudflare AI Playground.
  • Connecting Claude Desktop to a remote MCP server via the mcp-remote proxy.

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

How do I deploy the server?

You can deploy using the "Deploy to Workers" button or by running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless from the command line.

How do I add custom tools?

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

How do I connect from Cloudflare AI Playground?

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

How do I connect from Claude Desktop?

Use the mcp-remote proxy. Add a configuration entry to Claude Desktop that uses npx mcp-remote <your-server-url>.

What URL does the server use?

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

评论

云与基础设施 分类下的更多 MCP 服务器