# Hatchbox

> Hatchbox is an open-source MCP server. MCP server for Hatchbox Rails hosting — env var inspection, deploys, and process monitoring. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/pulsemcp/mcp-servers/tree/HEAD/experimental/hatchbox
- **MCP Registry name:** com.pulsemcp/hatchbox
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add hatchbox --env HATCHBOX_API_KEY='<HATCHBOX_API_KEY>' --env HATCHBOX_ACCOUNT_ID='<HATCHBOX_ACCOUNT_ID>' --env HATCHBOX_APP_ID='<HATCHBOX_APP_ID>' --env HATCHBOX_DEPLOY_KEY='<HATCHBOX_DEPLOY_KEY>' -- npx -y hatchbox-mcp-server
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "hatchbox": {
      "command": "npx",
      "args": [
        "-y",
        "hatchbox-mcp-server"
      ],
      "env": {
        "HATCHBOX_API_KEY": "<HATCHBOX_API_KEY>",
        "HATCHBOX_ACCOUNT_ID": "<HATCHBOX_ACCOUNT_ID>",
        "HATCHBOX_APP_ID": "<HATCHBOX_APP_ID>",
        "HATCHBOX_DEPLOY_KEY": "<HATCHBOX_DEPLOY_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "hatchbox": {
      "command": "npx",
      "args": [
        "-y",
        "hatchbox-mcp-server"
      ],
      "env": {
        "HATCHBOX_API_KEY": "<HATCHBOX_API_KEY>",
        "HATCHBOX_ACCOUNT_ID": "<HATCHBOX_ACCOUNT_ID>",
        "HATCHBOX_APP_ID": "<HATCHBOX_APP_ID>",
        "HATCHBOX_DEPLOY_KEY": "<HATCHBOX_DEPLOY_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "hatchbox": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "hatchbox-mcp-server"
      ],
      "env": {
        "HATCHBOX_API_KEY": "<HATCHBOX_API_KEY>",
        "HATCHBOX_ACCOUNT_ID": "<HATCHBOX_ACCOUNT_ID>",
        "HATCHBOX_APP_ID": "<HATCHBOX_APP_ID>",
        "HATCHBOX_DEPLOY_KEY": "<HATCHBOX_DEPLOY_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "hatchbox": {
      "command": "npx",
      "args": [
        "-y",
        "hatchbox-mcp-server"
      ],
      "env": {
        "HATCHBOX_API_KEY": "<HATCHBOX_API_KEY>",
        "HATCHBOX_ACCOUNT_ID": "<HATCHBOX_ACCOUNT_ID>",
        "HATCHBOX_APP_ID": "<HATCHBOX_APP_ID>",
        "HATCHBOX_DEPLOY_KEY": "<HATCHBOX_DEPLOY_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "hatchbox": {
      "command": "npx",
      "args": [
        "-y",
        "hatchbox-mcp-server"
      ],
      "env": {
        "HATCHBOX_API_KEY": "<HATCHBOX_API_KEY>",
        "HATCHBOX_ACCOUNT_ID": "<HATCHBOX_ACCOUNT_ID>",
        "HATCHBOX_APP_ID": "<HATCHBOX_APP_ID>",
        "HATCHBOX_DEPLOY_KEY": "<HATCHBOX_DEPLOY_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Hatchbox free?

Yes. Hatchbox is open source, so you can use and self-host it for free.

### How do I add Hatchbox to Claude Code?

Run this command in your terminal: claude mcp add hatchbox --env HATCHBOX_API_KEY='<HATCHBOX_API_KEY>' --env HATCHBOX_ACCOUNT_ID='<HATCHBOX_ACCOUNT_ID>' --env HATCHBOX_APP_ID='<HATCHBOX_APP_ID>' --env HATCHBOX_DEPLOY_KEY='<HATCHBOX_DEPLOY_KEY>' -- npx -y hatchbox-mcp-server

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/hatchbox
