CloudArch

v0.2.2
ru.cloud-arch/cloudarch Checked 10 hours ago Published 3 months ago

Create and update live animated architecture diagrams on CloudArch from a prompt or script.

Values you need

VariableWhat it is
CLOUDARCH_API_KEYrequired secret CloudArch API key (create one at https://web.cloud-arch.ru/workspace/api)
CLOUDARCH_API_URLoptional API base URL override for self-hosted instances (default https://api.cloud-arch.ru)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add cloudarch -e 'CLOUDARCH_API_KEY=<CLOUDARCH_API_KEY>' -- npx -y --package=@cloud-arch/mcp-server@0.2.2 cloudarch-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "cloudarch": {
      "args": [
        "-y",
        "--package=@cloud-arch/mcp-server@0.2.2",
        "cloudarch-mcp"
      ],
      "command": "npx",
      "env": {
        "CLOUDARCH_API_KEY": "<CLOUDARCH_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "cloudarch": {
      "args": [
        "-y",
        "--package=@cloud-arch/mcp-server@0.2.2",
        "cloudarch-mcp"
      ],
      "command": "npx",
      "env": {
        "CLOUDARCH_API_KEY": "<CLOUDARCH_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "CLOUDARCH_API_KEY",
      "id": "cloudarch-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "cloudarch": {
      "args": [
        "-y",
        "--package=@cloud-arch/mcp-server@0.2.2",
        "cloudarch-mcp"
      ],
      "command": "npx",
      "env": {
        "CLOUDARCH_API_KEY": "${input:cloudarch-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.cloudarch]
command = "npx"
args = ["-y", "--package=@cloud-arch/mcp-server@0.2.2", "cloudarch-mcp"]
env = { "CLOUDARCH_API_KEY" = "<CLOUDARCH_API_KEY>" }

For AI agents

  1. Ask the user for: CLOUDARCH_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: create_diagram, list_diagrams, update_diagram, delete_diagram, get_script_template.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json