Skip to content

Skills-verification budget-exceeded message names a --method skills/get --uri escape hatch with no test asserting it round-trips #2428

Closed

Description

@CloneOfAlex

Which version line?

v2 — current (@modelcontextprotocol/inspector@latest)

Which client?

All / shared core

Inspector version

2.7.0 (git tag) — static code-review finding, not run locally

Node version

N/A — static code review, no live run performed

Operating system (and browser, for the web client)

N/A — static code review

Transport

Not applicable / never connected

MCP server under inspection

N/A — this is a static code-review finding against the 2.7.0 tag's core/mcp/skillsVerification.ts and its test file, not a live reproduction against a running MCP server.

Steps to reproduce

Found via static review of the 2.7.0 tag source, not a live run.

  1. core/mcp/skillsVerification.ts (~line 382) emits, when a run hits its catalog budget: "Not read: this run already reached its catalog budget of ${budget.maxSkills} skills / ${budget.maxBytes} bytes (raise it in the server's Skills settings). Nothing about this skill's files has been checked — verify it on its own with --method skills/get --uri to get a verdict."
  2. A repo-wide grep for the string "skills/get --uri" across all test files returns zero matches.
  3. So the escape hatch the message tells a user to run has no test confirming that running --method skills/get --uri against a skill that was skipped for budget reasons actually produces the promised verdict (i.e. that it round-trips: skip → follow the suggested command → get a real check).
    No live CLI run was performed; this is based on reading skillsVerification.ts and grepping the test suite against the 2.7.0 tag.

Expected behavior

The --method skills/get --uri command the budget-exceeded message tells users to run is covered by a test proving it actually verifies a skill that was skipped for budget reasons — i.e. the suggested escape hatch is known-good, not just plausible-sounding text in an error message.

Actual behavior

The budget-exceeded message hardcodes the exact CLI invocation --method skills/get --uri as the recommended workaround, but no test in the repo exercises that invocation against a skill that was skipped for budget reasons, so nothing guards against the flag name, method name, or behavior drifting out of sync with the message that recommends it.

Suggested fix: add a test that simulates hitting the catalog budget, then runs (or simulates running) --method skills/get --uri <skipped-skill-uri> and asserts it returns a real verdict for that skill, so the escape hatch the message advertises is proven to round-trip.

Logs, errors, or screenshots

No response

Already prototyped a fix?

No response

Before you submit

  • I searched existing issues and this is not a duplicate.
  • This is not a security vulnerability report (those go through the private advisory process).

Activity

  1. added
    bug
    on Sep 18, 2026
  2. added
    v2
    chore
    and removed
    bug
    on Sep 18, 2026
  3. cliffhall commented on Sep 18, 2026

    @cliffhall
    Member

    Triage: Priority Low (total 3)

    • Severity 2 — a test-coverage gap behind a documented escape hatch; the message could be wrong and nothing would catch it
    • Urgency 1 — nothing waits on it
    • Bonuses: none

    Labels applied at triage: v2, chore (test tooling) — replacing the form's static bug.

    Board: #28, Status Incoming (awaiting maintainer review — no milestone yet).

  4. added this to the v2.10.0 milestone on Sep 23, 2026
  5. self-assigned this
    on Oct 5, 2026
  6. added a commit that references this issue on Oct 8, 2026
    a0e6d47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

chorev2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions