asset_doctor
Checks native dependencies, free-tier routes, and provider keys for prompt-to-asset MCP server. Optionally validates data integrity or auto-installs missing binaries (Homebrew, cargo, scoop).
Instructions
Structured environment inventory — MCP equivalent of p2a doctor. Returns native-dependency status (sharp, vtracer, potrace, png-to-ico, satori, resvg-js, tesseract.js, svgo), free-tier routes ranked best-first, paid-provider keys, paste-only providers, pipeline extension URLs, which modes are available right now, and a concrete 'what to try next' suggestion list. Read-only by default. Pass check_data=true to also run the model-registry/routing-table integrity check. Pass auto_fix=true to install missing native binaries (Homebrew / cargo / scoop — never sudo); pair with auto_fix_dry_run=true to preview without executing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check_data | No | Also run data-integrity check (equivalent to `p2a doctor --data`). Useful in CI after data edits. | |
| auto_fix | No | Run the auto-installer for missing native binaries (vtracer, potrace). Homebrew on macOS, cargo as fallback, scoop on Windows. Linux distro installs and npm optional deps are surfaced as manual hints instead of executed. Response gains an `auto_fix` field. | |
| auto_fix_dry_run | No | Only meaningful when auto_fix=true. Plan steps without executing. Defaults to false. |