MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@vishnukmurthy

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

vishnukmurthy

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

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

This example shows how to deploy a remote Model Context Protocol (MCP) server that requires no authentication on Cloudflare Workers. It is intended for developers who want to expose MCP tools over the internet without adding an auth layer.

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

Click the "Deploy to Workers" button to deploy directly, or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless to set up locally. After deployment, customize tools by editing src/index.ts. Connect to the server from the Cloudflare AI Playground or from local clients like Claude Desktop using the mcp-remote npm proxy package.

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

  • Deploy a remote MCP server on Cloudflare Workers.
  • No authentication required for client connections.
  • Add custom MCP tools by editing src/index.ts.
  • Connect directly from Cloudflare AI Playground.
  • Use with Claude Desktop via the mcp-remote proxy.

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

  • Quickly prototype and share MCP tools without setting up authentication.
  • Connect MCP tools to cloud-based AI clients like Cloudflare AI Playground.
  • Run remote MCP tools from local desktop clients (e.g., Claude Desktop) using a proxy.
  • Build and test custom MCP tool suites on a serverless platform.

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

How do I deploy this MCP server?

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

How do I add my own 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 start using the tools directly.

How do I connect Claude Desktop to this server?

Install the mcp-remote npm package, then add a configuration entry in Claude Desktop's settings that runs npx mcp-remote <your-sse-url>. Restart Claude to see the tools.

Does the server require authentication?

No. This example is deliberately built without authentication to simplify remote deployment and testing.

评论

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