Remote MCP Server on Cloudflare
Cloudflare에서 원격 MCP 서버 구축하기 (인증 없음)
이 예제는 Cloudflare Workers에서 인증이 필요 없는 상태 비저장 원격 MCP 서버를 배포할 수 있도록 합니다. 일반적인 도구 호출에 대해 레거시 클라이언트와의 호환성을 유지하면서 MCP 2026-07-28 사양을 구현합니다.
시작하기:
이렇게 하면 MCP 서버가 remote-mcp-server-authless.<your-account>.workers.dev/mcp와 같은 URL에 배포됩니다.
또는 아래 명령줄을 사용하여 로컬 머신에 원격 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에 연결하기
Cloudflare AI Playground(원격 MCP 클라이언트)에서 MCP 서버에 연결할 수 있습니다:
배포된 MCP 서버 URL(
remote-mcp-server-authless.<your-account>.workers.dev/mcp)을 입력합니다.이제 플레이그라운드에서 MCP 도구를 직접 사용할 수 있습니다!
Claude Desktop을 MCP 서버에 연결하기
mcp-remote 프록시를 사용하여 로컬 MCP 클라이언트에서 원격 MCP 서버에 연결할 수도 있습니다.
Claude Desktop에서 MCP 서버에 연결하려면 Anthropic의 빠른 시작 가이드를 따르고 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
Related MCP Connectors
Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
Cloudflare Workers MCP server: agent-workflow-engine
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Cloudflare Workers MCP server: ai-model-router
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceDeploys a stateless, authentication-free remote MCP server on Cloudflare Workers, enabling custom tool registration and seamless connection from clients like Cloudflare AI Playground or Claude Desktop via mcp-remote.-
- FlicenseNot gradedqualityBmaintenanceDeploys a stateless remote MCP server on Cloudflare Workers without authentication, enabling MCP tool calls from clients like Claude Desktop and Cloudflare AI Playground.-
- FlicenseNot gradedqualityCmaintenanceDeploys a stateless remote MCP server on Cloudflare Workers without authentication, allowing custom tools to be registered and used from clients like Claude Desktop and the Cloudflare AI Playground.-
- FlicenseNot gradedqualityCmaintenanceDeploys a stateless remote MCP server on Cloudflare Workers without authentication. Enables tool use from clients like Claude Desktop and AI Playground.-