Hatchbox
MCP server for Hatchbox Rails hosting — env var inspection, deploys, and process…
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.3
- Listing updated
- 5 days ago
About Hatchbox
Hatchbox is an open-source MCP server. It runs locally on your machine and is started by your AI client.
MCP server for Hatchbox Rails hosting — env var inspection, deploys, and process monitoring.
Install
Run in a 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-serverAdd to claude_desktop_config.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>"
}
}
}
}Add to ~/.cursor/mcp.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>"
}
}
}
}Add to .vscode/mcp.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>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.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>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"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>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
HATCHBOX_API_KEYAPI key for authentication with Hatchbox.RequiredHATCHBOX_ACCOUNT_IDHatchbox account ID visible in the dashboard URL.RequiredHATCHBOX_APP_IDHatchbox application ID visible in the dashboard URL.RequiredHATCHBOX_DEPLOY_KEYDeployment webhook key for triggering deployments.RequiredWEB_SERVER_IP_ADDRESSIP address of Hatchbox server for SSH access to read environment variables.SSH_KEY_PATHPath to SSH private key for server access.HATCHBOX_APP_NAMEApp name to filter processes if multiple apps run on the same server.READONLYSet to false to enable write operations for environment variables.ALLOW_DEPLOYSSet to false to disable deployment operations.
Pricing
Open source
Hatchbox 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.