Remote MCP Server on Cloudflare
@cyyzpanpan
关于 Remote MCP Server on Cloudflare
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"remote-mcp-server-cyyzpanpan": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Remote MCP Server on Cloudflare?
A project that helps you set up a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It is intended for developers who want to host MCP tools remotely and connect them to MCP clients like Claude Desktop.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies with npm install, then run locally with npx nx dev remote-mcp-server. Use the MCP Inspector (npx @modelcontextprotocol/inspector) with SSE transport at http://localhost:8787/sse to test tools. Deploy with npm run deploy after creating a KV namespace (npx wrangler kv namespace create OAUTH_KV) and adding the namespace ID to wrangler.jsonc. Connect Claude Desktop by adding a mcp-remote entry pointing to your workers.dev URL.
Key features of Remote MCP Server on Cloudflare
- OAuth login for secure access to tools
- Runs on Cloudflare Workers for global scalability
- Communicates via SSE (Server-Sent Events)
- Compatible with MCP Inspector and Claude Desktop
- Local development with hot reload support
- Simple deployment with Wrangler CLI
Use cases of Remote MCP Server on Cloudflare
- Hosting MCP tools that require remote access
- Connecting Claude Desktop to a server running on Cloudflare
- Testing MCP endpoints locally with the official Inspector
- Deploying a scalable, authenticated MCP server for team use
FAQ from Remote MCP Server on Cloudflare
What transport does this server use?
The server uses SSE (Server-Sent Events) as the transport protocol.
How do I connect Claude Desktop to the remote server?
Update your Claude Desktop configuration file (claude_desktop_config.json) with an entry that uses npx mcp-remote and the workers.dev URL (e.g., https://worker-name.account-name.workers.dev/sse).
How can I debug connection issues?
Restart Claude, try connecting via npx mcp-remote http://localhost:8787/sse on the command line, or clear authentication files with rm -rf ~/.mcp-auth.
What are the runtime dependencies?
You need Node.js, npm, and a Cloudflare account. Locally, you also need npx and Wrangler CLI for deployment. The server uses a Cloudflare Workers KV namespace for OAuth state.
How does authentication work?
During local development, a mock login screen is presented (any email and password work). In production, OAuth login is handled via the browser when connecting through the MCP Inspector or Claude Desktop.
云与基础设施 分类下的更多 MCP 服务器
🐋 Docker MCP server
ckreilingMCP server for Docker
Awesome DevOps MCP Servers
rohitg00A curated list of awesome MCP servers focused on DevOps tools and capabilities.
AWS Model Context Protocol (MCP) Server
alexei-ledA lightweight service that enables AI assistants to execute AWS CLI commands (in safe containerized environment) through the Model Context Protocol (MCP). Bridges Claude, Cursor, and other MCP-aware AI tools with AWS CLI for enhanced cloud infrastructure management.
MCP Gateway
mcp-ecosystem🧩 MCP Gateway - A lightweight gateway service that instantly transforms existing MCP Servers and APIs into MCP servers with zero code changes. Features Docker deployment and management UI, requiring no infrastructure modifications.
Terraform MCP Server
hashicorpThe Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.
评论