MCP.so
登录

Remote MCP Server on Cloudflare

@kaeosdesign

基本信息

分类

云与基础设施

传输方式

stdio

作者

kaeosdesign

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

{
  "mcpServers": {
    "remote-mcp-server-kaeosdesign": {
      "command": "npx",
      "args": [
        "nx",
        "dev",
        "remote-mcp-server"
      ]
    }
  }
}

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

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

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

概览

What is Remote MCP Server on Cloudflare?

This project provides a template to run a remote Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to host MCP servers that can be accessed by AI clients like Claude Desktop over HTTP/SSE.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. For deployment, use npm run deploy after configuring a KV namespace. Connect clients like the MCP Inspector or Claude Desktop by pointing them to the server’s /sse endpoint. A local proxy (npx mcp-remote) is required for Claude Desktop.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with edge deployment
  • Includes OAuth login for secure access
  • Uses SSE (Server-Sent Events) transport
  • Works with MCP Inspector for testing
  • Works with Claude Desktop via a local proxy

Use cases of Remote MCP Server on Cloudflare

  • Hosting a remote math tool MCP server for AI assistants
  • Prototyping and testing MCP tools with the MCP Inspector
  • Deploying a persistent, cloud-hosted MCP server accessible from any MCP client

常见问题

1

How do I connect the MCP Inspector to the server?

Set the Transport Type to SSE and enter the server URL (e.g., `http://localhost:8787/sse`) in the inspector, then click Connect. You will be prompted with a login screen.

2

How do I connect Claude Desktop to a locally running server?

Add a configuration entry in Claude’s settings using `npx mcp-remote` with the local URL (e.g., `http://localhost:8787/sse`). Claude will open a browser for OAuth login.

3

How do I deploy the server to Cloudflare?

Use `npx wrangler kv namespace create OAUTH_KV`, add the namespace ID to `wrangler.jsonc`, then run `npm run deploy`.

4

Can I connect Claude Desktop to the deployed remote server?

Yes. Update the Claude configuration to point to the deployed Workers URL (e.g., `https://worker-name.account-name.workers.dev/sse`) and restart Claude.

5

What do I do if something goes wrong?

Restart Claude, or test the connection directly via `npx mcp-remote <URL>`. If needed, clear the local auth cache by running `rm -rf ~/.mcp-auth`.

评论

云与基础设施 分类下的更多 MCP 服务器