Remote MCP Server on Cloudflare
@MichaelYangjson
关于 Remote MCP Server on Cloudflare
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"remote-mcp-server-michaelyangjson": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Remote MCP Server on Cloudflare?
A starter project that runs a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It provides a template for developers to deploy, test, and connect MCP tools to clients such as Claude Desktop or the MCP Inspector over SSE transport.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies with npm install, and run locally via npx nx dev remote-mcp-server. Use the MCP Inspector or Claude Desktop (with npx mcp-remote) to connect to the server. Deploy to Cloudflare by creating an OAUTH_KV namespace with wrangler and running npm run deploy.
Key features of Remote MCP Server on Cloudflare
- Runs on Cloudflare Workers with OAuth-based login
- Supports SSE transport for MCP clients
- Includes local development and debugging instructions
- Integrates with the MCP Inspector for testing
- Connects directly to Claude Desktop via a remote proxy
- Provides a deployable server accessible at a workers.dev URL
Use cases of Remote MCP Server on Cloudflare
- Hosting custom MCP tools accessible from any MCP client over the internet
- Developing and testing MCP integrations locally before deploying to Cloudflare
- Enabling Claude Desktop to call remote tools through an authenticated SSE endpoint
- Learning how to build and deploy a remote MCP server with OAuth flow
FAQ from Remote MCP Server on Cloudflare
How do I run the server locally?
Clone the repository, run npm install, and then execute npx nx dev remote-mcp-server. The server will be available at http://localhost:8787/.
How can I test the server with the MCP Inspector?
Start the inspector with npx @modelcontextprotocol/inspector, switch transport to SSE, and enter http://localhost:8787/sse (or your workers.dev URL after deploy) as the server URL. You will be redirected to a login screen before you can list and call tools.
How do I connect Claude Desktop to the remote server?
Add an entry to Claude Desktop's config file with command npx, args ["mcp-remote", "https://worker-name.account-name.workers.dev/sse"]. Restart Claude; a browser window will open for OAuth login.
What happens if something goes wrong?
Restart Claude, or test the connection manually with npx mcp-remote http://localhost:8787/sse. In rare cases, clear the auth cache by deleting ~/.mcp-auth.
What runtime or dependencies are required?
Node.js and npm. For deployment, a Cloudflare account and npx wrangler are needed to create the OAUTH_KV namespace and deploy the Worker.
云与基础设施 分类下的更多 MCP 服务器
Mcp K8s Go
strowkMCP server connecting to Kubernetes
MCP Server that interacts with Azure AI Foundry (experimental)
azure-ai-foundryA MCP Server for Azure AI Foundry: it's now moved to cloud, check the new Foundry MCP Server
🐋 Docker MCP server
ckreilingMCP server for Docker
AWS MCP Servers
awslabsOpen source MCP Servers for AWS
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.
评论