MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@LMJayasundara

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

暂无概览

配置

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

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

工具

未检测到工具

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

概览

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

This example deploys a remote MCP server on Cloudflare Workers that does not require authentication. It is intended for developers who want a quick, publicly accessible MCP endpoint for testing or local client integration.

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

Click the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless to create and deploy the server. The server URL will be remote-mcp-server-authless.<your-account>.workers.dev/sse. Customize tools inside the init() method of src/index.ts using this.server.tool(...).

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

  • Deploy a remote MCP server without authentication.
  • Built on Cloudflare Workers for global edge deployment.
  • Customizable tools defined in src/index.ts.
  • Connects to Cloudflare AI Playground as a remote MCP client.
  • Works with local clients via the mcp-remote proxy.
  • Single‑click deployment from the provided button.

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

  • Quickly test MCP tools from the Cloudflare AI Playground.
  • Integrate a remote MCP server with Claude Desktop using the mcp-remote proxy.
  • Prototype and experiment with MCP without setting up auth infrastructure.

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

How do I deploy the 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 my own tools?

Inside the init() method of src/index.ts, define each tool using this.server.tool(...). See the Cloudflare MCP tools documentation for details.

How do I connect from the Cloudflare AI Playground?

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

How do I connect from Claude Desktop?

Install the mcp-remote npm package, then add a configuration entry in Claude Desktop’s settings pointing npx mcp-remote to your server’s SSE URL.

Does the server require any authentication?

No. This example intentionally deploys the MCP server without authentication.

常见问题

How do I deploy the 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 my own tools?

Inside the `init()` method of `src/index.ts`, define each tool using `this.server.tool(...)`. See the Cloudflare MCP tools documentation for details.

How do I connect from the Cloudflare AI Playground?

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

How do I connect from Claude Desktop?

Install the `mcp-remote` npm package, then add a configuration entry in Claude Desktop’s settings pointing `npx mcp-remote` to your server’s SSE URL.

Does the server require any authentication?

No. This example intentionally deploys the MCP server without authentication.

评论

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