InfraCanvas Docs

MCP server

Connect InfraCanvas to Claude or any MCP-compatible client and operate your infra in natural language.

InfraCanvas ships an MCP server so you can ask Claude (or any MCP-compatible AI client) about your infrastructure — and run actions — straight from the conversation.

The MCP server is available on Pro and Scale plans. See plans & limits.

What you can do

  • Query — "What containers are running on prod?"
  • Check health — "Which pods are failing and why?"
  • View logs — "Show the last 100 lines from web-app"
  • Scale — "Scale the API deployment to 5 replicas"
  • Execute — "Run df -h on the prod server"
  • Run actions — "Restart the nginx container"

1. Get an API key

Go to Settings → API Keys in the dashboard and create a key. Every key works for MCP — there's no extra scope to enable.

2. Configure your client

In Claude Desktop: Settings → Developer → Edit Config, then add the infracanvas server:

{
  "mcpServers": {
    "infracanvas": {
      "command": "npx",
      "args": ["-y", "@infracanvas/mcp"],
      "env": {
        "INFRACANVAS_URL": "https://cloud.infracanvas.app",
        "INFRACANVAS_API_KEY": "<your-api-key>"
      }
    }
  }
}

Restart the client. InfraCanvas tools are now available in the conversation.

The MCP server acts with the permissions of the API key's organization. Treat the key like any other credential.

On this page