Remote MCP Server on Cloudflare
@threepointone
关于 Remote MCP Server on Cloudflare
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"remote-mcp-server": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Remote MCP Server on Cloudflare?
Remote MCP Server on Cloudflare is a guide and codebase for deploying a Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login. It enables you to run MCP tools remotely and connect clients such as Claude Desktop or the MCP Inspector.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Deploy to Cloudflare with npm run deploy after setting up a KV namespace. Connect clients by pointing them to the server’s SSE endpoint (e.g., http://localhost:8787/sse locally or https://worker-name.account-name.workers.dev/sse after deployment). Use the MCP Inspector with SSE transport, or configure Claude Desktop by adding an mcp-remote entry in its configuration file.
Key features of Remote MCP Server on Cloudflare
- Deploys on Cloudflare Workers for global availability
- Includes OAuth login flow with mock login locally
- Uses SSE (Server-Sent Events) transport
- Supports local development and debugging
- Provides step-by-step deployment instructions
- Can be connected to Claude Desktop via a local proxy
Use cases of Remote MCP Server on Cloudflare
- Deploying custom MCP tools accessible over the internet
- Connecting Claude Desktop to a remote MCP server with authentication
- Testing MCP tools locally before production deployment
- Building and sharing MCP tools with OAuth-based access control
FAQ from Remote MCP Server on Cloudflare
What are the runtime and dependency requirements?
Requires Node.js, npm, and a Cloudflare account for deployment. For local development, clone the repo and run npm install.
How does authentication work?
Locally, a mock login screen accepts any email and password. When deployed, OAuth is used with tokens stored in a Cloudflare KV namespace named OAUTH_KV.
What transport protocol does the server use?
The server uses SSE (Server-Sent Events) over HTTP. Clients connect to the /sse endpoint.
How do I connect Claude Desktop to the remote server?
Add an entry to Claude Desktop’s configuration file using the mcp-remote command pointing to the server’s SSE URL (e.g., https://worker-name.account-name.workers.dev/sse). A browser window will open for login.
Where are OAuth tokens stored?
Tokens are stored in a Cloudflare KV namespace (OAUTH_KV) that must be created and linked to the Worker before deployment.
云与基础设施 分类下的更多 MCP 服务器
AWS MCP Servers
awslabsOpen source MCP Servers for AWS
Query | MCP server for Supabase
alexander-zuevQuery MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning, access to logs and much more.
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.
Mcp K8s Go
strowkMCP server connecting to Kubernetes
Sample Serverless MCP Servers
aws-samplesSample implementations of AI Agents and MCP Servers running on AWS Serverless compute
评论