Khavion Architecture Review

com.khavion由 khavion.com 发布v0.1.1更新于 Nov 4, 2026

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

发布方自己的服务:Review Expert

概览

AI 生成的概览

本地 MCP 服务器,为助手提供带原文引用的云最佳实践,并对 Terraform、CloudFormation 和 Kubernetes 文件做基于规则的确定性审查。

可以做什么
  • 查询某项云服务的规则,附原文引用与来源链接
  • 审查 Terraform、CloudFormation 或 Kubernetes 文件内容是否符合有引用的最佳实践
  • 按服务列表审查技术栈,可选补充一句工作负载说明
  • 按规则 id 或报告 id 解释单条发现:为何重要、如何修复、引用出处
适用场景
适合在助手审查基础设施即代码或拟定云架构时使用,让结论有云厂商官方文档支撑,而非模型臆测。引用查询与发现解释完全离线且免费。
运行要求
通过 npx 以 stdio 在本地运行,需要 Node 20 或更高版本。免费档无需账号;可选的 KHAVION_API_KEY(免费工作邮箱密钥)可解锁全部发现。设置密钥后,服务器会向 khavion.com 发起两次 HTTPS 请求;KHAVION_BASE_URL 可改指向其他地址用于测试。
安装前请注意
没有有效密钥时,审查只返回按严重度排序的前 3 条发现及剩余数量,并在输出中提示获取工作邮箱密钥。设置密钥后,密钥、规则 id 和服务数量会发送到 khavion.com 用于校验和生成报告链接;文件内容与服务列表不会离开本机。报告链接指向厂商网站,其中价格仅为估算,不构成报价。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Khavion Architecture Review,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Khavion Architecture Review MCP server

An MCP server that gives an AI assistant two things it cannot make up: the cloud providers' own best-practice text, quoted word for word with a link, and a rules-based review of Terraform, CloudFormation, and Kubernetes files.

The server itself calls no AI model. Every finding comes from a fixed, version-controlled rule set, and the same input always gives the same output. It runs on your machine over stdio and has zero runtime dependencies.

Tools

ToolWhat it doesNeeds a key
lookup_citationUp to 5 cited rules for a service (service, optional pillar, optional question). Each has a verbatim quote and the page it came from.No, always complete
review_iacReviews Terraform, CloudFormation, or Kubernetes file contents (files: path and content).Optional
review_stackReviews a list of services (tokens) with an optional sentence about the workload (intent).Optional
explain_findingExplains one finding by rule id or by the 8-character id in a report link: why it matters, the fix, the citation.No, always complete

Install

Any MCP client that can start a stdio server works. The command is:

npx -y @khavion/architecture-review-mcp

Claude Code:

claude mcp add architecture-review -- npx -y @khavion/architecture-review-mcp

Claude Desktop, Cursor, and most other clients take a JSON entry like this:

json
{  "mcpServers": {    "architecture-review": {      "command": "npx",      "args": ["-y", "@khavion/architecture-review-mcp"]    }  }}

Node 20 or newer is required.

Free and keyed output

Without a key, review_iac and review_stack return the top 3 findings by severity, each with its citation, plus counts for the rest. The output says:

Free work-email key opens every finding, the quote total, the recommended next step, and a report link: https://khavion.com/tools/api-key

With a valid key, they return every finding, an itemized quote total, the recommended next step, and a link to a report on khavion.com. Every price line ends with "Estimate, not an offer; final pricing by signed statement of work."

Set the key in the server's environment so it never enters the conversation:

json
{  "mcpServers": {    "architecture-review": {      "command": "npx",      "args": ["-y", "@khavion/architecture-review-mcp"],      "env": { "KHAVION_API_KEY": "your-key" }    }  }}

If the key cannot be checked (offline, or not accepted), the server falls back to the free output and says why in one sentence.

What is sent where

The review runs entirely on your machine. File contents, service lists, and tokens are never sent anywhere.

When a key is set, the server makes two calls to khavion.com, and nothing else:

  1. POST /api/api-key/verify with the key, to check it.
  2. POST /api/api-key/report with the key, the rule ids of the findings, and one number (how many services were found), to get a report link.

KHAVION_BASE_URL can point those two calls at another address, which is useful for testing. It must be https, or http on a local address.

Citations and license

The server code is MIT licensed (see LICENSE).

The quotes in the knowledge base are short passages (25 words or fewer) from the cloud providers' public documentation. They are shown unchanged, with the page they came from, for commentary and attribution. The MIT license covers the code, not those passages: each remains the work of its owner, and lookup and explain results show the license label for each quote.

About

Built and maintained by Khavion LLC, an independent firm that reviews cloud partner program filings and advises on GenAI projects. Khavion is not affiliated with, endorsed by, or sponsored by Amazon Web Services, Microsoft, or Google. Their names appear only to say which documentation a quote comes from. Questions: [email protected].

Source

This repository holds the MCP server as published to npm. dist/index.js is the exact file the npm package ships: it bundles the rules engine and the verified citation knowledge base from Khavion's site code, so it needs no install step and makes no network call unless you set a key. src/ is the server wrapper and the shared review code, for reading; it imports the engine from the site code and is not built from this repository on its own.

Report problems at https://github.com/Khavion/architecture-review-mcp/issues. Licence: MIT for the code; the quotations are public documentation, attributed to their sources.

来源:README.md,提交 8af874b

工具

4

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.

输入参数pillarservice必填question

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.

输入参数files必填

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.

输入参数intenttokens必填

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.

输入参数id必填

版本历史

1
  1. v0.1.1最新Nov 4, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Review 集成