servers icon indicating copy to clipboard operation
servers copied to clipboard

everything: get-resource-reference prompt resourceType arg missing description (blocks automated invocation)

Open PengSpirit opened this issue 7 months ago • 2 comments

Heads-up issue: server-everything (modelcontextprotocol/servers)

Repo: https://github.com/modelcontextprotocol/servers Filed by: PengSpirit Filed before: Apr 25, 2026 (72h before Apr 29 launch of mcp-probe)


Title

get-resource-reference prompt: resourceType arg is missing a description, blocks automated invocation

Body

Hi — running mcp-probe against @modelcontextprotocol/[email protected] surfaces one schema warning that becomes a hard failure when the prompt is invoked:

WARN  get-resource-reference — Property "resourceType" missing description
FAIL  resource-prompt — MCP error -32603: Invalid resourceType: test. Must be Text or Blob.

The server correctly enforces the enum, but because MCP prompt arguments don't carry a JSON schema (only name / description / required), there's no machine-readable way for a caller to know that resourceType accepts only Text or Blob. The convention is to encode allowed values in the description (e.g. "Type of resource. Must be Text or Blob."). Without that, every automated caller has to guess.

Suggested fix: populate the description field on the resourceType argument of the get-resource-reference prompt with prose that names the allowed values, e.g. "Type of resource — must be 'Text' or 'Blob'."

mcp-probe already has a fallback heuristic that extracts allowed values from descriptions matching "must be X or Y" / "one of: X" (commit 3825170 in the mcp-probe repo). Once the description is filled in, this prompt would pass cleanly.

This is a schema-completeness issue, not a server bug — the server itself works correctly. Filing a friendly heads-up because we're about to publish a scorecard that includes this finding, and want maintainers to have time to respond.

Repro:

npx -y @incultnitostudiosllc/mcp-probe test "npx -y @modelcontextprotocol/server-everything"

Thanks for server-everything — it's the most useful integration test target in the ecosystem precisely because it exercises every protocol corner.

PengSpirit avatar Apr 19 '26 03:04 PengSpirit

Triage: Priority Low (total 3)

  • Severity 1: The prompt argument's description ('Type of resource to fetch') does not name the allowed values Text and Blob; naming them is a small usability fix.
  • Urgency 2: wanted eventually
  • Bonuses: none

Board: Servers V2 (#43), Status Incoming, awaiting maintainer review (no milestone yet). Part of the backlog triage in #4875.

cliffhall avatar Oct 19 '26 16:10 cliffhall

Prior work, from the PR backlog triage (#4877). These outside pull requests addressed this issue against the pre-refactor code:

  • #4000 by @Jim1874

They are being closed as part of the backlog triage in #4875, since the repository now takes issues rather than outside PRs and their diffs predate the v2 refactor. They stay readable and serve as prototypes for the fix here. Thank you to their authors.

cliffhall avatar Oct 20 '26 06:10 cliffhall