Conectar tu agente — Claude Code · opencode · Cursor · VS Code · Antigravity · MiniMax · ChatGPT · y más
Claude Code
claude mcp add comunidad-pro-tech https://app.comunidad-pro-tech.com/api/mcp --header "Authorization: Bearer TU_TOKEN" --transport http
opencode — en opencode.json (global ~/.config/opencode/opencode.json o del proyecto):
{"$schema":"https://opencode.ai/config.json","mcp":{"comunidad-pro-tech":{"type":"remote","url":"https://app.comunidad-pro-tech.com/api/mcp","headers":{"Authorization":"Bearer TU_TOKEN"}}}}
Cursor — en ~/.cursor/mcp.json (o el del proyecto):
{"mcpServers":{"comunidad-pro-tech":{"url":"https://app.comunidad-pro-tech.com/api/mcp","headers":{"Authorization":"Bearer TU_TOKEN"}}}}
VS Code (GitHub Copilot) — en .vscode/mcp.json:
{"servers":{"comunidad-pro-tech":{"type":"http","url":"https://app.comunidad-pro-tech.com/api/mcp","headers":{"Authorization":"Bearer TU_TOKEN"}}}}
GitHub Copilot CLI
copilot mcp add --transport http --header "Authorization: Bearer TU_TOKEN" comunidad-pro-tech https://app.comunidad-pro-tech.com/api/mcp
o en ~/.copilot/mcp-config.json con {"type":"http","url":"https://app.comunidad-pro-tech.com/api/mcp","headers":{"Authorization":"Bearer TU_TOKEN"}}
Google Antigravity (IDE / CLI) — en ~/.gemini/config/mcp_config.json (o .agents/mcp_config.json del workspace). Antigravity usa serverUrl, no url:
{"mcpServers":{"comunidad-pro-tech":{"serverUrl":"https://app.comunidad-pro-tech.com/api/mcp","headers":{"Authorization":"Bearer TU_TOKEN"}}}}
MiniMax Code — en ~/.minimax/mcp.json:
{"mcpServers":{"comunidad-pro-tech":{"type":"streamable-http","url":"https://app.comunidad-pro-tech.com/api/mcp","headers":{"Authorization":"Bearer TU_TOKEN"},"enabled":true}}}
Gemini CLI — en ~/.gemini/settings.json:
{"mcpServers":{"comunidad-pro-tech":{"httpUrl":"https://app.comunidad-pro-tech.com/api/mcp","headers":{"Authorization":"Bearer TU_TOKEN"}}}}
Zed — en ~/.config/zed/settings.json:
{"context_servers":{"comunidad-pro-tech":{"source":"custom","enabled":true,"url":"https://app.comunidad-pro-tech.com/api/mcp","headers":{"Authorization":"Bearer TU_TOKEN"}}}}
Claude Desktop / Windsurf / Codex CLI / Goose — clientes locales stdio: usa nuestro paquete oficial descargable (npx -y comunidad-pro-tech-mcp o directo desde GitHub, requiere Node ≥ 20):
{"mcpServers":{"comunidad-pro-tech":{"command":"npx","args":["-y","github:LuciferEwah/comunidad-pro-tech-mcp"],"env":{"COMUNIDAD_API_TOKEN":"TU_TOKEN"}}}}
En npm (cuando esté publicado): reemplaza github:LuciferEwah/comunidad-pro-tech-mcp por comunidad-pro-tech-mcp. Codex CLI (~/.codex/config.toml): [mcp_servers.comunidad-pro-tech] + command = "npx" + args = ["-y","github:LuciferEwah/comunidad-pro-tech-mcp"] + env = { COMUNIDAD_API_TOKEN = "TU_TOKEN" }. Alternativa con puente genérico: npx -y mcp-remote https://app.comunidad-pro-tech.com/api/mcp --header "Authorization: Bearer TU_TOKEN"
ChatGPT (Developer mode) — Ajustes → Seguridad → Developer mode, luego Plugins → crear app con la URL remota.
✅ Soportado vía OAuth 2.1: ChatGPT descubre el server solo (401 → /.well-known/oauth-protected-resource → registro dinámico → pantalla de consentimiento en la app). Iniciá sesión en la app antes de conectar.
OAuth 2.1 (cualquier cliente estándar) — issuer https://app.comunidad-pro-tech.com:
/.well-known/oauth-authorization-server · /oauth/register (DCR) · /oauth/authorize · /oauth/token (PKCE S256) · /oauth/revoke. Los tokens emitidos son por condominio y se revocan desde Superadmin → API.
Cualquier cliente HTTP/JSON-RPC: POST a https://app.comunidad-pro-tech.com/api/mcp con
Authorization: Bearer cpt_live_… y Content-Type: application/json
(initialize → tools/list → tools/call).