Skip to content

Improve UX for users without uvx installed #559

@paddymul

Description

@paddymul

Problem

When a user runs claude mcp add buckaroo-table -- uvx --from "buckaroo[mcp]" buckaroo-table, Claude Code registers the command but does not verify that uvx exists on PATH. The failure is deferred until the user starts a Claude Code session and the MCP server silently fails to start — a confusing experience with no actionable error message.

Proposed Changes

1. README.md — Add prerequisites before the install command

Add a "Prerequisites" subsection between the "### Install" heading and the claude mcp add command:

  • Explain that uvx (part of uv) is required
  • Provide a uvx --version verification command
  • Link to uv install instructions with a curl one-liner

2. docs/buckaroo-mcp-troubleshooting.md — Two additions

a) Pre-flight check section (after Install options, before Upgrade):

uvx --version && uvx --from "buckaroo[mcp]" buckaroo-table --help
  • If uvx: command not found → install uv
  • If uvx is found but resolution fails → check network, try uv cache prune

b) New "Common issues" entry: "MCP server not available (uvx not found)"

Explain that claude mcp add registers the command but doesn't verify uvx exists. Provide a diagnostic check (which uvx) and fix (install uv, re-run claude mcp add).

3. .github/workflows/checks.yml — Add prerequisite note to PR comment

The PublishTestPyPI job posts a PR comment with install commands. Add a prerequisite reminder before the MCP section:

Prerequisite: Requires uvx (part of uv). Verify with uvx --version.

Future Work

A debug_install CLI command to automate pre-flight checks is a follow-on task.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions