Создание удаленного сервера MCP на Cloudflare (без аутентификации)
В этом примере можно развернуть удаленный сервер MCP, не требующий аутентификации на рабочих узлах Cloudflare.
Начать:
Это развернет ваш сервер MCP по URL-адресу вида: remote-mcp-server-authless.<your-account>.workers.dev/sse
Кроме того, вы можете использовать командную строку ниже, чтобы создать удаленный сервер MCP на локальном компьютере:
Настройка вашего MCP-сервера
Чтобы добавить собственные инструменты на сервер MCP, определите каждый инструмент внутри метода init()
src/index.ts
с помощью this.server.tool(...)
.
Подключитесь к Cloudflare AI Playground
Вы можете подключиться к своему серверу MCP из Cloudflare AI Playground, который является удаленным клиентом MCP:
- Перейдите по ссылке https://playground.ai.cloudflare.com/
- Введите URL-адрес развернутого сервера MCP (
remote-mcp-server-authless.<your-account>.workers.dev/sse
) - Теперь вы можете использовать инструменты MCP прямо с игровой площадки!
Подключите Claude Desktop к вашему серверу MCP
Вы также можете подключиться к удаленному серверу MCP с локальных клиентов MCP, используя прокси-сервер mcp-remote .
Чтобы подключиться к серверу MCP из Claude Desktop, следуйте краткому руководству Anthropic и в Claude Desktop перейдите в Настройки > Разработчик > Изменить конфигурацию.
Обновите с помощью этой конфигурации:
Перезапустите Claude, и вы увидите, что инструменты стали доступны.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Сервер контекстного протокола модели на базе Cloudflare Workers, который можно развернуть без требований аутентификации, что позволяет пользователям создавать собственные инструменты ИИ, доступные из Cloudflare AI Playground или Claude Desktop.
Related MCP Servers
- -security-license-qualityA Cloudflare Workers-based Model Context Protocol server without authentication requirements, allowing users to deploy and customize AI tools that can be accessed from Claude Desktop or Cloudflare AI Playground.Last updated -TypeScript
- -securityFlicense-qualityA deployable Model Context Protocol server on Cloudflare Workers that enables custom AI tools without requiring authentication, compatible with Cloudflare AI Playground and Claude Desktop.Last updated -TypeScript
- -securityFlicense-qualityA deployable server on Cloudflare Workers that provides Model Context Protocol tools without requiring authentication, allowing easy integration with AI models like Claude Desktop and the Cloudflare AI Playground.Last updated -TypeScript
- -securityFlicense-qualityA Cloudflare Workers-based server for deploying Model Context Protocol tools without authentication, allowing integration with AI assistants like Claude Desktop and the Cloudflare AI Playground.Last updated -TypeScript