Cloudflare Remote MCP Server
Cloudflare에서 원격 MCP 서버 구축하기 (인증 없이)
이 예제를 사용하면 Cloudflare Workers에서 인증이 필요 없는 무상태(stateless) 원격 MCP 서버를 배포할 수 있습니다. 이 서버는 MCP 2026-07-28 사양을 구현하며, 일반적인 도구 호출에 대해서는 레거시 클라이언트와도 호환됩니다.
시작하기:
그러면 MCP 서버가 다음과 같은 URL로 배포됩니다: remote-mcp-server-authless.<your-account>.workers.dev/mcp
또는 아래 명령줄을 사용하여 로컬 머신에 원격 MCP 서버를 생성할 수도 있습니다:
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authlessRelated MCP server: remote-mcp-server-authless
MCP 서버 사용자 지정
MCP 서버에 자신만의 도구를 추가하려면 src/index.ts의 createServer() 함수에서 생성된 McpServer에 server.registerTool(...)을 사용하여 각 도구를 등록하세요.
Cloudflare AI Playground에 연결
원격 MCP 클라이언트인 Cloudflare AI Playground에서 MCP 서버에 연결할 수 있습니다:
배포된 MCP 서버 URL(
remote-mcp-server-authless.<your-account>.workers.dev/mcp)을 입력합니다.이제 플레이그라운드에서 MCP 도구를 바로 사용할 수 있습니다!
Claude Desktop을 MCP 서버에 연결
로컬 MCP 클라이언트에서도 mcp-remote 프록시를 사용하여 원격 MCP 서버에 연결할 수 있습니다.
Claude Desktop에서 MCP 서버에 연결하려면 Anthropic의 Quickstart를 따라 하고, Claude Desktop에서 설정 > 개발자 > 구성 편집으로 이동하세요.
다음 구성으로 업데이트하세요:
{
"mcpServers": {
"calculator": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/mcp" // or remote-mcp-server-authless.your-account.workers.dev/mcp
]
}
}
}Claude를 다시 시작하면 도구를 사용할 수 있게 됩니다.
This server cannot be deployed
Maintenance
Related MCP Connectors
Cloudflare Workers MCP server: ai-model-router
Cloudflare Workers MCP server: ai-gateway
Cloudflare Workers MCP server: ai-agent-scratchpad
Cloudflare Workers MCP server: agent-workflow-engine
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceDeploy a remote MCP server on Cloudflare Workers without authentication, enabling custom tool definitions and SSE-based connections to clients like Cloudflare AI Playground or Claude Desktop.-
- FlicenseNot gradedqualityCmaintenanceDeploy a stateless remote MCP server on Cloudflare Workers without authentication, enabling connection from clients like Claude Desktop and Cloudflare AI Playground to use registered tools.-
- FlicenseNot gradedqualityBmaintenanceEnables deployment of a stateless remote MCP server on Cloudflare Workers without authentication, allowing users to register custom tools and connect from clients like Cloudflare AI Playground and Claude Desktop.-
- FlicenseNot gradedqualityBmaintenanceDeploys a stateless remote MCP server on Cloudflare Workers that requires no authentication, allowing clients like AI Playground and Claude Desktop to connect and use custom tools.-