Create MCP
crear-mcp
Una herramienta CLI que configura un servidor de Protocolo de control de modelos (MCP) y lo implementa en Cloudflare Workers para que pueda comenzar a crear nuevas herramientas para su Cursor Agent en minutos.
Simplemente escriba funciones TypeScript con comentarios JSDoc para brindarle a su agente herramientas MCP.
Prerrequisitos
Wrangler CLI instalado e iniciado sesión con su cuenta de Cloudflare.
Aplicación de escritorio Claude instalada. (Se eliminará pronto).
Related MCP server: Workers MCP Demo
Instrucciones
Para crear y desplegar un nuevo servidor MCP, simplemente ejecute:
bun create mcpTambién puedes pasar un nombre directamente al comando: bun create mcp --name <server-name> .
Qué hace esta CLI
Clona el repositorio del trabajador de plantillas en
<current-dir>/<server-name>Instala dependencias
Inicializa un repositorio Git
Implementa un servidor MCP Hello World en su cuenta de Cloudflare
Lo agrega a Claude Desktop
Copia el comando del servidor MCP a tu portapapeles para que puedas pegarlo en Cursor
Cómo utilizar
Simplemente agregue funciones a la clase MyWorker en src/index.ts . Cada función se compilará en una herramienta MCP.
Por ejemplo:
/**
* 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}!`;
}La primera línea es la descripción de la herramienta.
Las etiquetas
@paramson los parámetros de la herramienta, con tipos y descripciones.La etiqueta
@returnes el valor de retorno de la herramienta, con su tipo.
Implementando cambios
Redistribuir el trabajador:
bun run deployRecargue la ventana del cursor.
¡Ahora puedes pedirle a tu agente que utilice la nueva herramienta!
¿Por qué Cloudflare Workers?
Buenas vibraciones, excelente DX y despliegues ultrarrápidos.
No me gusta ejecutar servidores MCP localmente, y estoy bastante seguro de que a ti tampoco. Ahora ya no tenemos que ejecutar procesos de nodo para usar herramientas MCP sencillas en Cursor que llaman a las API.
Solo tienes que escribir funciones. Coloca tus descripciones y parámetros en los comentarios de JSDoc y funciona.
Servidores de ejemplo creados con create-mcp
Puedes clonar e implementar cualquier servidor MCP creado con create-mcp en tu propia cuenta de 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