byaml-mcp
byaml-mcp v2 (ByaML-004)
MCP server de BYaML Architecture Graph para agentes (Kiro, Cursor, Claude, Copilot).
El agente NO escribe YAML — usa el grafo. Input: evaluación/scan/terraform plan. Output: Architecture Graph v0.4 + insights (blast radius, costo) + remediación.
Tools (8)
Tool | Descripción |
| eval_id/findings → Graph v0.4 |
| tfplan.json → Graph v0.4 |
| profile AWS → Graph v0.4 (scan) |
| valida grafo (byaml.validate) |
| downstream impact de un nodo (nan-graph) |
| costo por layer/servicio/owner (nan-graph) |
| findings → pasos IaC (snippet terraform) |
| fetch version/catalog del registry schema.byaml.org (ByaML-003) |
Related MCP server: Synlake MCP Server
Run
uv run server.py # stdio
uvx byaml-mcp # publicado (PyPI)Config MCP (Kiro / Claude / Cursor)
{ "mcpServers": { "byaml": { "command": "uvx", "args": ["byaml-mcp"] } } }Depende de
byaml(PyPI 0.4.0a1) — modelo v0.4 + convert (from_evaluation/from_terraform) + validatenan-graph(PyPI) — blast_radius, cost_chain, team_cost, SPOFmcp(FastMCP) — transporte stdio
Available Tools
8 toolsblast_radiusA
Downstream impact de un nodo: qué se cae si falla (nan-graph blast_radius).
Args: node_id: id del nodo origen (ej. 'api'). graph: graph JSON v0.4 (output de graph_from_*). max_depth: profundidad máxima (None = infinito). rel_types: filtrar a estos relType (ej. ['invokes']).
Inputs: graph (required), node_id (required), max_depth, rel_types.
cost_summaryC
Resumen de costo del grafo.
Args: graph: graph JSON v0.4. by: agrupar por 'layer' | 'type' | 'owner'.
Inputs: graph (required), by.
graph_from_accountA
Convierte un perfil AWS (scan) en un Architecture Graph v0.4.
NOTA: por ahora con sample: true devuelve un grafo de ejemplo (pour no requerir
credenciales AWS en el agente). Con sample: false espera un scan previo (SOFE).
Inputs: profile (required), sample.
graph_from_evaluationA
Construye un Architecture Graph v0.4 desde una evaluación SOFE (findings).
Args: findings: lista de findings (con resource_id/resource_type/severity/policy). cost_map: opcional, {resource_id: monthly_cost}. eval_id: id de la evaluación. account: cuenta/entorno (ej. 'aws-acc-123').
Inputs: findings (required), account, eval_id, cost_map.
graph_from_terraformB
Convierte un terraform show -json plan en un Architecture Graph v0.4.
Args:
plan_path: ruta al tfplan JSON (terraform show -json plan.tfplan > plan.json).
account: opcional, cuenta/entorno.
Inputs: plan_path (required), account.
remediation_planB
Genera un plan de remediación (pasos IaC con snippet terraform) para findings.
Args: findings: lista JSON de findings (ej. [{"resource":"i-0abc","type":"no-idle-ec2"}]). graph: opcional, graph v0.4 para contexto.
Inputs: findings (required), graph.
schema_latestB
Versión vigente del schema + resumen del catálogo (fetch schema.byaml.org).
Devuelve latest + count de tipos del catalog v0.4.
Inputs: no named parameters.
validate_graphC
Valida un Architecture Graph v0.4 y devuelve errors/warnings (byaml.validate).
Inputs: graph (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a distinct concern: schema retrieval, graph construction from three different input sources, graph validation, downstream impact analysis, cost aggregation, and remediation planning. No two tools overlap in purpose, making selection unambiguous.
Names follow snake_case and mostly verb_noun (validate_graph, cost_summary, remediation_plan), with graph_from_* indicating source. Minor deviations like schema_latest and blast_radius are still clear and consistent in style, so no confusion arises.
With 8 tools, the surface is well-scoped for an architecture analysis server. Each tool contributes to a clear workflow (create graph, validate, analyze, remediate), and the count is within the ideal range for coherence.
The set covers graph generation from multiple sources, validation, blast radius, cost, and remediation. Minor gaps exist (e.g., no graph diff or editing), but the core lifecycle for analysis is complete and no dead ends are apparent.
Related MCP Connectors
AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).
Unified API to query AWS, GCP, Azure and generate Terraform/CLI execution kits for AI agents.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Create and edit architecture diagrams from your AI agent; get an SVG and a live editable canvas.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI to analyze, query, and manage a graph-based representation of software architecture for impact analysis, dependency tracking, and design.207 npm1AGPL 3.0

Synlake MCP Serverofficial
AlicenseAqualityDmaintenanceEnables AI agents to discover, evaluate, and provision cloud infrastructure across AWS, GCP, and Azure with cross-cloud normalization, cost comparisons, and deployable execution kits.512 npmMIT- AlicenseNot gradedqualityDmaintenanceEnables LLMs to model, validate, and analyze multi-cloud infrastructure as a typed graph, with tools for IaC import/export, cost estimation, and architecture review.775 npmApache 2.0
- AlicenseAqualityCmaintenanceExtracts deterministic architecture maps from codebases for AI agents, enabling queries about blast radius, routes, security findings, and production readiness without sending code anywhere.6MIT