CLI and MCP
The CLI uses the same hosted API as the dashboard. Use it when setup needs to be repeatable or scriptable.
Common commands:
draftstack projects list --output jsondraftstack repos list --output jsondraftstack suggestions list --project <project-id> --output jsonUse --output json for scripts and agent workflows.
The MCP server is API-backed. Agents can list projects, inspect suggestions, view diffs, approve useful suggestions, and dismiss incorrect suggestions with scoped tokens.
Use MCP for review workflows where the agent needs structured access to DraftStack data instead of scraping the dashboard.