Remote MCP Server for Cloudflare
Создание удаленного сервера MCP на Cloudflare (без аутентификации)
В этом примере можно развернуть удаленный сервер MCP, не требующий аутентификации на рабочих узлах Cloudflare.
Начать:
Это развернет ваш сервер MCP по URL-адресу вида: remote-mcp-server-authless.<your-account>.workers.dev/sse
Кроме того, вы можете использовать командную строку ниже, чтобы создать удаленный сервер MCP на локальном компьютере:
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authlessRelated MCP server: Remote MCP Server Authless
Настройка вашего 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 перейдите в Настройки > Разработчик > Изменить конфигурацию.
Обновите с помощью этой конфигурации:
{
"mcpServers": {
"calculator": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/sse" // or remote-mcp-server-authless.your-account.workers.dev/sse
]
}
}
}Перезапустите Claude, и вы увидите, что инструменты стали доступны.
This server cannot be deployed
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Cloudflare Workers MCP server: ai-model-router
Cloudflare Workers MCP server: agent-workflow-engine
Cloudflare Workers MCP server: claude-skill-validator
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceA deployable MCP (Model Context Protocol) server on Cloudflare Workers that doesn't require authentication, allowing users to create and access custom AI tools through Claude Desktop or the Cloudflare AI Playground.-
- FlicenseNot gradedqualityCmaintenanceA deployable authentication-free MCP (Model Context Protocol) server on Cloudflare Workers that allows you to add custom tools and connect to AI clients like Claude Desktop or Cloudflare AI Playground.-
- FlicenseNot gradedqualityCmaintenanceA tool that deploys a remote Model Context Protocol (MCP) server on Cloudflare Workers without authentication requirements, allowing developers to add custom tools that can be accessed from Claude Desktop or the Cloudflare AI Playground.-
- -licenseNot gradedqualityNot gradedmaintenanceA Cloudflare Workers-based server that implements the Model Context Protocol (MCP), allowing AI assistants like Claude to access custom tools without authentication.1-