Khavion Architecture Review

v0.1.1
com.khavion/architecture-review-mcp Checked 1 day ago Published 28 days ago

Cited cloud best practices and a rules-based review of Terraform, CloudFormation, and Kubernetes.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

lookup_citation Look up a cited best practice

Find the cloud provider's own documentation for a service. Returns up to 5 rules for the service, each with a verbatim quote from the provider's docs and the page link. Free, offline, and complete. Use it to ground a recommendation in a primary source before you state it.

ParameterTypeDescription
service *stringThe service, by name or id. Examples: S3, Amazon RDS, Lambda, Key Vault, Cloud Run.
pillarstringLimit results to one Well-Architected pillar. Omit to search all pillars.
questionstringWhat you want to know, in a sentence. Used only to rank the matches by shared keywords.

review_iac Review infrastructure as code

Review Terraform, CloudFormation, or Kubernetes files against cited cloud best practices. Pass the file contents. Without an API key it returns the top 3 findings by severity plus counts for the rest. With KHAVION_API_KEY set in the server's environment and valid, it returns every finding, the quote total, the recommended next step, and a report link. File contents stay on this machine; only the key, rule ids, and a count of services are sent to Khavion.

ParameterTypeDescription
files *arrayThe infrastructure files to review.

review_stack Review a list of services

Review a stack described as a list of services, such as s3, rds, lambda. Optionally add a sentence about the workload. Same output rules as review_iac: the top 3 findings without a valid API key, everything with one. Nothing but the key, rule ids, and a count of services leaves this machine.

ParameterTypeDescription
tokens *arrayService ids or names. Examples: s3, rds, Amazon EC2, Key Vault.
intentstringOne or two sentences about the workload, for example whether it is public-facing.

explain_finding Explain a finding

Explain one finding by rule id (for example aws-sec-encryption-at-rest) or by the 8-character id used in report links. Returns why it matters, the fix, and the verbatim citation with its link. Free and offline.

ParameterTypeDescription
id *stringA rule id, or an 8-character hexadecimal report id.