MCP.so
登录

Remote MCP Server on Cloudflare

@vikashsingh15

关于 Remote MCP Server on Cloudflare

暂无概览

基本信息

分类

云与基础设施

传输方式

stdio

发布者

vikashsingh15

配置

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

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

工具

未检测到工具

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

概览

What is Remote MCP Server on Cloudflare?

Remote MCP Server on Cloudflare is a template for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It is for developers who want to host MCP tools and connect them from clients like the MCP Inspector or Claude Desktop.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Connect the MCP Inspector using SSE transport to http://localhost:8787/sse. For Claude Desktop, add a configuration entry using npx mcp-remote pointing to the local or deployed /sse endpoint. Deploy to Cloudflare by creating a KV namespace, updating wrangler.jsonc, and running npm run deploy.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with OAuth login
  • Local development with MCP Inspector support
  • Connect Claude Desktop via the mcp-remote proxy
  • Deploy to Cloudflare with a workers.dev URL
  • Uses SSE transport for client-server communication

Use cases of Remote MCP Server on Cloudflare

  • Develop and test MCP tools locally before deploying
  • Deploy a remote MCP server accessible from any client
  • Integrate custom MCP tools with Claude Desktop
  • Explore and test MCP tool APIs using the MCP Inspector

FAQ from Remote MCP Server on Cloudflare

How do I develop locally?

Clone the repo, run npm install, then start the server with npx nx dev remote-mcp-server. It listens on http://localhost:8787/.

How do I connect the MCP Inspector?

Open the Inspector, set Transport Type to SSE, enter http://localhost:8787/sse as the URL, and connect. Log in with any email and password.

How do I connect Claude Desktop to the server?

In the Claude Desktop config file, add an entry with "command": "npx" and "args": ["mcp-remote", "http://localhost:8787/sse"] (or the deployed URL). A browser window opens for OAuth login.

How do I deploy to Cloudflare?

Create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add its ID to wrangler.jsonc, then run npm run deploy. The server is available at your workers.dev URL.

How do I debug connection issues?

Restart Claude or try npx mcp-remote http://localhost:8787/sse on the command line. Clear ~/.mcp-auth if needed to reset OAuth state.

评论

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