Remote MCP Server on Cloudflare
Создание удаленного 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-инструменты прямо из игровой площадки!
Подключение 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 installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceDeploys a remote MCP server on Cloudflare Workers without authentication, allowing custom tool definitions and connection from MCP clients like Claude Desktop via SSE.
- Alicense-qualityCmaintenanceDeploys a remote MCP server on Cloudflare Workers without authentication, allowing custom tool definitions and SSE endpoint for integration with MCP clients like AI Playground or Claude Desktop.283MIT
- Flicense-qualityCmaintenanceDeploys 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.
- Flicense-qualityCmaintenanceDeploy a stateless remote MCP server on Cloudflare Workers without authentication. Supports custom tools and connects to MCP clients like Claude Desktop via mcp-remote proxy.
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Cloudflare Workers MCP server: crypto-signal
Hosted remote MCP server for YNAB on Cloudflare Workers with OAuth
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/prashil1996/remote-mcp-server-authless'
If you have feedback or need assistance with the MCP directory API, please join our Discord server