MCP.so
登录

Remote MCP Server on Cloudflare

@kentwalters

基本信息

分类

云与基础设施

传输方式

stdio

作者

kentwalters

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

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

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

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

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

概览

What is Remote MCP Server on Cloudflare?

A starter project to deploy a remote Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It enables AI clients like Claude Desktop to securely invoke tools over HTTP/SSE.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with npm install, run locally using npx nx dev remote-mcp-server, then configure the MCP Inspector or Claude Desktop to connect to http://localhost:8787/sse. Deploy with npm run deploy after creating a KV namespace.

Key features of Remote MCP Server on Cloudflare

  • Runs as a Cloudflare Worker with OAuth authentication
  • Supports local development and remote deployment
  • Connects to MCP Inspector and Claude Desktop via SSE
  • Uses a KV store for OAuth state management
  • Includes a mock login for local testing

Use cases of Remote MCP Server on Cloudflare

  • Building and testing a remote MCP server locally before deploying
  • Connecting Claude Desktop to custom tools hosted on Cloudflare Workers
  • Providing OAuth-protected tool access for AI assistants

常见问题

1

What dependencies are required?

Node.js and npm are needed for local development. The Cloudflare Workers runtime handles deployment; no additional server infrastructure is required.

2

How does authentication work?

The server includes OAuth login. Locally a mock login screen accepts any email/password. In production, OAuth flows are handled by Cloudflare Workers and the KV store.

3

Can I use this with the MCP Inspector?

Yes. Set transport type to `SSE` and enter the server’s SSE URL (e.g., `http://localhost:8787/sse` locally, or the workers.dev URL after deployment).

4

How do I connect Claude Desktop?

Edit the Claude Desktop config file to use `npx mcp-remote <url>/sse` as the command and args. A browser window will open for authentication.

5

Where is OAuth state stored?

In a Cloudflare Workers KV namespace named `OAUTH_KV` that you create with `npx wrangler kv namespace create OAUTH_KV`.

评论

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