Skip to content

fix(mcp): bump rmcp to 3.5.1 so Claude Code 2.1.291 sees anthrex's tools; release 0.1.1 - #40

Merged
danielpina1 merged 2 commits into
mainfrom
fix/mcp-cache-hints
Oct 6, 2026
Merged

danielpina1 merged 2 commits into
mainfrom
fix/mcp-cache-hints

Conversation

@danielpina1

@danielpina1 danielpina1 commented Oct 6, 2026 •

Copy link
Copy Markdown
Owner

With Claude Code 2.1.291, every scout run fails "profile detect" with "the scout ended two turns without a report". The scout never sees submit_scout_report.

Cause

Claude Code 2.1.291 speaks MCP 2026-07-28. It opens with server/discover and no initialize, and it drops every tool from a tools/list result that lacks the cache hints ttlMs and cacheScope. rmcp 3.4.0 returns them on server/discover but not on tools/list.

How it was found on nexus1 (Ubuntu 26.04, Claude Code 2.1.291):

  • I recorded the traffic between Claude Code and anthrex mcp. anthrex answered every tools/list with the tool, Claude asked four times, and the tool never appeared.
  • A relay that added only ttlMs and cacheScope to those replies made mcp__anthrex__submit_scout_report appear.

Fix

Bump the exact pin of rmcp from =3.4.0 to =3.5.1. That release includes "default missing cache hints for 2026-07-28 peers" (modelcontextprotocol/rust-sdk#1308). The pin stays exact (decision 5), and no anthrex code changes.

Test: crates/mcp/tests/stdio.rs::a_2026_07_28_peer_gets_cache_hints_on_tools_list replays Claude Code's opening. It failed on 3.4.0 (no ttlMs) and passes on 3.5.1.

Verification (local)

cargo test -p anthrex-mcp                       all pass (new test included)
cargo test -p anthrex --test mcp_cli            3 passed
cargo fmt --all --check                         ok
cargo +1.99 clippy --workspace --all-targets -- -D warnings                                     ok
cargo +1.99 clippy --workspace --all-targets --target x86_64-unknown-linux-gnu -- -D warnings   ok

The full suite and the smoke test run in CI.

Release 0.1.1

The second commit bumps the workspace version to 0.1.1 and adds the CHANGELOG entry, and docs/install.md now points at v0.1.1. After merge, v0.1.1 is tagged on main once its CI is green.

🤖 Generated with Claude Code

danielpina1 and others added 2 commits October 6, 2026 16:42
Claude Code 2.1.291 speaks MCP 2026-07-28 (server/discover, no
initialize) and drops every tool from a tools/list result without the
cache hints ttlMs and cacheScope. rmcp 3.4.0 left them out, so a scout
never saw submit_scout_report and every profile detection failed with
"the scout ended two turns without a report". rmcp 3.5.1 defaults the
missing hints for such peers (modelcontextprotocol/rust-sdk#1308).

The pin stays exact (decision 5). The new stdio test replays Claude
Code's own opening and fails on 3.4.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@danielpina1 danielpina1 changed the title fix(mcp): bump rmcp to 3.5.1 so Claude Code 2.1.291 sees anthrex's tools fix(mcp): bump rmcp to 3.5.1 so Claude Code 2.1.291 sees anthrex's tools; release 0.1.1 Oct 6, 2026
@danielpina1
danielpina1 merged commit e247e33 into main Oct 6, 2026
2 checks passed
@danielpina1
danielpina1 deleted the fix/mcp-cache-hints branch October 11, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant