Skip to content
VS Code

hatchbox for VS Code

com.pulsemcp/hatchbox

MCP server for Hatchbox Rails hosting — env var inspection, deploys, and process monitoring.

client:VS Code transport:stdio runtime:npm

Install hatchbox in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "hatchbox-api-key",
      "description": "HATCHBOX_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "hatchbox-account-id",
      "description": "HATCHBOX_ACCOUNT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "hatchbox-app-id",
      "description": "HATCHBOX_APP_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "hatchbox-deploy-key",
      "description": "HATCHBOX_DEPLOY_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "web-server-ip-address",
      "description": "WEB_SERVER_IP_ADDRESS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ssh-key-path",
      "description": "SSH_KEY_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "hatchbox-app-name",
      "description": "HATCHBOX_APP_NAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "readonly",
      "description": "READONLY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "allow-deploys",
      "description": "ALLOW_DEPLOYS",
      "password": true
    }
  ],
  "servers": {
    "hatchbox": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "hatchbox-mcp-server"
      ],
      "env": {
        "HATCHBOX_API_KEY": "${input:hatchbox-api-key}",
        "HATCHBOX_ACCOUNT_ID": "${input:hatchbox-account-id}",
        "HATCHBOX_APP_ID": "${input:hatchbox-app-id}",
        "HATCHBOX_DEPLOY_KEY": "${input:hatchbox-deploy-key}",
        "WEB_SERVER_IP_ADDRESS": "${input:web-server-ip-address}",
        "SSH_KEY_PATH": "${input:ssh-key-path}",
        "HATCHBOX_APP_NAME": "${input:hatchbox-app-name}",
        "READONLY": "${input:readonly}",
        "ALLOW_DEPLOYS": "${input:allow-deploys}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

hatchbox in other clients