Remote MCP Server on Cloudflare
@spontaneous-order
关于 Remote MCP Server on Cloudflare
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"remote-mcp-server-spontaneous-order": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Remote MCP Server on Cloudflare?
Remote MCP Server on Cloudflare is a starter template that deploys a Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It is designed for developers who need a remotely accessible MCP server that clients can connect to over the internet.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies with npm install, and run locally using npx nx dev remote-mcp-server. For production, create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add the namespace ID to wrangler.jsonc, then deploy with npm run deploy. Connect clients (MCP Inspector, Claude Desktop) to the /sse endpoint.
Key features of Remote MCP Server on Cloudflare
- OAuth login via browser for authentication.
- Local development with hot-reload via
npx nx dev. - Deploy to Cloudflare Workers with one command.
- Uses SSE transport for MCP communication.
- Compatible with MCP Inspector and Claude Desktop.
- Includes a local proxy (
mcp-remote) for Claude Desktop.
Use cases of Remote MCP Server on Cloudflare
- Host a custom MCP server accessible from any remote client.
- Integrate MCP tools with Claude Desktop over the internet.
- Test and debug MCP servers locally before deploying to production.
- Provide OAuth‑protected MCP endpoints for team collaboration.
FAQ from Remote MCP Server on Cloudflare
What transport does the server use?
The server uses Server‑Sent Events (SSE) for MCP communication. Clients connect to the /sse endpoint.
What dependencies are required to run this server?
You need Node.js, npm, a Cloudflare account, and the Workers CLI (wrangler). The server also requires a Cloudflare KV namespace (OAUTH_KV).
How is user authentication handled?
Authentication is handled via OAuth login. When connecting from a client, a browser window opens for the user to log in with an email and password (locally, any credentials are accepted).
Where are session data and credentials stored?
OAuth session data is stored in the Cloudflare KV namespace (OAUTH_KV) that you create during deployment. Local auth files may be cached in ~/.mcp-auth.
How can I debug connection issues?
You can test connectivity directly using npx mcp-remote http://localhost:8787/sse (or your deployed URL). If problems persist, restart Claude Desktop or clear the auth cache with rm -rf ~/.mcp-auth.
云与基础设施 分类下的更多 MCP 服务器
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.
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
Lambda MCP Server Demo (Streamable HTTP)
mikegc-awsCreates a simple MCP tool server with "streaming" HTTP.
container-use
daggerDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
AWS MCP Servers
awslabsOpen source MCP Servers for AWS
评论