MCP
Status: 2026-11-14. Built: the Host's MCP client (internal/mcp: JSON-RPC 2.0 over stdio and Streamable HTTP, protocol 2025-06-18, tools/list with pagination, tools/call, notificati
Status: 2026-11-14. Built: the Host's MCP client (internal/mcp: JSON-RPC 2.0 over stdio and Streamable HTTP, protocol 2025-06-18, tools/list with pagination, tools/call, notifications/tools/list_changed, ping, form elicitation) and the manifest adapter (internal/bundle: servers declared in plugin.yaml, prefixed tool names, include/exclude, approval patterns, the last good tool list, server instructions as context items, one-field elicitation as a question, restarts with backoff, call timeouts). Built of P37: hashed names instead of skipping (invalid characters become _, a name over 64 characters keeps a prefix and a hash, internal/bundle/structured.go), structuredContent kept in the result whenever the text does not show it and checked against outputSchema with a visible note on a mismatch (review T15), the D12/D24 transport fixes, and a server's parallel: true, which marks its tools concurrent. Also built of P37: the schema and description cleanup of section 3.2 (internal/bundle/schema.go), the content table of section 4 (results.go: at most 4 images, audio and binary resources as undelivered artifacts, embedded text resources, resource_link naming read_resource, an empty error), and resources as tools (section 7, resources.go, internal/mcp/resources.go). Multi-field elicitation is built too (section 6), and prompts without required arguments as skills (section 7, internal/bundle/prompts.go). Protocol 2025-11-25 with URL elicitation is built too (section 8), and OAuth per principal (section 9, ADR 0004). Also built: an elicitation is bound to its call over HTTP when it arrives on the call's response stream (callContext in internal/mcp/server_requests.go, internal/bundle/elicit_http_test.go); URL questions from a group go to the person's direct chat (privateIn in internal/bundle/elicit_url.go), and a sign-in from a group is refused (section 9); a server's start and handshake are bounded at 30 s (startTimeout in internal/bundle/server.go); a list over 128 tools logs mcp.many_tools. Still proposed (P37): list_changed debouncing, and keeping the last good list while a server is down (section 2). Prompts with required arguments are deferred until the skills work (P32) is built. Protocol 2026-07-28 (MRTR, tasks, subscriptions/listen, ttlMs) is a later follow-up. MCP images reach the model as image parts and are not delivered (P25); the result caps and untrusted wrapping are in tool results. Tested on macOS only.
1. Declaring a Server
An MCP server is declared by a manifest plugin (execution: manifest), and every instance of that plugin runs its own servers.
# plugin.yaml (built fields)
roles: [tool, skill, context] # context: pass server instructions to the model
mcp_servers:
- name: rail
command: [npx, -y, 12306-mcp] # stdio; or url: https://example.com/mcp
env: {TZ: Asia/Shanghai} # values may use ${ENV}, ${PLUGIN_ROOT}, ${PLUGIN_DATA}, ${PLUGIN_DEPS}, ${option.KEY}
tools: {include: ["*"], exclude: ["debug_*"]} # path.Match globs on the server's tool names
approval: ["book_*"] # these tools need approval# Host configuration, instance config (built: env, headers, call_timeout)
plugins:
- id: rail
plugin: rail-12306
config:
env: {HTTPS_PROXY: "${PROXY}"}
headers: {Authorization: "Bearer ${RAIL_TOKEN}"} # URL servers only
call_timeout: 2m
call_timeouts: {"rail/query_*": 30s} # P37: per server/tool glob, at most 30m
trusted_servers: [rail] # P37: annotations become hintsA stdio command runs without a shell: ./x resolves in the plugin directory, anything else through PATH; policy.mcp_commands limits which executables may run. The server's environment is a small allowlist from the Host (PATH, HOME, USER, LANG, LC_ALL, TMPDIR, TZ, plus the Windows system variables), the manifest's env, then the instance's env (internal/bundle/bundle.go).
2. Lifecycle
| Event | Behavior (built unless marked) | Log |
|---|---|---|
| First use (tool listing, a call, or instructions) | Start the server; initialize offering protocol 2025-11-25 (section 8), client capabilities elicitation when set; start and handshake bounded at 30 s (startTimeout) | — |
| Server stopped or crashed | Next use closes the client and starts again | mcp.server_stopped |
| Start failed | Retry after 2, 4, 8, 16, 32, then 60 s (2^min(failures,6) s, at most 1 min); in between, calls get mcp.restarting. While it is down the bundle offers one stand-in tool, <instance>__unavailable (with several servers, <instance>__<server>__unavailable), in place of its tools: calling it returns why (the start error, the query of any URL left out, since it may carry a key), so the model can tell the person (Feishu #357) | mcp.server_unavailable, once per change of the error |
tools/list | Timeout 30 s, at most 100 pages; failure keeps the last good list | mcp.discovery_failed |
tools/call | Bounded by call_timeout (default 2 min); on expiry notifications/cancelled is sent | tool.called |
| Instance closed | stdio: stdin closed, 2 s grace, then kill; HTTP: DELETE of the session | — |
| Messages | At most 16 MiB per JSON-RPC message; stdio keeps the last 8 KiB of stderr for errors | — |
Server requests other than ping and elicitation/create are answered with JSON-RPC error -32601.
Fixed (D12, D24): the Streamable HTTP transport sends each request with the call's context, so call_timeout bounds dialing, the response headers and the response stream; the call returns as soon as its answer arrives, even if the server keeps the stream open. notifications/cancelled, replies to the server and the DELETE at close each have a 5 s limit. One server-sent event may not exceed 16 MiB, and its data lines are joined with newlines. Tests: internal/mcp/http_test.go. There is no GET stream, so an HTTP server's list_changed arrives only inside a response stream.
A server that is down (P37 bundle part): today Tools leaves out the tools of a server that cannot start, so a call to a pinned tool is refused as tool.unknown, or reaches the bundle and returns tool error: mcp.restarting: …. The bundle instead keeps offering the last good list while the server restarts and answers a call with E9 of tool results: The {server} tools are unavailable right now ({reason}). Try again later in this task or use another tool. A response stream that breaks during a call answers The connection to the {server} server broke during this call, so its outcome is unknown. Check the current state before retrying.
3. Tools
3.1 Names
Built: <instance>__<tool>, or <instance>__<server>__<tool> when the plugin declares several servers; invalid characters become _, and a name that changed or is over 64 characters keeps a prefix plus _ and 8 hex characters of SHA-256 of the full name (P37, modelName in internal/bundle/structured.go). The plan, which the built code follows except that it hashes the full name and gives a suffix to every changed name:
- Replace every character outside
[A-Za-z0-9_-]with_(64 characters of that set is what OpenAI-compatible APIs accept;TestRejectsNonPortableToolNameinplugins/openai). - If the result is over 64 characters, or equals another tool's name of the same instance after step 1, keep the first 55 characters and append
_plus 8 hex characters of SHA-256 ofserver + "\x00" + tool. Every colliding name gets a suffix, so the outcome does not depend on order. - Sort each server's tools by model-visible name.
- Keep a table from model-visible name to (server, original name);
Invokeuses it, never a prefix match.
The names are a function of the server's list, so they stay the same across restarts while the list is unchanged; a renamed tool is a changed tool and is hidden from runs that pinned the old one.
3.2 Schemas (P37)
The bundle normalizes each inputSchema once per listing; dialect conversion for one vendor (Gemini subset, OpenAI strict) stays in the model plugin.
- ◆A missing or non-object schema becomes
{"type":"object","properties":{}}(built for missing);type: objectwithoutpropertiesgetsproperties: {}. - ◆
definitionsbecome$defs, with#/definitions/references rewritten. - ◆A schema over 16 KiB is replaced with
{"type":"object"}, the description gets the line(The argument schema of this tool is too large to show. Pass the arguments its description names.), and the bundle logsmcp.schema_too_large. P14 validation then accepts any object and the server validates. - ◆Descriptions lose invisible and bidirectional control characters (U+200B–U+200F, U+202A–U+202E, U+2060–U+2064, U+2066–U+2069, U+FEFF) and are cut at 2,000 characters. A description that matches an injection pattern (
ignore (all|previous) instructions,system prompt,<orq:) is loggedmcp.description_suspicious, not changed. - ◆
outputSchemais kept by the bundle for result checks and not sent to the model.
3.3 Hints
Every MCP tool is untrusted (P23). Annotations are untrusted unless the server is (mcp:docs/specification/2026-07-28/server/tools.mdx:303-307), so only for servers in trusted_servers the bundle maps readOnlyHint to read_only and concurrent, and destructiveHint to destructive. Approval still comes only from the manifest's approval, the instance's approval and the agent's rules.
3.4 Changes to the List
Built: after a (re)start and on notifications/tools/list_changed the list is marked stale and fetched again on next use; a running run keeps its pinned list (TestRunsKeepTheToolCatalogTheyStartedWith). Planned: debounce re-listing by 100 ms. A later follow-up, with protocol 2026-07-28: honor a list's ttlMs and receive list_changed through subscriptions/listen.
4. Results
Before P37 (convert, now internal/bundle/results.go): text stays text; images and audio become artifacts that are delivered to people with the final answer, and the model reads [image attached: {name}]; an embedded resource becomes its text or [resource {uri}]; a resource_link becomes [resource {name} {uri}]; isError is kept; structuredContent is not parsed, so a server that returns only structured content gives an empty result. Built with P37 and P25:
| MCP content | Becomes |
|---|---|
text | Text |
structuredContent | Not shown when text content exists (the spec says a tool SHOULD also return it as text). Otherwise compact JSON as the text. Validated against outputSchema when the tool has one; a mismatch is logged mcp.output_mismatch, never refused |
image | A P25 image part on an undelivered run artifact, at most 4 per result; beyond that [{n} more images omitted] |
audio | An undelivered run artifact and the line [audio "{name}", {mime}, {bytes} bytes, artifact {id}; not shown here] |
resource with text | [Resource {uri}] and the text on the next line |
resource with blob | An image part for image types; otherwise an undelivered artifact and a line like audio |
resource_link | [Resource {uri} "{title}" ({mime}, {size} bytes). Read it with {prefix}__read_resource.], the last sentence only when the server offers resources |
isError with no content | The MCP tool {name} reported an error without details. |
Only the artifact tool, or a tool that sets Artifacts on purpose, delivers files to people. Results then go through the agent's shaping: at most 40 KiB unless the tool is paged, wrapped in <orq:untrusted source="…"> (tool results, sections 2 and 4.4).
5. Server Instructions
Built: when the manifest declares the context role, each server's instructions from initialize become one context item titled Instructions from the {server} tools, cut at 2,000 characters with … (TestPathVariablesAndInstructions). They reach the model as reference material in <orq:reference>, never in the system prompt, so a server cannot change the stable prefix. With protocol 2026-07-28 the instructions come from server/discover.
6. Elicitation
Built (internal/bundle/elicit.go): a server's elicitation/create during a call becomes a question to the person behind that call, keyed elicit:{server}:{12 hex of SHA-256 of message and schema} under the call's key (Caller.Ask adds the prefix), so a restart finds the same question. A boolean field is asked as an approval; one string, number or integer field as a free-text question; anything else is declined (mcp.elicit_multi_field). Over HTTP a request that arrives on a call's response stream is bound to that call (callContext in internal/mcp/server_requests.go, elicit_http_test.go); otherwise, when more than one call of the server is in progress, the request cannot be bound to a call and is declined (mcp.elicit_no_single_call). Built of P37 (elicit.go, elicit_fields.go): several fields, in the order the server wrote them, each asked as one question keyed {key}:{field} (questions hold one entry each, so the fields are asked one after another rather than four to a question); single- and multi-select enums as options, booleans as Yes/No; an answer that does not convert is asked once more with the hint, then the request is declined; an optional field answered with nothing is left out; secrets, nested schemas and more than 8 fields are declined and logged mcp.elicit_declined with reason sensitive, unsupported or multi_field. Also built of P37 (URL mode and binding below); the first two items are the original plan, which the built code above replaces:
- ◆Several fields. A flat schema of at most 8 primitive fields (
stringwith optionalformat,number,integer,boolean, single- or multi-select enums) becomes P26 structured questions: one entry per field with the field title as header, enum values orYes/Noas options, free text otherwise; at most 4 entries per question, so 5–8 fields are two questions in order. Values are converted to the field type; an answer that does not convert is asked once more withThe answer must be {a number | an email address | one of: …}., then the request is declined. - ◆No secrets in forms. A field whose name matches
password|passwd|secret|token|api[_-]?key|otpis declined and loggedmcp.elicit_sensitive; the spec forbids servers to ask for secrets in form mode. - ◆URL mode (
2025-11-25).{mode: "url", url, elicitationId, message}becomes a link question: the prompt is the message and the URL, the person answers Done or Cancel, and the bundle repliesacceptorcancel. In a group conversation the question targets the requester's direct chat (Question.Target), since the link may start a sign-in. - ◆Binding. Over HTTP an elicitation that arrives in a call's response stream is bound to that call, so concurrent calls no longer decline. Over stdio with the old protocol the single-call rule stays. With MRTR (section 8) every input request belongs to its call.
7. Resources and Prompts (P37)
Resources as tools. When a server declares the resources capability, the bundle adds two tools under the same prefix, subject to include/exclude by the names list_resources and read_resource:
{"name": "{prefix}__list_resources",
"description": "List the resources the {server} server offers. Returns one line per resource: uri, name, MIME type.",
"parameters": {"type": "object", "properties": {"cursor": {"type": "string", "description": "From the previous page"}}, "additionalProperties": false}}
{"name": "{prefix}__read_resource",
"description": "Read one resource of the {server} server by its URI.",
"parameters": {"type": "object", "properties": {"uri": {"type": "string"}}, "required": ["uri"], "additionalProperties": false}}list_resources returns at most 100 resources per page, then the resource templates under Templates:, and ends with [More: {prefix}__list_resources(cursor="{c}")] when the server has more. read_resource maps contents as in section 4. Both are read_only, concurrent and untrusted.
Prompts as skills. Built for prompts without required arguments: the skill name is the prompt name in lower case with other characters as -; a name a file skill of the plugin already has is left out; prompts are listed when the server's tools are, and listing skills never starts a server, so a prompt appears once the server runs. When a server declares prompts and the manifest has the skill role, each prompt becomes a skill card with the prompt's name and description. Loading it calls prompts/get; the text messages become the skill body, other content becomes a line naming it. Built 2026-11-17: a prompt with required arguments is user-invoked only (P32 model_hidden): the text after the command fills them, the whole text for one argument and key=value pairs for several; a missing one tells the user This command needs: {names}.. Names follow P32 (instance:name when two instances offer the same name).
8. Protocol Versions
The client speaks 2025-06-18 and 2025-11-25 (built): it offers 2025-11-25, accepts a server that answers 2025-06-18, refuses any other revision, and sends MCP-Protocol-Version over HTTP only after the handshake, with the negotiated revision (internal/mcp/methods.go, TestHTTPNegotiatesTheProtocol). URL-mode elicitation of 2025-11-25 is built (internal/bundle/elicit_url.go): only https links, or http to the loopback address, without user info, are shown, as a question with Done and Cancel; other links are declined (mcp.elicit_url_refused); in a group the question goes to the person's direct chat (privateIn in internal/bundle/elicit_url.go). 2026-07-28 (MRTR, tasks, subscriptions/listen, ttlMs) is a later follow-up; the design: the client first sends server/discover; a -32601 error or an HTTP 400/404 means an older server, and the client falls back to initialize offering 2025-11-25 and accepting 2025-06-18. With 2026-07-28 there is no handshake and no session: every request carries the protocol version and client capabilities in _meta.
Review of 2026-07-28 (2026-11-18), beyond the plan above. A client must also: send io.modelcontextprotocol/clientCapabilities (and SHOULD send clientInfo) in every request's _meta, plus Mcp-Method and Mcp-Name headers on HTTP POSTs; stop ping and logging/setLevel (the log level goes per request in _meta); read resultType on every result (absent means complete, unknown is invalid); retry on -32022 (UnsupportedProtocolVersion, data.supported) with a listed version; map both -32602 and the older -32002 to resource-not-found; re-issue a request whose stream broke, since SSE resumption is gone; and treat notifications/elicitation/complete as removed. Decision (owner, 2026-11-18): the dual-era client waits until an MCP server in use speaks 2026-07-28; none of the configurations uses an MCP server today. Its version-independent OAuth rules are built: a present iss is checked even when the server did not announce support, and registration sends application_type (web for an https callback, else native); registrations were already kept per issuer.
MRTR mapped onto durable questions and Long tools. A tools/call may return resultType: "input_required" with inputRequests and an opaque requestState (mcp:docs/specification/2026-07-28/server/tools.mdx:174-234). Tools of a 2026-07-28 server are offered as Long, and:
- The bundle returns
Pending{Operation: "mrtr:" + base64url(JSON of requestState and inputRequests), PollAfter: 0}. The ledger recordspendingwith it. - The Host polls; the bundle decodes the operation and asks each input request as a question keyed
mcp:{input id}under the call key, which is durable. - With all answers, the bundle sends
tools/callagain withinputResponses, therequestStateand a new JSON-RPC id.completeends the call; anotherinput_requiredreturns a newPending. - After a restart the ledger is
pending; polling asks again with the same keys, finds the same questions, and no second card is shown.
A Long call that was started (not pending) at a restart is called again with an empty operation (built). For MCP that would repeat a call, so the Host marks that call (ToolCall.Resumed, part of P37's Host side) and the bundle answers it with the unknown-outcome text instead of calling the server.
Tasks onto Pending. For a server with the io.modelcontextprotocol/tasks extension and a tool that supports tasks, the bundle requests a task; the returned taskId becomes Pending{Operation: "task:" + taskId, PollAfter: pollInterval in seconds, 1–60}. Each poll calls tasks/get: working returns Pending again, input_required asks as in MRTR, completed fetches tasks/result, failed and cancelled return an error result. A cancelled run sends tasks/cancel. The task then outlives a Host restart.
Streams. subscriptions/listen replaces the GET stream. A broken response stream loses the request, so a call answers with the broken-connection text of section 2; the client never resends a tools/call on its own.
9. OAuth per Principal (ADR 0004)
Built as ADR 0004 decides (internal/oauth, internal/bundle/oauth.go, internal/cli/oauth.go). Configuration: the Host's oauth: {listen: "127.0.0.1:8790", public_url: "https://orquelo.example.com"}, a server's auth: oauth and optional scopes in plugin.yaml, and the instance option oauth_client_id when the operator registered a client. Differences from the text below: one session per (server, principal) is used for every protocol; a token the server refuses is deleted and the call says to sign in again. Since 2026-11-19 the sign-in uses the unified login pieces (ADR 0012, slice S3): {prefix}__sign_in shows a sign_in card of kind link in the person's direct chat. The card settles as completed when the token arrives at the callback, as closed when the person cancels it, and as expired after the 10 minutes of the flow. In a group the tool is refused with login.direct_only. A person's token is their credential mcp:<server>, which /logins, /logout, orquelo login list and orquelo login revoke show and remove (internal/host/login/oauthstore.go). Tests: TestSignInRefreshAndReuse, TestWrongIssuerAndFailedRefresh (internal/oauth), TestOAuthSessionsPerPrincipal, TestOAuthLearnedFrom401 (internal/bundle), TestOAuthStoreKeepsTokensAsCredentials (internal/host/login), TestSignInLinkCompletesWithTheCredential (internal/host/engine).
Remote servers need user sign-in. When a URL server answers 401 with WWW-Authenticate:
- Discover the protected resource metadata (RFC 9728) and the authorization server metadata (RFC 8414).
- Identify the client by a Client ID Metadata Document the Host serves at
{public_url}/oauth/client.json; fall back to Dynamic Client Registration, then to aclient_idthe operator sets as a sensitive option. - Authorize with PKCE (S256) and the
resourceparameter (RFC 8707). The person gets a link question in their direct chat;statebinds the flow to (run, call key, principal). - The redirect lands on the Host route
/oauth/callback; the Host exchanges the code, validatesiss(RFC 9207) and stores the tokens as per-principal secrets of the instance, keyedoauth:{issuer}:{resource}(the existing encrypted per-principal store behindCaller.GetSecret). Tokens are refreshed before expiry; a failed refresh asks the person again.
Requests carry the token of the call's principal: with 2026-07-28 per request, with older protocols one client session per (server, principal), closed after 10 idle minutes. When the principal has no token, the server's tools are not listed; the bundle offers {prefix}__sign_in (no arguments, description Sign in to the {server} service so its tools become available. Ask the user before calling it.), and the tools appear from the next run. The Host changes are the callback route, public_url, and the flow state; that is why P37 needs an ADR for OAuth.
10. Caps
| Item | Limit |
|---|---|
| JSON-RPC message | 16 MiB (built) |
| stderr kept | last 8 KiB (built) |
| Tool list | 100 pages (built); more than 128 tools from one server logs mcp.many_tools (built) |
| Instructions | 2,000 characters (built) |
| Tool description | 2,000 characters (built) |
| Input schema | 16 KiB (built) |
| Result to the model | 40 KiB (untrusted_result_bytes) unless paged; full result readable with tool_result (built) |
| Images | 4 per result (built) |
| Elicitation | 8 fields (built) |
| Startup and handshake | 30 s (built) |
| Call | 2 min default, at most 30 min per server or tool; longer work belongs in tasks |
11. Not Built, on Purpose
- ◆Sampling (servers calling the client's model): deprecated in
2026-07-28, and it would let a server spend the run's model budget outside the agent's loop. - ◆Roots: deprecated in
2026-07-28; the workspace belongs to the tool plugin that owns it. - ◆The HTTP+SSE transport of
2024-11-05: replaced by Streamable HTTP. - ◆Server logging and resource subscriptions: deprecated or replaced by
subscriptions/listen.
12. Alignment
Sources are cited as in the research review.
| Topic | Leading agents | Orquelo | Why |
|---|---|---|---|
| Names | cx mcp__s__t, SHA-1 suffix, 128 max (cx:codex-mcp/src/mcp/mod.rs:70-90); pi and ha 64 max with an 8-hex SHA-256 suffix (ha:tools/mcp_tool_schema.py:155-190); gm cuts the middle | Take pi/ha | 64 is the portable limit; a hash keeps the tool instead of skipping it |
| Schemas | cx sanitizes and compacts over 5,000 bytes (cx:tools/src/json_schema.rs:82-91); ha promotes definitions and strips invisible characters (ha:tools/mcp_tool_schema.py:34-121) | Take, 16 KiB | Broken schemas fail whole requests at some vendors |
structuredContent | cx prefers it over text (cx:protocol/src/models.rs:2631-2666); pi uses it only without text (pi:coding-agent/src/extensions/mcp/tools.ts:214-235) | Take pi | Matches the spec's intent that text is the compatible form |
isError | cr ignores it; gm echoes the whole call (gm:tools/mcp-tool.ts:455-470) | Keep it, plus a text for an empty error | A failing tool must look failed |
| Images | op inline, cx omitted for text-only models | Take (P25) | Today screenshots are posted into the chat |
| Resources | cx, gm, cr, pi: list/read tools | Take | Same shape as everyone, no new mechanism |
| Untrusted content | ha wraps (ha:agent/tool_dispatch_helpers.py:484-515); spec: annotations untrusted | Take; trust is the operator's trusted_servers | A server cannot raise its own privileges |
| Timeouts | cx 30 s start, 300 s call (cx:codex-mcp/src/rmcp_client.rs:124-125); km 60 s | 30 s start, 2 min call, up to 30 min | Long work belongs in tasks or Long tools |
list_changed | op debounces 100 ms (op:core/src/tool/mcp.ts:120-140) | Take; runs keep their pinned list | Stable prompt and stable calls within a run |
| Elicitation, OAuth | op form and URL modes; cx full OAuth (cx:rmcp-client/src/oauth*.rs) | Take, mapped to durable questions and per-principal secrets | Many users share one Host |
| 2026-07-28 | op speaks both eras (op:core/src/mcp/client.ts:359) | Take, MRTR on the ledger | Retried calls fit the ledger better than server-initiated requests |
13. Built and Changes
| Item | Today | Change |
|---|---|---|
| Long names | prefix plus hash suffix (structured.go) | Built (P37) |
| Server down | tools hidden; tool.unknown | P37: last good list and E9 |
| HTTP call timeout | call_timeout covers the response stream (D12/D24, TestHTTPCallDeadlineCoversTheStream) | Built |
| Results | the content table of section 4 (P25, P37) | Built |
| Elicitation | up to 8 fields; bound to its call over HTTP; URL mode, in the direct chat from a group | Built |
| Resources | as tools (section 7) | Built |
| Prompts | as skills, without required arguments | Built; required arguments deferred until P32 is built |
| OAuth | per principal (ADR 0004) | Built |
| Protocol | 2025-06-18, 2025-11-25 | Built; 2026-07-28 a later follow-up |
| Startup timeout | 30 s (startTimeout) | Built |
14. Acceptance
Built: TestListAndCall, TestTimeoutAndCrash (internal/mcp); TestToolsFromMCP, TestPathVariablesAndInstructions, TestElicitationBecomesAQuestion, TestServerRestartsAfterCrash, TestConformance (internal/bundle).
To add: a 70-character tool name is offered with a hash suffix and called by its original name; two names that collide after cleanup both get suffixes; a 20 KiB schema is replaced and logged; a result with only structuredContent shows its JSON; an MCP image reaches a vision model and is not delivered; a three-field elicitation is one question and a password field is declined; a URL elicitation goes to the direct chat; read_resource returns text and images; a prompt with one argument runs from a command; a 2026-07-28 test server's input_required survives a Host restart without a second card; a task is polled across a restart; a server that is down gives E9 and recovers within the run; a principal without a token sees only sign_in; Linux and Windows native runs of stdio servers.