Pygg

v0.1.0-dev.9
io.github.nambean/pygg Checked 3 days ago Published 11 days ago

Hand coding subtasks to cheaper agents in Git worktrees, checked before you keep them.

Values you need

VariableWhat it is
PYGG_TOKENrequired secret A Pygg API key allowed to start tasks (Endpoint → API Keys → Limits… → May start tasks). It reaches no model connection.
PYGG_URLoptional Where Pygg's gateway answers. The Pygg app (Windows) or `pygg gateway serve --tasks yes` must be running. Default: http://127.0.0.1:8741

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add pygg -e 'PYGG_TOKEN=<PYGG_TOKEN>' -- npx -y --package=@pygg/cli@0.1.0-dev.9 pygg mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "pygg": {
      "args": [
        "-y",
        "--package=@pygg/cli@0.1.0-dev.9",
        "pygg",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "PYGG_TOKEN": "<PYGG_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "pygg": {
      "args": [
        "-y",
        "--package=@pygg/cli@0.1.0-dev.9",
        "pygg",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "PYGG_TOKEN": "<PYGG_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "PYGG_TOKEN",
      "id": "pygg-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "pygg": {
      "args": [
        "-y",
        "--package=@pygg/cli@0.1.0-dev.9",
        "pygg",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "PYGG_TOKEN": "${input:pygg-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.pygg]
command = "npx"
args = ["-y", "--package=@pygg/cli@0.1.0-dev.9", "pygg", "mcp"]
env = { "PYGG_TOKEN" = "<PYGG_TOKEN>" }

For AI agents

  1. Ask the user for: PYGG_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: pygg_run_task, pygg_task_status, pygg_task_diff, pygg_task_brief, pygg_keep_result, pygg_check_result, pygg_discard_result, pygg_stop_task, ….
  5. 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