claude-spx-mcp
Создание удалённого MCP-сервера на Cloudflare (без аутентификации)
Этот пример позволяет развернуть удалённый MCP-сервер без сохранения состояния, не требующий аутентификации, на Cloudflare Workers. Он реализует спецификацию 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-сервер, зарегистрируйте каждый инструмент на McpServer, созданном в функции createServer() в src/index.ts, с помощью server.registerTool(...).
Подключение к Cloudflare AI Playground
Вы можете подключиться к вашему MCP-серверу из Cloudflare AI Playground, который является удалённым MCP-клиентом:
Перейдите на https://playground.ai.cloudflare.com/
Введите URL-адрес вашего развёрнутого MCP-сервера (
remote-mcp-server-authless.<your-account>.workers.dev/mcp)Теперь вы можете использовать свои MCP-инструменты прямо из Playground!
Подключение Claude Desktop к вашему MCP-серверу
Вы также можете подключиться к вашему удалённому MCP-серверу из локальных MCP-клиентов, используя прокси mcp-remote.
Чтобы подключиться к вашему MCP-серверу из Claude Desktop, следуйте краткому руководству Anthropic и в 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
Maintenance
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 gradedqualityCmaintenanceDeploys a stateless remote MCP server on Cloudflare Workers without authentication, supporting the MCP 2026-07-28 specification and custom tool registration.-
- FlicenseNot gradedqualityCmaintenanceDeploy a stateless remote MCP server on Cloudflare Workers without authentication, enabling tool calls via MCP protocol.-
- FlicenseNot gradedqualityCmaintenanceDeploy a stateless remote MCP server on Cloudflare Workers without authentication, enabling remote tool calls via the MCP protocol.-
- FlicenseNot gradedqualityCmaintenanceDeploys a stateless remote MCP server on Cloudflare Workers that requires no authentication, enabling tool calls from remote MCP clients while remaining compatible with legacy clients.-