Hand-rolled MCP client #232

Open
opened 2026-11-21 12:37:03 +00:00 by johannes · 0 comments
Owner

Location: crates/hx-mcp/src/client.rs (module)
What is hacky: custom JSON-RPC client without sampling/elicitation/roots (answered "method not found").
Proper fix: adopt rmcp or implement the missing server-to-client features.
Original comment: "ponytail: hand-rolled instead of rmcp (~1 dep tree less); covers initialize, tools, resources, prompts, ping. No server->client sampling/elicitation/roots (answered with "method not found"), HTTP OAuth lives in oauth.rs."

Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).

Location: crates/hx-mcp/src/client.rs (module) What is hacky: custom JSON-RPC client without sampling/elicitation/roots (answered "method not found"). Proper fix: adopt `rmcp` or implement the missing server-to-client features. Original comment: "ponytail: hand-rolled instead of `rmcp` (~1 dep tree less); covers initialize, tools, resources, prompts, ping. No server->client sampling/elicitation/roots (answered with \"method not found\"), HTTP OAuth lives in `oauth.rs`." Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
johannes added the mcp label 2026-11-21 12:37:03 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#232