Remote MCP Server Authless
Создание удаленного сервера 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
Cloudflare Workers MCP server: ai-model-router
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Cloudflare Workers MCP server: ai-gateway
9 remote MCP servers on Cloudflare Workers for AI agents. Free tier + Pro API keys.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA tool for deploying a remote Model Context Protocol server on Cloudflare Workers without authentication requirements, allowing users to create custom AI tools accessible from Claude Desktop or Cloudflare AI Playground.-
- FlicenseDqualityDmaintenanceA tool for deploying an authentication-free Model Context Protocol server on Cloudflare Workers that can be connected to AI clients like Claude Desktop or the Cloudflare AI Playground.2-
- FlicenseNot gradedqualityCmaintenanceA tool that deploys an authentication-free Model Context Protocol server on Cloudflare Workers, allowing you to create and access custom AI tools from the Cloudflare AI Playground or Claude Desktop.-
- -licenseNot gradedqualityNot gradedmaintenanceA 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.-