What this thread does
Add an output contract for data, a resource link for a reference, MRTR for missing input, and Tasks only for durable asynchronous work when the client supports the extension (MCP tools, Tasks, Prefect's implementation).
Do first: add outputSchema to one read-only tool in tools/list, return matching structuredContent plus a serialized JSON text fallback, and compare those values on one call from each target client (MCP maintainers, GitHub's compatibility pattern).
Choose the result shape
| Need | Server-author action | Independent implementation or report |
|---|---|---|
| Machine-readable values | Declare outputSchema; returned structuredContent must conform. July permits any JSON value, including an array or scalar. The spec says “Servers MUST provide structured results that conform to this schema” and recommends a serialized text fallback (MCP tools). | GitHub's server exposes typed results for supported negotiated versions from 2026-07-28 onward, while preserving legacy text for older, unknown or absent versions. Its directory results can be arrays. This is a concrete compatibility pattern, not evidence that every client consumes the extra field (GitHub maintainers). |
| Refer to a document without embedding it | Return a resource_link content item with URI and descriptive fields; the resource need not appear in resources/list (MCP tools). Set mimeType on that item to identify the linked content's media type. | sicauzxl's September 7, 2026 Agno 3.0.6/main report found the URI replaced by “Unsupported content type: resource_link”. The in-process reproduction used Python 3.12.13, mcp 2.1.1 and FastMCP 4.0.3 on macOS. Check the final model-facing representation, not just the server response (Agno #10009). |
| Ask for a missing field or confirmation | Return resultType: "input_required" with inputRequests; the client retries with inputResponses, preserved requestState when present, and a new JSON-RPC ID (MCP MRTR). | Prefect's August 31 FastMCP 4 announcement describes the tool restarting from the top with responses available. Treat side effects before the input round accordingly (Prefect). Build inputResponses with the same map keys as inputRequests so each answer matches its request. Siam923 independently reported an AI SDK client rejecting this flow before invoking its handler (October 28 report). |
| Continue a long-running job across disconnects | Negotiate io.modelcontextprotocol/tasks, create durable state before returning the handle, serve tasks/get, and accept tasks/update for requested input (MCP Tasks). | Prefect implements background execution through the separate fastmcp-tasks package and extension registration; @mcp.tool(task=True) alone is not the whole setup (FastMCP 4 GA). |
Compatibility inference: keep an object-shaped contract if you still need the older object-only structured-output contract; widen to array/scalar output only on a supported version path. GitHub's explicit version gating is an implementation example, not a protocol requirement that all servers copy (GitHub, MCP July changelog, SEP-2106).
What July changes around that choice
Structured output and resource links already arrived in 2025-06-18; they are not new July features (MCP historical changelog). The 2026-07-28 changelog compares against 2025-11-25: it removes the handshake and protocol sessions, requires per-request version/capability metadata, adds server/discover, and adds resultType to ordinary core results. Experimental Tasks leave core; the extension replaces blocking tasks/result with polling and removes tasks/list (MCP maintainers). Prefect's separate implementation documents both independent requests and application state backed by configured storage (FastMCP 4 GA).
For the broader transport change, see mcp-spec-2026-07-28-stateless. For the actual AI SDK continuation failure and released client handling, see ai-sdk-mcp-input-required-multi-roundtrip-elicitation.
Registry publication is a separate deliverable
For a hosted service, put remotes with type: "streamable-http" and the reachable endpoint in server.json; the official remote-server guide documents that representation. For an npm-distributed server, the quickstart instead requires an already-published package and matching mcpName/Registry name (MCP remote-server guide, quickstart).
After the metadata is ready, the documented GitHub-namespace publication commands are:
mcp-publisher login github
mcp-publisher publish
Then query the Registry for the exact server name and inspect the returned metadata (MCP quickstart). Karandeep Singh's August 9, 2026 deployment account independently describes publishing a hosted blog server: the generated npm/stdio packages template had to become remotes. His concise warning is “Mine is a remote server” (firsthand account). Registry metadata and successful client calls are separate checks; registration alone does not demonstrate that an adapter preserves a resource URI, as sicauzxl's reproduction illustrates (Agno #10009).
Limits
This is a result-design guide, not a complete 2025-11-25-to-July transport or OAuth migration. GitHub's README describes its implementation; it is not a cross-client benchmark. The Agno finding is one dated adapter reproduction, with no released fix established here. Tasks require explicit support on both sides (MCP Tasks). Registry remains preview and may undergo breaking changes or data resets (MCP Registry quickstart). No latency, token-saving or discovery-traffic improvement is established by these sources.
Not for: the full handshake and session transport change; see mcp-spec-2026-07-28-stateless.
Checked 2026-11-24.
Started from a post by @Model Context Protocol maintainers, packaged by the editor. Original post