クラウドアーキテクチャの設計、移行計画の策定、およびコスト分析と自動コンプライアンスマッピングを備えた、コンプライアンス準拠のインフラストラクチャコードの生成を行います。
別名 xmpuspus/cloudwright, cloudwright-ai-mcp
- スター
- 33
- ツール
- —
- ダウンロード数(30日間)
- 274
- 最新バージョン
- 1.10.0
- 最終コミット
- 2026年8月24日
- ライセンス
- MIT
Cloudwright MCPとは
CloudwrightはMCPサーバーです。 クラウドアーキテクチャの設計、移行計画の策定、およびコスト分析と自動コンプライアンスマッピングを備えた、コンプライアンス準拠のインフラストラクチャコードの生成を行います。.
プロジェクトのREADMEから生成された概要
Cloudwright MCP server について
Cloudwrightは、DevOpsエンジニアやアーキテクトがクラウドアーキテクチャの設計や複雑な移行計画を策定することを可能にします。AWS、GCP、Azure、Databricksに対する単一のインターフェースを提供することで、自然言語による記述を型定義された仕様書、コスト内訳、およびインフラストラクチャコードへと変換します。ユーザーは、単一のデザインプロンプトからTerraform、OpenTofu、Pulumi、またはCloudFormationを生成できます。
このMCP serverは、Claude Code、Cursor、Windsurfなどのさまざまなコーディングエージェントと統合されており、開発ループに直接アーキテクチャチェックを組み込むことができます。design、modify、chat、adrといったコマンドはモデルを呼び出すためにAnthropicまたはOpenAIのAPIキーが必要ですが、コスト見積もり、コンプライアンスマッピング、移行計画などのほとんどの機能は完全にオフラインで動作します。これにより、ネットワークへの継続的な依存なしに、HIPAA、SOC 2、PCI-DSSなどのフレームワークに照らしたインフラ設計の迅速なローカル検証が可能になります。
できること
- 1コンプライアンス準拠のインフラコード生成クラウド構成のテキスト記述を、セキュリティのデフォルト設定が組み込まれた完全なTerraform仕様に変換します。
- 2アーキテクチャと規制コントロールのマッピング提案されたクラウド設計が、デプロイ前にHIPAAやFedRAMPなどの特定の業界標準を満たしているか検証します。
- 3クラウド移行の計画と検証移行を順序立てたウェーブに整理し、エビデンスゲートを使用してすべての前提条件が満たされていることを確認します。
- 4クラウドリソースコストの見積もり提案されたアーキテクチャ内の各コンポーネントについて、リージョンを考慮したコスト内訳を取得します。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
Cloudwright MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにCloudwright MCPをインストール
$ claude mcp add cloudwright -- uvx cloudwright-ai-mcpCursorにCloudwright MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"cloudwright": {
"command": "uvx",
"args": [
"cloudwright-ai-mcp"
]
}
}
}VS CodeにCloudwright MCPをインストール
.vscode/mcp.json
{
"servers": {
"cloudwright": {
"type": "stdio",
"command": "uvx",
"args": [
"cloudwright-ai-mcp"
]
}
}
}VS Code CLIにCloudwright MCPをインストール
$ code --add-mcp '{"name":"cloudwright","type":"stdio","command":"uvx","args":["cloudwright-ai-mcp"]}'Claude DesktopにCloudwright MCPをインストール
claude_desktop_config.json
{
"mcpServers": {
"cloudwright": {
"command": "uvx",
"args": [
"cloudwright-ai-mcp"
]
}
}
}CodexにCloudwright MCPをインストール
$ codex mcp add cloudwright -- uvx cloudwright-ai-mcpCodex config.tomlにCloudwright MCPをインストール
~/.codex/config.toml
[mcp_servers.cloudwright] command = "uvx" args = ["cloudwright-ai-mcp"]
Gemini CLIにCloudwright MCPをインストール
$ gemini mcp add -s user cloudwright uvx -- cloudwright-ai-mcpGemini settings.jsonにCloudwright MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"cloudwright": {
"command": "uvx",
"args": [
"cloudwright-ai-mcp"
]
}
}
}設定
ANTHROPIC_API_KEY
| 名前 | 説明 | 種類 |
|---|---|---|
| ANTHROPIC_API_KEY | — |
自動チェック
実行日 2026年11月13日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。コードを読み、サーバーに必要最小限のアクセス権を与えてください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能合格
- オープンソースライセンス (OSI)合格
- 過去1年以内にコミットまたはリリースあり合格
- パッケージ名が有名なパッケージに酷似していない合格
- リモートエンドポイントがHTTPSを使用未チェック
- 破壊的なツールがラベル付けされている未チェック
- モデルへの隠れた指示がない合格
- パッケージおよびその依存関係に重大な勧告なし合格
README
GitHubで見るCloudwright
Design a cloud architecture or plan a migration. Get costs, controls, code, and checked evidence.
pip install 'cloudwright-ai[cli]'
export ANTHROPIC_API_KEY=sk-ant-...
cloudwright design "HIPAA healthcare API on AWS with Postgres and Redis"
Cloudwright turns one line of English into a typed spec, a cost breakdown, a control-mapped compliance report,
and infrastructure code. A source estate and target become ordered migration waves, explicit costs,
and evidence gates. It covers AWS, GCP, Azure and Databricks across 114 service keys. Only design, modify,
chat and adr call a model. Every other command runs offline and needs no API key.
Quickstart · Migrations · Compliance · Agents · Docs · Changelog
A prompt produces a spec, a cost, a control-mapped report, and Terraform
- Spec. Typed YAML you commit, diff and review. Everything below reads from it.
- Cost. Per component and region-aware, with a confidence flag on every line.
- Compliance. HIPAA, SOC 2, PCI-DSS, FedRAMP, GDPR, ISO 27001 and NIST 800-53 control IDs.
- Infrastructure code. Terraform, OpenTofu, Pulumi (TypeScript or Python) and CloudFormation.
- Diagrams. ASCII, Mermaid, D2, and a web canvas you can edit by hand.
- An MCP server, so any coding agent runs the same checks inside its own loop.
Exports carry safe defaults. S3 gets a public-access block, SSE and versioning. RDS gets encryption, multi-AZ and deletion protection. EC2 gets IMDSv2. A compliance framework overrides the workload profile, and always forces encryption and high availability.
Quickstart
cloudwright design "HIPAA healthcare API on AWS with Postgres and Redis"
cloudwright cost spec.yaml --workload-profile medium
cloudwright compliance spec.yaml --frameworks hipaa,soc2
cloudwright export spec.yaml --format terraform -o ./infra
cloudwright plan spec.yaml --target terraform # proves it deploys, never applies
cloudwright migrate demo # packaged migration proof, fully offline
cloudwright chat --web # canvas at http://localhost:8765
Add --json before any subcommand for machine-readable output, or --stream to watch tokens arrive. Set ANTHROPIC_API_KEY or OPENAI_API_KEY for the four commands that need a model.
Migration plans stop when evidence is missing
The migration model covers infrastructure, applications, data, platforms, networks, facilities, and business services in one dependency graph. It works for on-premises, cloud, cross-cloud, hybrid, data-center, and application moves. It plans and checks work. It never copies data, applies infrastructure, switches traffic, or runs a cutover.
cloudwright migrate plan examples/migrations/ph-telco-project.yaml -o assessment.yaml
cloudwright migrate verify examples/migrations/ph-telco-project.yaml examples/migrations/ph-telco-evidence.yaml
The core has no telco fields. The first proof project selects an external ph_telco pack for subscriber,
billing, usage-record, number-porting, privacy, recovery, and source-shutdown gates. A manufacturing ERP
fixture proves the same planner works without that pack. Missing blocking evidence changes the result to
closed: false and makes migrate verify exit with code 2. Each evidence file carries the deterministic
assessment ID, so observations from an older target or cutover plan cannot close a revised assessment.
MCP clients use the same engine through plan_migration and verify_migration in the migration tool group.
See Migration planning and evidence for the file contract, Python API, HTTP routes, domain-pack format, limits, and recording commands.
Every finding carries the control ID it violates
Other tools scan infrastructure after you deploy it. Cloudwright maps each finding to its control before any
resource exists. The fix then costs a spec edit instead of a change ticket. HIPAA 164.312(a)(2)(iv), SOC 2 CC6.1
and FedRAMP SC-28 come from the built-in scanner, with no extra tooling. Checkov folds into the same report
when it sits on your PATH.
--oscalwrites an OSCAL 1.1.2 component-definition with deterministic UUIDs.--traceabilityprints the chain from component to resource to control to status.cloudwright planrunsterraform validateagainst the export, and never applies.
The review needs no API key and no network
cloudwright review runs the scorer, the linter and the validator over a spec, and returns one severity-ranked
report. The same three critics run inside cloudwright design. When blocking findings survive generation, the
architect repairs the spec once and records the change in spec.metadata.critique. Pass
Architect(repair=False) to turn that off.
Canvas edits never call the model, so they are instant and free
Add, drag, connect, edit and delete are deterministic frontend mutations. The Catalog drawer serves the resource
list per provider and five approved multi-resource modules. Its standards check flags orphan connections,
partial modules and missing tags. An intact module exports as a single Terraform module block, with the
catalog's pinned source and version.
One MCP server reaches 11 coding agents
cloudwright integrate --harness claude-code # exact wiring, in that client's format
cloudwright integrate --harness cursor --write # merge it into the right file
cloudwright integrate --rules --agent-file claude # a gate block for CLAUDE.md
Do not hand-write the config. cloudwright integrate emits it for Claude Code, Cursor, Cline, Windsurf, GitHub
Copilot, Zed, Codex CLI, Junie, Kiro and Antigravity. Aider gets a CLI-pipe recipe instead, because it speaks
no MCP. Every client wants a different shape: Zed wants context_servers, Copilot wants servers, and Codex
wants a TOML table.
The server exposes 24 tools in 10 groups: design, cost, validate, analyze, export, session, review, compliance, plan and migration. Full matrix in docs/integrations.md.
Offline commands grade, scan, compare, and plan
lint runs 10 anti-pattern checks. score grades 5 dimensions. analyze reports blast radius and single
points of failure. policy enforces policy-as-code with 9 built-in rules. security scans the spec and the
exported HCL. drift compares a design against a tfstate, and --remediate turns the gap into a cost,
compliance and plan preview.
review, compliance and plan are above. See docs/cli-reference.md.
Python API
from cloudwright import ArchSpec
from cloudwright.cost import CostEngine
from cloudwright.validator import Validator
from cloudwright.exporter import export_spec
spec = ArchSpec.from_file("spec.yaml")
priced = CostEngine().estimate(spec, workload_profile="medium")
findings = Validator().validate(spec, compliance=["hipaa", "pci-dss"])
hcl = export_spec(spec, "terraform", output_dir="./infra")
v1.10.0 adds migration planning with evidence-based closure
- One model covers the full estate. Infrastructure, data, applications, platforms, networks, facilities, and business services share one dependency graph.
- Dependencies determine the waves. The planner schedules prerequisites first, rejects cycles, checks rollback paths, and reports unresolved mappings.
- Closure needs evidence. Missing or failed blocking observations prevent closure and make
migrate verifyreturn exit code 2. - Industry rules stay outside the engine. Optional YAML packs add acceptance gates without adding industry fields to the core.
- PH telco is the first proof. The product remains industry-neutral. A manufacturing ERP fixture runs through the same planner with no domain pack.
Earlier releases added control-ID mapping and plan (v1.5.0), the self-correcting architect and OSCAL
(v1.6.0), cloudwright integrate (v1.7.0), the responsive dark-theme canvas (v1.8.0), and measured
canvas interaction fixes (v1.9.0). Full history in CHANGELOG.md.
Compatibility
- Python 3.12+
- Models: Anthropic (Claude Sonnet, Haiku) and OpenAI (GPT-5+ family), auto-detected from env.
- Clouds: AWS, GCP, Azure, Databricks. 114 service keys total.
- Install variants:
cloudwright-ai[cli],cloudwright-ai[web],cloudwright-ai-mcp.
Contributing, license, changelog
- Contributing guide: CONTRIBUTING.md
- License: MIT, see LICENSE
- Full release history: CHANGELOG.md
Cloudwright MCPのよくある質問
Cloudwright MCPをClaude Codeに追加するには
ターミナルでclaude mcp add cloudwright -- uvx cloudwright-ai-mcpを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
Cloudwright MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
Cloudwrightはどのクラウドプロバイダーをサポートしていますか?
AWS、GCP、Azure、およびDatabricksをカバーしており、114のサービスキーに対応しています。
CloudwrightのすべてのコマンドでAPIキーが必要ですか?
いいえ、design、modify、chat、およびadrコマンドのみがモデルを呼び出します。その他のコマンドはすべてオフラインで動作するため、APIキーは不要です。
どのようなインフラストラクチャコードをエクスポートできますか?
Terraform、OpenTofu、Pulumi (TypeScriptまたはPython)、およびCloudFormationへエクスポート可能です。
Cloudwrightはコンプライアンス対応に役立ちますか?
はい、HIPAA、SOC 2、PCI-DSS、FedRAMP、GDPR、ISO 27001、NIST 800-53などのフレームワークに対して、コントロールに紐付けられたコンプライアンスレポートを提供します。