MCP.so
登录

Remote MCP Server on Cloudflare

@pravarcoder

关于 Remote MCP Server on Cloudflare

暂无概览

基本信息

分类

云与基础设施

运行时

node

传输方式

stdio

发布者

pravarcoder

配置

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

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

工具

未检测到工具

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

概览

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.

FAQ from Remote MCP Server on Cloudflare

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.

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.

Where does user or session data live?

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

What transport does the server use?

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

Are there any known limits?

评论

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