Skip to content

doctor should suggest --with flags when checker tools are missing #93

Description

@wtthornton

Summary

When tapps-mcp doctor detects missing checker tools (ruff, mypy, bandit, radon, vulture, pylint, pip-audit), the suggested fix is:

uv tool install tapps-mcp --with ruff

This doesn't work because tapps-mcp is not on PyPI — it's installed from a local/editable path. The user has to know to pass the original install path.

Suggested improvement

Doctor should:

  1. Read uv-receipt.toml to determine the original install source
  2. Suggest the correct command, e.g.:
    uv tool install --editable /path/to/tapps-mcp --with ruff --with mypy ... --force
    
  3. Or better: suggest a single command that adds all missing tools at once rather than one per tool

Context

During setup, uv tool install tapps-mcp --with ruff failed with "not found in the package registry." The fix required reading uv-receipt.toml manually to find the editable path, then running a combined --with command with --force.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium priorityenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions