MCP.so
登录

Remote MCP Server on Cloudflare

@kaeosdesign

关于 Remote MCP Server on Cloudflare

暂无概览

基本信息

分类

云与基础设施

运行时

node

传输方式

stdio

发布者

kaeosdesign

配置

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

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

工具

未检测到工具

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

概览

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

FAQ from Remote MCP Server on Cloudflare

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.

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.

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.

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.

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 服务器