MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@piyushgithub15

基本信息

分类

开发工具

传输方式

stdio

作者

piyushgithub15

关于 Building a Remote MCP Server on Cloudflare

暂无概览

Building a Remote MCP Server on Cloudflare 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8787/sse"
      ]
    }
  }
}

Building a Remote MCP Server on Cloudflare 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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

It is an example that deploys a remote MCP server without authentication on Cloudflare Workers. It is intended for developers who want to create MCP endpoints for AI agents and tools.

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

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

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

  • Deploy remote MCP server on Cloudflare Workers
  • No authentication required
  • Customize tools in src/index.ts
  • Connect from Cloudflare AI Playground
  • Connect from Claude Desktop via mcp-remote proxy

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

  • Build remote MCP endpoints for AI agents
  • Integrate custom tools with Cloudflare Workers
  • Connect MCP server to Claude Desktop or AI Playground

常见问题

1

Do I need authentication?

No, this example deploys a remote MCP server that does not require authentication.

2

How do I deploy the server?

Use the "Deploy to Workers" button or run `npm create cloudflare` with the specified template.

3

How do I add my own tools?

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

4

How can I test the server remotely?

Connect from Cloudflare AI Playground by entering your deploy URL, or use the `mcp-remote` proxy to connect from Claude Desktop.

5

What protocol does the server use?

The server uses SSE (Server-Sent Events), as indicated by the `/sse` endpoint in the deploy URL.

评论

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