Skip to main content
Glama
mcp-golden-path

mcp-golden-path

by ramisistemas

mcp-golden-path

Servidor MCP con Clean Architecture y DDD

Servidor MCP (Model Context Protocol) construido con Clean Architecture / DDD (domain → application → infrastructure → delivery), usando el SDK oficial mcp.

Arquitectura

Ver docs/architecture.md para el detalle completo de capas, patrones de diseño y cómo agregar nuevas tools/resources.

Related MCP server: WhyLingxi Insurance MCP Server

Dominio de ejemplo incluido

Este proyecto se genera con un caso de uso de referencia (pólizas de seguro: get_policy_info, get_customer_policies) para mostrar el patrón completo end-to-end. Renombrar/reemplazar los archivos en src/domain/, src/application/use_cases.py, src/infrastructure/repositories.py y src/delivery/mcp_server.py con las tools reales de tu caso de uso.

Ejecutar localmente

pip install -e ".[dev]"
cp .env.example .env
# modo stdio (clientes locales, ej. Claude Desktop)
python main.py --mode mcp
# modo HTTP/SSE (el que corre en Kubernetes)
python main.py --mode http --http-port 8000

Backend externo configurado

  • URL: https://api.example.com

  • API Key: se inyecta en runtime vía ExternalSecret desde Key Vault (secreto McpBackendApiKey)

Tests

pytest tests/unit/ -v
pytest tests/integration/ -v
pytest --cov=src --cov-report=html

Despliegue

CI/CD en .github/workflows/deploy.yml construye la imagen y la publica en crsuradev.azurecr.io; los manifiestos en deploy/ despliegan en el namespace mcp-servers vía ArgoCD.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for insurance claim pilot tools, providing policy search, claim lookup, and fraud score calculation.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to search, compare, recommend, quote, and pre-underwrite Chinese insurance products via MCP, covering 158 insurers and 489 products.
      2
      -
    • A
      license
      A
      quality
      D
      maintenance
      MCP server that exposes life-insurance back-office tools (policy document search, application status, product/underwriting rules) to LLM agents. Enables agents to retrieve policy documents, check application status, and evaluate underwriting rules via hybrid search and rule lookup.
      3
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables support agents to look up customer account details and billing or incident information through two read-only MCP tools for triage workflows.
      2
      MIT