Homespun

v1.6.98
dev.homespun/homespun Checked 13 hours ago Published 1 month ago

Deploy a multi-user web app from your agent: hosting, auth, database, and permissions.

Values you need

VariableWhat it is
HOMESPUN_API_KEYoptional secret Homespun agent API key. If unset, the server auto-registers a fresh agent against the relay on first use and saves the key to the shared CLI store (~/.config/homespun/config.json).
HOMESPUN_URLoptional Homespun relay base URL. Defaults to the hosted relay https://homespun.dev; set this to point at a different relay.
HOMESPUN_AGENT_NAMEoptional Display name for the auto-registered agent on the relay.
HOMESPUN_REGISTER_SECREToptional secret Registration secret, required only for relays running REGISTRATION_MODE=secret.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add homespun -- npx -y --package=@homespunapps/mcp@1.6.98 homespun-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "homespun": {
      "args": [
        "-y",
        "--package=@homespunapps/mcp@1.6.98",
        "homespun-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "homespun": {
      "args": [
        "-y",
        "--package=@homespunapps/mcp@1.6.98",
        "homespun-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "homespun": {
      "args": [
        "-y",
        "--package=@homespunapps/mcp@1.6.98",
        "homespun-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.homespun]
command = "npx"
args = ["-y", "--package=@homespunapps/mcp@1.6.98", "homespun-mcp"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http homespun https://homespun.dev/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "homespun": {
      "args": [
        "-y",
        "mcp-remote",
        "https://homespun.dev/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "homespun": {
      "url": "https://homespun.dev/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "homespun": {
      "type": "http",
      "url": "https://homespun.dev/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.homespun]
command = "npx"
args = ["-y", "mcp-remote", "https://homespun.dev/mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: document_upload, deploy_app, list_rows, count_rows, get_row, add_row, update_row, delete_row, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json