The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Cloudcraft MCP listing page.
Unofficial Model Context Protocol (MCP) server for Cloudcraft — list, read, export, and build cloud architecture blueprints from Claude Desktop and other MCP clients.
Nine tools exposed to the MCP host:
| Tool | Description |
|---|---|
whoami | Return the Cloudcraft user profile for the configured key. |
list_blueprints | List every blueprint in the account. |
get_blueprint | Fetch a blueprint's full node / edge JSON. |
create_blueprint | Create a new blueprint from a JSON payload. |
update_blueprint | Replace an existing blueprint's payload. |
delete_blueprint | Delete a blueprint (irreversible). |
export_blueprint_image | Render a blueprint to PNG / SVG / PDF / mxgraph on disk. |
list_aws_accounts | List AWS accounts connected for live-scan snapshots. |
snapshot_aws | Take a live-scan snapshot of one AWS service. |
uvx and npm launchersUse an immutable version in client configuration so upgrades are deliberate.
| Channel | Command |
|---|---|
| PyPI / uvx | uvx --from cloudcraft-mcp==0.1.6 cloudcraft-mcp |
| pipx | pipx run --spec cloudcraft-mcp==0.1.6 cloudcraft-mcp |
| npm / npx | npx -y @hypark5540/cloudcraft-mcp@0.1.6 |
| Docker / GHCR | docker run --rm -i -e CLOUDCRAFT_API_KEY ghcr.io/hypark5540/cloudcraft-mcp:0.1.6 |
| Claude Desktop | Download cloudcraft-mcp.mcpb from the matching GitHub release |
uvx is delivered by the PyPI package; there is no separate uvx registry.
The npm package embeds the byte-identical Python wheel and invokes it through
uv, so the npm path requires both Node.js and uv. It does not download code
in a postinstall hook.
For development from a checkout:
Install uv, then add this entry to Claude Desktop's configuration. Prefer Claude's secret storage when available; the literal below is only a portable example.
Restart Claude Desktop. The Developer tab should show cloudcraft as connected.
See client setup for Cursor, Gemini CLI, npm, Docker, and MCPB examples.
| Name | Required | Default | Purpose |
|---|---|---|---|
CLOUDCRAFT_API_KEY | yes | — | API key (Bearer). Generated in Cloudcraft User settings. |
CLOUDCRAFT_BASE_URL | no | https://api.cloudcraft.co | Override for proxies or future API versions. |
CLOUDCRAFT_LOG_LEVEL | no | WARNING | Stderr log verbosity (DEBUG / INFO / WARNING / ERROR). |
CLOUDCRAFT_EXPORT_DIR | no | private temp subdirectory | Directory that export_blueprint_image may write under. |
CLOUDCRAFT_ENABLE_WRITES | no | false | Permit create_blueprint and update_blueprint. |
CLOUDCRAFT_ENABLE_DELETES | no | false | Permit deletes when writes are also enabled. |
CLOUDCRAFT_MAX_RESPONSE_BYTES | no | 26214400 | Reject oversized Cloudcraft responses before they exhaust memory or disk. |
Once the server is connected, ask Claude things like:
"List my Cloudcraft blueprints and summarize what each represents."
"Export blueprint
f0086b32-...as PNG and save it to my Desktop."
"Take the architecture I just designed and create a new Cloudcraft blueprint called 'Prod 2026'."
"Snapshot the EC2 instances in
ap-northeast-2for my connected AWS account."
create_blueprint / update_blueprint accept the full Cloudcraft data object. A minimal payload:
Refer to Cloudcraft's API docs for the full node-type catalog and service-specific fields.
Tests mock the HTTP layer with respx so no API key is required.
CI uploads coverage.xml from the Python 3.12 matrix cell to
Codecov. The project gate
is 80% or higher — a PR that drops overall or patch coverage by more
than 1 percentage point below that line fails the Codecov check
(codecov.yml).
Run the same report locally:
client.py is a plain async HTTP client you can import from scripts or CLI tools without pulling the MCP runtime. server.py only owns the MCP tool surface.Authorization: Bearer <key> (not Apikey). The client sets this automatically.CLOUDCRAFT_API_KEY; never pass it on the command line.CloudcraftError with status and body preserved, re-wrapped as RuntimeError at the MCP boundary so Claude sees a readable message.CLOUDCRAFT_ENABLE_WRITES=true
only for clients that need create/update access. Deletes additionally require
CLOUDCRAFT_ENABLE_DELETES=true and an exact repeated blueprint ID on every call.delete_blueprint is irreversible — when asking Claude to delete, be explicit about the target id.export_blueprint_image writes are sandboxed under CLOUDCRAFT_EXPORT_DIR
(a process-private temporary subdirectory by default) and refuse to overwrite
existing files unless overwrite=True.Issues and PRs welcome at https://github.com/hypark5540/cloudcraft-mcp. Please run ruff, mypy, and pytest before submitting.
MIT — see LICENSE.