Menu

1 / 3

A confirmation with no session

DEV Community: rust·wolfejam.dev·3 days ago
#do6CvLPr
#devtorust#devto#dev#round#message
Long article (1715 words) — no AI summary yet.
Reading 0:00
15s threshold

What a sealed requestState can and can't promise on MCP 2026-07-28

Some tools should ask before they act: delete, pay, send. On MCP's 2026-07-28 protocol a server can pause a tool call and ask the user, in the middle of the call, without holding a connection open. The catch is that the server keeps no session. Whatever it needs to remember between the question and the answer has to travel with the client, in a token called requestState .

mcp-better teaches this pattern: it is a Rust MCP server written as a textbook. Its confirm_echo tool asks you to type CONFIRM, then echoes your message. A raw HTTP test of version 0.7.0 found that the confirmation promised more than it delivered. Version 0.8.0 adds an expiry and refuses a changed message, and says plainly what it still doesn't do. Every response below is a real capture from those two versions.

1. Two round trips, no session

This is SEP-2322, multi round-trip requests.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.