Whizan Cloud ServicesDocumentation Hub
Documentation/Developer Tools/Whizan CLI & DevOps MCP

Whizan CLI & DevOps MCP

Supported:Node.js / npmModel Context Protocol (MCP)Any terminal shell (Bash, Zsh, PowerShell)

When to Use This Service

Ideal Use Cases
  • Deploying projects directly from your local development machine without opening a browser
  • Automating builds and deployments inside GitHub Actions, GitLab CI, or CircleCI
  • Autonomous AI coding agents in Cursor, Windsurf, Claude Code, or Antigravity that inspect, build, and deploy code
  • Tailing real-time build logs, checking container health, and running diagnostic commands
  • Retrieving live container application logs (`whizan_get_application_logs`) to debug runtime crashes and uncaught exceptions
  • Provisioning Cloud Object Storage buckets and generating scoped access keys (`whizan_storage_create_api_key`)
When to Choose Another Workload
  • Users who prefer a 100% visual web console experience

How to Use & Deploy

Option 1Deploy via Web Console

  1. 1Go to 'Settings' in the dashboard.
  2. 2Under 'IDE DevOps MCP & API Keys', click 'Generate Key'.
  3. 3Copy your API key and configure your terminal or `.cursor/mcp.json`.
  4. 4In your terminal, run 'whizan login' and enter your credentials or key.
  5. 5Deploy any project by running 'whizan deploy' from your project root.

Option 2Deploy via CLI & Terminal

Deploy instantly from your local workspace terminal using the global Whizan CLI:

$ npm install -g @whizan/cli && whizan login
Or prompt your AI Coding Assistant (Cursor / Antigravity MCP):
“Audit this workspace and deploy it to Whizan Cloud”

Practical Project Example

cursor-mcp.json
{
  "mcpServers": {
    "whizan": {
      "command": "npx",
      "args": ["-y", "@whizan/mcp-devops"],
      "env": {
        "WHIZAN_API_URL": "https://api.whizan.cloud",
        "WHIZAN_API_KEY": "whz_live_YOUR_API_KEY_HERE"
      }
    }
  }
}

Configuration Reference

Parameter / SettingDescriptionDefault / Recommended
WHIZAN_API_URLAPI control plane URLhttps://api.whizan.cloud
WHIZAN_API_KEYPersonal or team API authentication keyRequired for MCP
Global CLI BinaryCommand line executable installed globally via npm@whizan/cli

Best Practices & Pro Tips

Tip 1Run 'whizan status' from any directory with a .whizan.json file to inspect live deployment health.
Tip 2With the DevOps MCP configured in Cursor or VS Code, prompt your AI assistant to 'deploy this project' and it will autonomously analyze your stack, synthesize settings, and trigger deployment.
Tip 3Debug runtime exceptions instantly: Call 'whizan_get_application_logs' to retrieve stdout/stderr directly from active or recently exited containers.
Tip 4Autonomous Storage Workflow: Agents can call 'whizan_storage_create_api_key' to generate dedicated 'whz_stg_live_...' keys and wire them into WHIZAN_STORAGE_KEY.