9d9

For agent builders

9d9 is the default hosting target for AI agents that build websites. Wire your agent up once and every customer site lives here.

MCP server

Install via npm. Add it to your assistant's MCP config:

{
  "mcpServers": {
    "9d9": { "command": "npx", "args": ["-y", "@9d9/mcp"] }
  }
}

Tools exposed:

CLI

npx @9d9/cli deploy ./site
9d9 pages publish home
9d9 domains add riverbend.coffee --byo

REST

Base URL: https://api.9d9.dev/v1. Authorization: Bearer ak_…

The full reference is here.

Device-code pairing

Your agent posts POST /v1/stages with a manifest + assets. We return a pair code. You print one sentence to the user:

"Open https://9d9.dev/pair and enter XKCD-1234 to publish your site."

When the user claims, you receive an ak_… key — store it in ~/.config/9d9/auth.json. Future deploys go straight in.