Documentation Index
Fetch the complete documentation index at: https://developers.manglai.io/llms.txt
Use this file to discover all available pages before exploring further.
¿Qué es mcp-remote?
mcp-remote es un proxy que permite a clientes MCP que solo soportan stdio (como Claude Desktop, Cursor, Windsurf) conectarse a servidores MCP remotos vía SSE (Server-Sent Events).
Uso directo
npx mcp-remote https://mcp.manglai.io/sse --header "Authorization:Bearer TU_TOKEN"
Configuración en Cursor
Archivo: .cursor/mcp.json
{
"mcpServers": {
"manglai": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.manglai.io/sse",
"--header",
"Authorization:Bearer ${MANGLAI_TOKEN}"
],
"env": {
"MANGLAI_TOKEN": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
}
}
}
Configuración en Claude Desktop
Archivo: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
{
"mcpServers": {
"manglai": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.manglai.io/sse",
"--header",
"Authorization:Bearer ${MANGLAI_TOKEN}"
],
"env": {
"MANGLAI_TOKEN": "tu_token_aqui"
}
}
}
}
Variables de entorno
Para no hardcodear el token directamente:
"env": {
"MANGLAI_TOKEN": "tu_token"
}
También puedes exportarlo en tu shell (macOS/Linux):
export MANGLAI_TOKEN="eyJhbGciOiJIUzI1NiIs..."
Evita espacios alrededor del : en el header:
# Correcto
"Authorization:Bearer token"
# Incorrecto (puede fallar en algunos clientes)
"Authorization: Bearer token"