askwire

MCP elicitation, measured on the real clients

Your MCP server asks a question.
Is anybody there?

Claude Code and Codex both tell your server they support elicitation. In a headless run they then answer it themselves: cancel in 3 ms, decline in 2 ms. askwire runs the AI clients installed on your machine against a probe server and shows you what each one really sends back.

npx github:Blackman99/askwire

The curtain only goes up when a person is in front of the screen.

CLAUDE-P

2.1.312 · form + url

 

CODEXEXEC

0.165.0 · form + url

 

OPENCODERUN

1.19.5 · not advertised

 

GEMINI-P

0.65.0 · not advertised

 

Replay of real runs on 2026-10-25, slowed down so you can watch. The millisecond figures are what the probe server logged. Reproduced on a clean GitHub runner in CI.

Q1

Faster than anyone can read

A person needs about a quarter of a second just to react to something appearing on screen, and far longer to read a question and decide. Here is when each client answered, on a log scale.

Headless answers arrive two orders of magnitude before a person could react. Interactive answers arrive after the question was drawn on screen and askwire pressed Esc.

Q2

One command, the clients you already have

No account and no API key. askwire points each client at a local stand-in model that calls the probe tools, so nothing leaves your machine and your own client settings are never read or changed.

npx github:Blackman99/askwire
askwire 0.1.0 · does your MCP server's question reach a human?
probe AW-CRJL · 2026-10-25 10:28 UTC+08:00 · 4 client runs

claude 2.1.310  claude -p
  │ initialize   advertises elicitation: form + url
  │ form         cancel   in 4 ms · no terminal, so the client answered, not a person
  │ url          cancel   in 4 ms · no terminal, so the client answered, not a person
  └ CLAIMS SUPPORT · ANSWERS WITHOUT A HUMAN

codex 0.164.0  codex exec
  │ initialize   advertises elicitation: form + url
  │ form         decline  in 2 ms · no terminal, so the client answered, not a person
  │ url          decline  in <1 ms · no terminal, so the client answered, not a person
  └ CLAIMS SUPPORT · ANSWERS WITHOUT A HUMAN

opencode 1.19.4  opencode run
  │ initialize   does not advertise elicitation
  │ unadvertised error    -32601 Method not found (after 5 ms)
  └ NO SUPPORT · SAYS SO

gemini 0.65.0  gemini -p
  │ initialize   does not advertise elicitation
  │ unadvertised error    -32601 Method not found (after 4 ms)
  └ NO SUPPORT · SAYS SO

Add --tui to drive the interactive UIs in tmux and check that the question is really drawn on screen. --markdown prints a table for an issue, --json prints everything.

Q3

decline or cancel? Depends who you ask

The spec gives the three answers distinct meanings: accept means the user submitted, decline means the user explicitly said no, cancel means they dismissed it without choosing. Same probe, five situations:

situationclaude 2.1.312codex 0.165.0spec says
headless, formcancel 5 msdecline 2 msnobody was asked: no answer is "right"
headless, urlcancel 2 msdecline 1 mssame
on screen, Esc, formcancelcancelcancel
on screen, Esc, urlcanceldeclinecancel
on screen, nobody touches itno answer in 60 sno answer in 60 snothing, until your timeout

So a decline from codex may mean "nobody was there" or "the user closed the dialog", and a cancel from Claude Code looks the same whether a person pressed Esc or no terminal existed. Neither answer proves a person saw anything.

Q4

What your server should do about it

  1. Only accept with the content you asked for is consent. Treat decline and cancel the same: do not proceed.
  2. Always pass a timeout. Left alone on screen, Claude Code and Codex held the question for the full 60 s and never answered or cancelled. Your timeout is the only thing that ends it.
  3. Do not read "advertises elicitation" as "a person is there". Headless runs advertise it too.
  4. Log accepts. Claude Code hooks can answer elicitations on the user's behalf, in about 20 ms.
// TypeScript SDK
const r = await server.server.elicitInput(params, { timeout: 120_000 });
if (r.action !== "accept" || !r.content?.confirm) {
  return { content: [{ type: "text", text: "Not confirmed. Nothing was changed." }] };
}

Q5

How the probe works

Want your server, client or another harness covered? Open an issue. The docs cover every flag, the JSON format and the FAQ. The write-up: decline vs cancel, and who is actually answering (中文).