MCP.so
登录

Remote MCP Server on Cloudflare

@younggeeks

关于 Remote MCP Server on Cloudflare

暂无概览

基本信息

分类

云与基础设施

运行时

node

传输方式

stdio

发布者

younggeeks

配置

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

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

工具

未检测到工具

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

概览

What is Remote MCP Server on Cloudflare?

A template for running a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It provides local development, deployment, and integration with MCP clients like Claude Desktop and the MCP Inspector.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with npm install, and run locally with npx nx dev remote-mcp-server. Deploy to Cloudflare using npx wrangler kv namespace create OAUTH_KV and npm run deploy. Connect clients by pointing them to the server’s /sse endpoint.

Key features of Remote MCP Server on Cloudflare

  • Run an MCP server with OAuth login
  • Develop locally with hot reload
  • Deploy to Cloudflare Workers
  • Connect via SSE transport
  • Integrate with MCP Inspector tool
  • Connect Claude Desktop as a remote MCP client

Use cases of Remote MCP Server on Cloudflare

  • Building and testing a custom MCP server locally
  • Providing a remote MCP endpoint for AI assistants
  • Deploying a secure OAuth-protected MCP server in production
  • Connecting Claude Desktop to a remote MCP server

FAQ from Remote MCP Server on Cloudflare

How do I develop the server locally?

Clone the repo, run npm install, then npx nx dev remote-mcp-server. Open http://localhost:8787/ in your browser.

How do I connect the MCP Inspector to my server?

Start the inspector with npx @modelcontextprotocol/inspector, set Transport Type to SSE, and enter http://localhost:8787/sse as the URL. You’ll be redirected to a mock login screen.

How do I connect Claude Desktop to my local server?

Edit Claude Desktop’s configuration file and add an entry with "command": "npx", "args": ["mcp-remote", "http://localhost:8787/sse"]. A browser window will open for login.

How do I deploy the server to Cloudflare?

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

What should I do if something goes wrong?

Restart Claude, try connecting via command line with npx mcp-remote http://localhost:8787/sse, or clear ~/.mcp-auth with rm -rf ~/.mcp-auth.

评论

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