You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[MCP] Servicio base gitops-mcp: Streamable HTTP, auth passthrough y cliente de la API #128
Parte de #122 · Depende de la fase 0 · Repo getgitops/gitops-mcp
Objetivo
Esqueleto del servicio MCP: transporte, auth en modo passthrough y cliente de la API de GitOps.
Tareas
TypeScript + @modelcontextprotocol/sdk, Streamable HTTP en /mcp, sin estado, más GET /healthz.
Auth: sin Authorization: Bearer → 401 con WWW-Authenticate. El token se reenvía tal cual a la API y no se guarda ni se registra en los logs.
GitOpsApiClient tipado (GITOPS_API_URL, timeouts, reintentos solo en GET). Los errores 401/403/404/429 se traducen a errores MCP legibles para el agente.
Logs estructurados (tool, duración, status), sin tokens ni payloads.
Dockerfile, .env.example, README con el uso desde Claude Code (terminal y VS Code: claude mcp add y .mcp.json).
CI: lint, typecheck y tests con una API falsa en memoria.
Criterios de aceptación
claude mcp add contra el servicio en local lista las tools y responde a una tool de prueba.
Activity
foxkdev commentedon Nov 30, 2026
Hecho en getgitops/gitops-mcp#1 y desplegado en https://mcp.cloud.dev.getgitops.com/mcp.