Create MCP
создать-mcp
Инструмент CLI, который настраивает сервер протокола управления моделью (MCP) и развертывает его в Cloudflare Workers, чтобы вы могли начать создавать новые инструменты для своего агента курсора за считанные минуты.
Просто напишите функции TypeScript с комментариями JSDoc, чтобы предоставить вашему агенту инструменты MCP.
Предпосылки
Установите Wrangler CLI и войдите в систему, используя свою учетную запись Cloudflare.
Установлено приложение Claude Desktop. (Скоро будет удалено)
Related MCP server: Workers MCP Demo
Инструкции
Чтобы создать и развернуть новый сервер MCP, просто запустите:
bun create mcpВы также можете передать имя непосредственно команде: bun create mcp --name <server-name> .
Что делает этот CLI
Клонирует репозиторий шаблона-работника в
<current-dir>/<server-name>Устанавливает зависимости
Инициализирует репозиторий Git
Развертывает сервер Hello World MCP в вашей учетной записи Cloudflare
Добавляет его в Claude Desktop
Копирует команду сервера MCP в буфер обмена, чтобы вы могли вставить ее в курсор
Как использовать
Просто добавьте функции в класс MyWorker в src/index.ts . Каждая функция будет скомпилирована в инструмент MCP.
Например:
/**
* A warm, friendly greeting from your new Workers MCP server.
* @param name {string} the name of the person we are greeting.
* @return {string} the contents of our greeting.
*/
sayHello(name: string) {
return `Hello from an MCP Worker, ${name}!`;
}Первая строка — описание инструмента.
Теги
@param— это параметры инструмента с типами и описаниями.Тег
@return— это возвращаемое инструментом значение с указанием его типа.
Развертывание изменений
Повторное развертывание работника:
bun run deployПерезагрузите окно курсора.
Теперь вы можете попросить своего агента использовать новый инструмент!
Почему именно Cloudflare Workers?
Вибрации, отличная DX и молниеносное развертывание.
Мне не нравится запускать MCP-серверы локально, и я почти уверен, что вам тоже. Теперь нам не нужно запускать процессы узлов, чтобы использовать простые инструменты MCP в Cursor, которые вызывают API.
Все, что вам нужно сделать, это написать функции. Поместите ваши описания и параметры в комментарии JSDoc, и это просто заработает.
Примеры серверов, созданных с помощью create-mcp
Вы можете клонировать и развернуть любой сервер MCP, созданный с помощью create-mcp, в своей учетной записи Cloudflare:
bun create mcp --clone <github-url>This server cannot be installed
Maintenance
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
- AlicenseNot gradedqualityNot gradedmaintenanceEnables the creation and deployment of API-based MCP tools for Cursor Agent using Cloudflare Workers, streamlining development and integration of custom functionalities.4349
- AlicenseBqualityDmaintenanceA demonstration project that uses Cloudflare Workers MCP to create custom AI tools that can be integrated with Claude, Cursor, and other AI assistants supporting the Model Context Protocol.21030MIT
- FlicenseNot gradedqualityCmaintenanceA serverless tool that allows deployment of authentication-free Model Context Protocol servers on Cloudflare Workers, enabling AI assistants to utilize custom tool functionalities.1
- 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.
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
The agent-native cloud: database, functions, AI, storage, computers. 50 tools, one API key.
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
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/fefergrgrgrg/create-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server