remote-mcp-server-gemini
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: claude-spx-mcp
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의 Quickstart를 따라 Claude Desktop에서 Settings > Developer > Edit Config로 이동하세요.
다음 구성으로 업데이트하세요:
{
"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
Cloudflare Workers MCP server: ai-model-router
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Cloudflare Workers MCP server: agent-workflow-engine
Cloudflare Workers MCP server: form-backend
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceDeploys a stateless remote MCP server on Cloudflare Workers without authentication, supporting the MCP 2026-07-28 specification and custom tool registration.-
- FlicenseNot gradedqualityCmaintenanceEnables deploying a stateless remote MCP server on Cloudflare Workers without authentication, implementing the MCP 2026-07-28 specification and compatible with legacy clients for tool calls.-
- FlicenseNot gradedqualityCmaintenanceEnables deployment of a stateless remote MCP server on Cloudflare Workers, allowing custom tools to be registered and accessed through MCP clients without requiring authentication.-
- FlicenseNot gradedqualityCmaintenanceEnables deploying a stateless remote MCP server on Cloudflare Workers without authentication, allowing custom tools to be accessed from remote MCP clients and local clients via mcp-remote.-