MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@sxjeru

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

sxjeru

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

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

This example deploys a remote MCP (Model Context Protocol) server on Cloudflare Workers without requiring authentication. It is intended for developers who want a quick, unauthenticated remote MCP server for testing or tool prototyping.

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

Deploy via the provided "Deploy to Workers" button or using the CLI command npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools by editing src/index.ts inside the init() method with this.server.tool(...). Connect from Cloudflare AI Playground by entering the deployed URL, or from local clients like Claude Desktop via the mcp-remote proxy configured in the VS Code settings.

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

  • Deploy to Cloudflare Workers with one click or CLI.
  • No authentication required for the MCP server.
  • Add custom tools by modifying the server code.
  • Connect from remote MCP clients (e.g., AI Playground, Claude Desktop).
  • Uses Server‑Sent Events (SSE) transport.

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

  • Rapidly prototyping MCP tools without setting up authentication.
  • Testing MCP integration from Cloudflare’s AI Playground.
  • Connecting a remote MCP server to a local client like Claude Desktop.
  • Learning how to deploy and customize an MCP server on Cloudflare Workers.

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

How do I deploy this server?

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

How do I add custom tools to the server?

Edit the src/index.ts file and define each tool inside the init() method 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.<account>.workers.dev/sse), and start using the tools.

How do I connect from Claude Desktop?

Use the mcp-remote package as a proxy. In Claude Desktop’s developer settings, add an MCP server with command npx mcp-remote <your-server-url>.

Does this server require authentication?

No, this example deploys a remote MCP server that does not require authentication, as indicated by the "Without Auth" in its name.

评论

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