MCP.so
登录

Remote MCP Server on Cloudflare

@pravarcoder

基本信息

分类

云与基础设施

传输方式

stdio

作者

pravarcoder

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

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

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

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

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

概览

What is Remote MCP Server on Cloudflare?

A reference implementation for running a remote Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to expose MCP tools over the internet with authentication.

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 by creating a KV namespace (npx wrangler kv namespace create OAUTH_KV), updating wrangler.jsonc, and running npm run deploy.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers for global, serverless deployment.
  • Includes OAuth login for secure tool access.
  • Supports local development with Hot Module Replacement.
  • Easily connectable via MCP Inspector (SSE transport).
  • Compatible with Claude Desktop using mcp-remote proxy.
  • Provides a fully remote, authenticated MCP endpoint.

Use cases of Remote MCP Server on Cloudflare

  • Deploying a public MCP math tool for AI assistants.
  • Building custom MCP servers with OAuth-protected endpoints.
  • Prototyping and testing MCP tools locally before deploying to production.

常见问题

1

What dependencies or runtime are required?

Node.js and npm for local development; a Cloudflare account with Wrangler CLI for deployment. The server runs on the Cloudflare Workers runtime.

2

How does authentication work?

The server implements OAuth login via a browser redirect. A mock login screen is used in local development; for production, OAuth provider configuration would be needed.

3

Where does user or session data live?

Session/authentication data is stored in a Cloudflare Workers KV namespace (`OAUTH_KV`) created during deployment.

4

What transport does the server use?

It uses Server-Sent Events (SSE) for the MCP transport, accessed at the `/sse` endpoint.

评论

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