MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@shankarpriyank

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

shankarpriyank

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

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

This example lets you deploy a remote MCP server on Cloudflare Workers without requiring authentication. It is a template for developers who want to quickly create and host a remote MCP server with custom tools.

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

Deploy by clicking the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools in src/index.ts inside the init() method using this.server.tool(...). Connect to the server from Cloudflare AI Playground by entering the deployed URL, or from Claude Desktop via the mcp-remote proxy with the server’s SSE endpoint.

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

  • Deploy a remote MCP server without any authentication.
  • Built on Cloudflare Workers for fast, global deployment.
  • Add your own custom tools using the server.tool() method.
  • Connect directly from Cloudflare AI Playground (remote MCP client).
  • Works with local MCP clients via the mcp-remote proxy.

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

  • Quickly prototyping a remote MCP server without authentication overhead.
  • Hosting tools accessible from Cloudflare’s AI Playground for testing.
  • Exposing MCP tools to local clients like Claude Desktop using mcp-remote.

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

How do I deploy the MCP server?

Use the “Deploy to Workers” button linked in the README, or run the provided npm create cloudflare command with the template.

How do I add my own tools?

Edit the src/index.ts file and define each tool inside the init() method using this.server.tool(...).

How do I connect to Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed MCP server URL (ending with /sse), and start using your tools.

How do I connect Claude Desktop to the server?

Install the mcp-remote package, then configure Claude Desktop’s MCP settings to point to your server’s SSE endpoint using the command npx mcp-remote <url>.

Does the MCP server require authentication?

No, this example explicitly deploys a remote MCP server without any authentication.

评论

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