remote-mcp-server-authless
Creación de un servidor MCP remoto en Cloudflare (sin autenticación)
Este ejemplo te permite implementar un servidor MCP remoto sin estado que no requiere autenticación en Cloudflare Workers. Implementa la especificación MCP 2026-07-28 a la vez que sigue siendo compatible con clientes heredados para llamadas a herramientas ordinarias.
Comenzar:
Esto desplegará tu servidor MCP en una URL como: remote-mcp-server-authless.<your-account>.workers.dev/mcp
Alternativamente, puedes usar la línea de comandos que aparece a continuación para crear el servidor MCP remoto en tu máquina local:
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authlessRelated MCP server: Cloudflare Authless Remote MCP Server
Personalizar tu servidor MCP
Para añadir tus propias herramientas al servidor MCP, registra cada herramienta en el McpServer creado en la función createServer() en src/index.ts usando server.registerTool(...).
Conectarse a Cloudflare AI Playground
Puedes conectarte a tu servidor MCP desde Cloudflare AI Playground, que es un cliente MCP remoto:
Introduce la URL de tu servidor MCP desplegado (
remote-mcp-server-authless.<your-account>.workers.dev/mcp)¡Ahora puedes usar tus herramientas MCP directamente desde el playground!
Conectar Claude Desktop a tu servidor MCP
También puedes conectarte a tu servidor MCP remoto desde clientes MCP locales, usando el proxy mcp-remote.
Para conectarte a tu servidor MCP desde Claude Desktop, sigue la Guía de inicio rápido de Anthropic y, dentro de Claude Desktop, ve a Configuración > Desarrollador > Editar configuración.
Actualiza con esta configuración:
{
"mcpServers": {
"calculator": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/mcp" // or remote-mcp-server-authless.your-account.workers.dev/mcp
]
}
}
}Reinicia Claude y deberías ver que las herramientas se vuelven disponibles.
This server cannot be deployed
Related MCP Connectors
Cloudflare Workers MCP server: agent-workflow-engine
Cloudflare Workers MCP server: ai-model-router
Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceEnables deploying a remote MCP server on Cloudflare Workers without authentication, allowing tools to be defined and used with MCP clients like Cloudflare AI Playground or Claude Desktop.-
- FlicenseNot gradedqualityBmaintenanceEnables deployment of a stateless remote MCP server on Cloudflare Workers without authentication, allowing users to register custom tools and connect from clients like Cloudflare AI Playground and Claude Desktop.-
- FlicenseNot gradedqualityCmaintenanceEnables deploying a stateless remote MCP server on Cloudflare Workers without authentication, allowing custom tools to be used from remote MCP clients such as Cloudflare AI Playground and Claude Desktop.-
- FlicenseNot gradedqualityCmaintenanceEnables deploying a stateless remote MCP server on Cloudflare Workers without authentication, allowing custom tools to be called from remote MCP clients like Cloudflare AI Playground and Claude Desktop.-