Closed beta — join the waiting list

MCP Integration

Deploy and manage apps directly from AI agents via Model Context Protocol.

Setup

Add the Hatch MCP server to your agent configuration:

{
  "mcpServers": {
    "hatch": {
      "command": "npx",
      "args": ["@hatch/mcp-server"]
    }
  }
}

Available MCP tools

The Hatch MCP server exposes these tools for AI agents:

deploy_app

Takes a directory, returns a live URL.

add_database

Provisions PostgreSQL, injects credentials.

add_storage

S3-compatible bucket.

view_logs

Returns recent application logs.

check_status

Is it running? Any errors?

set_secret

Set environment variables.

connect_domain

Custom domain setup.

get_database_url

For when you need to write DB code.

CLI alternative

You can also deploy via the CLI using git push hatch main. See the Getting Started guide or the Tell Your Agent page for agent-optimized deployment instructions.

Hatch mascot