Создание удаленного сервера 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.
Реализация удаленного сервера MCP, интегрируемого со Stripe, позволяющая помощникам на базе искусственного интеллекта взаимодействовать с API Stripe для выполнения функций обработки платежей.
Related MCP Servers
- -securityAlicense-qualityA server that integrates with Stripe for handling payments, customers, and refunds through the Model Context Protocol, providing a secure API to manage financial transactions.Last updated -39PythonMIT License
Armor Crypto MCPofficial
AsecurityAlicenseAqualityAn MCP server providing unified access to blockchain operations, bridging, swapping, and crypto trading strategies for AI agents.Last updated -20194PythonGPL 3.0- -securityAlicense-qualityAn MCP server that allows AI assistants to utilize human capabilities by sending requests to humans and receiving their responses through a Streamlit UI.Last updated -42PythonMIT License
YepCode MCP Serverofficial
-securityAlicense-qualityAn MCP server that enables AI platforms to interact with YepCode's infrastructure, allowing LLM-generated scripts to run on YepCode and turning YepCode processes into powerful tools that AI assistants can use directly.Last updated -928TypeScriptMIT License