S

Subtask

by tedin7 · io.github.tedin7/subtask

Enables coding agents to launch parallel background jobs, wait for completion with a single call, and receive short evidence-backed summaries while managing engine selection, isolation, and spend limits.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-tedin7-subtask": {
      "command": "uvx",
      "args": [
        "subtask-mcp"
      ],
      "env": {
        "CODEX_HOME": "<VALUE>",
        "SUBTASK_HOME": "~/.local/share/subtask",
        "SUBTASK_ROUTING": "~/.config/subtask/routing.json",
        "SUBTASK_ENV_FILE": "~/.config/subtask/env",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "SUBTASK_MAX_JOB_USD": "20",
        "SUBTASK_MAX_RUNNING": "4",
        "SUBTASK_CODEX_JOB_HOME": "~/.codex-job",
        "SUBTASK_CODEX_KEEP_MCP": "<VALUE>",
        "SUBTASK_PROGRESS_MIN_S": "2",
        "SUBTASK_TELEMETRY_DAYS": "90",
        "SUBTASK_DEFAULT_MAX_USD": "2",
        "SUBTASK_MONTHLY_CAP_USD": "180",
        "SUBTASK_JOB_RETENTION_DAYS": "30",
        "SUBTASK_PROGRESS_HEARTBEAT_S": "10"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-tedin7-subtask": {
      "command": "uvx",
      "args": [
        "subtask-mcp"
      ],
      "env": {
        "CODEX_HOME": "<VALUE>",
        "SUBTASK_HOME": "~/.local/share/subtask",
        "SUBTASK_ROUTING": "~/.config/subtask/routing.json",
        "SUBTASK_ENV_FILE": "~/.config/subtask/env",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "SUBTASK_MAX_JOB_USD": "20",
        "SUBTASK_MAX_RUNNING": "4",
        "SUBTASK_CODEX_JOB_HOME": "~/.codex-job",
        "SUBTASK_CODEX_KEEP_MCP": "<VALUE>",
        "SUBTASK_PROGRESS_MIN_S": "2",
        "SUBTASK_TELEMETRY_DAYS": "90",
        "SUBTASK_DEFAULT_MAX_USD": "2",
        "SUBTASK_MONTHLY_CAP_USD": "180",
        "SUBTASK_JOB_RETENTION_DAYS": "30",
        "SUBTASK_PROGRESS_HEARTBEAT_S": "10"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-tedin7-subtask": {
      "command": "uvx",
      "args": [
        "subtask-mcp"
      ],
      "env": {
        "CODEX_HOME": "<VALUE>",
        "SUBTASK_HOME": "~/.local/share/subtask",
        "SUBTASK_ROUTING": "~/.config/subtask/routing.json",
        "SUBTASK_ENV_FILE": "~/.config/subtask/env",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "SUBTASK_MAX_JOB_USD": "20",
        "SUBTASK_MAX_RUNNING": "4",
        "SUBTASK_CODEX_JOB_HOME": "~/.codex-job",
        "SUBTASK_CODEX_KEEP_MCP": "<VALUE>",
        "SUBTASK_PROGRESS_MIN_S": "2",
        "SUBTASK_TELEMETRY_DAYS": "90",
        "SUBTASK_DEFAULT_MAX_USD": "2",
        "SUBTASK_MONTHLY_CAP_USD": "180",
        "SUBTASK_JOB_RETENTION_DAYS": "30",
        "SUBTASK_PROGRESS_HEARTBEAT_S": "10"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-tedin7-subtask": {
      "command": "uvx",
      "args": [
        "subtask-mcp"
      ],
      "env": {
        "CODEX_HOME": "<VALUE>",
        "SUBTASK_HOME": "~/.local/share/subtask",
        "SUBTASK_ROUTING": "~/.config/subtask/routing.json",
        "SUBTASK_ENV_FILE": "~/.config/subtask/env",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "SUBTASK_MAX_JOB_USD": "20",
        "SUBTASK_MAX_RUNNING": "4",
        "SUBTASK_CODEX_JOB_HOME": "~/.codex-job",
        "SUBTASK_CODEX_KEEP_MCP": "<VALUE>",
        "SUBTASK_PROGRESS_MIN_S": "2",
        "SUBTASK_TELEMETRY_DAYS": "90",
        "SUBTASK_DEFAULT_MAX_USD": "2",
        "SUBTASK_MONTHLY_CAP_USD": "180",
        "SUBTASK_JOB_RETENTION_DAYS": "30",
        "SUBTASK_PROGRESS_HEARTBEAT_S": "10"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-tedin7-subtask": {
      "command": "uvx",
      "args": [
        "subtask-mcp"
      ],
      "env": {
        "CODEX_HOME": "<VALUE>",
        "SUBTASK_HOME": "~/.local/share/subtask",
        "SUBTASK_ROUTING": "~/.config/subtask/routing.json",
        "SUBTASK_ENV_FILE": "~/.config/subtask/env",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "SUBTASK_MAX_JOB_USD": "20",
        "SUBTASK_MAX_RUNNING": "4",
        "SUBTASK_CODEX_JOB_HOME": "~/.codex-job",
        "SUBTASK_CODEX_KEEP_MCP": "<VALUE>",
        "SUBTASK_PROGRESS_MIN_S": "2",
        "SUBTASK_TELEMETRY_DAYS": "90",
        "SUBTASK_DEFAULT_MAX_USD": "2",
        "SUBTASK_MONTHLY_CAP_USD": "180",
        "SUBTASK_JOB_RETENTION_DAYS": "30",
        "SUBTASK_PROGRESS_HEARTBEAT_S": "10"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-tedin7-subtask": {
      "command": "uvx",
      "args": [
        "subtask-mcp"
      ],
      "env": {
        "CODEX_HOME": "<VALUE>",
        "SUBTASK_HOME": "~/.local/share/subtask",
        "SUBTASK_ROUTING": "~/.config/subtask/routing.json",
        "SUBTASK_ENV_FILE": "~/.config/subtask/env",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "SUBTASK_MAX_JOB_USD": "20",
        "SUBTASK_MAX_RUNNING": "4",
        "SUBTASK_CODEX_JOB_HOME": "~/.codex-job",
        "SUBTASK_CODEX_KEEP_MCP": "<VALUE>",
        "SUBTASK_PROGRESS_MIN_S": "2",
        "SUBTASK_TELEMETRY_DAYS": "90",
        "SUBTASK_DEFAULT_MAX_USD": "2",
        "SUBTASK_MONTHLY_CAP_USD": "180",
        "SUBTASK_JOB_RETENTION_DAYS": "30",
        "SUBTASK_PROGRESS_HEARTBEAT_S": "10"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
CODEX_HOME No Explicit Codex home directory; takes precedence.
SUBTASK_HOME No Directory for jobs, worktrees, ledger, and telemetry. Default: ~/.local/share/subtask
SUBTASK_ROUTING No Path to routing configuration (weights, "mode": "legacy"). Default: ~/.config/subtask/routing.json
SUBTASK_ENV_FILE No Path to the environment file. Default: ~/.config/subtask/env
ANTHROPIC_API_KEY No API key used by API engines, read from ~/.config/subtask/env.
SUBTASK_MAX_JOB_USD No Maximum spend per job in USD. Default: 20
SUBTASK_MAX_RUNNING No Maximum number of running jobs globally across all processes. Default: 4
SUBTASK_CODEX_JOB_HOME No Directory for Codex job home; used if it has config.toml, otherwise a sanitized ~/.codex-jobs is prepared. Default: ~/.codex-job
SUBTASK_CODEX_KEEP_MCP No Set to keep the normal Codex home and its MCP servers.
SUBTASK_PROGRESS_MIN_S No Minimum interval in seconds for progress updates. Default: 2
SUBTASK_TELEMETRY_DAYS No Number of days to retain telemetry data. Default: 90
SUBTASK_DEFAULT_MAX_USD No Default maximum spend per job in USD. Default: 2
SUBTASK_MONTHLY_CAP_USD No Monthly spending cap in USD. Default: 180
SUBTASK_JOB_RETENTION_DAYS No Number of days to retain job data. Default: 30
SUBTASK_PROGRESS_HEARTBEAT_S No Heartbeat interval in seconds for progress updates. Default: 10

Similar servers