Typed MCP Results
2026.10-mcp-typed-outputs2026-10-14
Typed MCP results
Plans: same as each tool’s plan (see the Tool Catalog) Where: MCP server and the TypeScript and Python SDKs
Eleven MCP tools now return their result as structuredContent in addition to the text block, and both SDKs turn it into typed values, so you stop hand-writing types for uar_status or evidence_log.
Who benefits: integrators and engineers who call AutoCISO from scripts, agents or the SDKs.
What’s new
- Successful calls of the eleven typed tools carry
structuredContentwith the same masked JSON as the text block. The server advertisesoutputSchemaontools/listafter a seven-day soak, and never foremployee_resolve. - TypeScript: typed
ToolResult<XResult>per typed tool, and a newResultShapeError. Casting.datadirectly to an unrelated type now needsas unknown as. - Python:
TypedToolResult[XResult]with a lazy.resultthat raisesResultSchemaError; the package shipspy.typed. - A typed tool that returns nothing now gives
INTERNAL_ERROR; results over 256 KiB giveRESULT_TOO_LARGE.
How to use it
- Update the SDK to the next release.
- Read
res.data(TypeScript) orres.result(Python) and let your editor complete the fields. - Check the Result column in the Tool Catalog to see which tools are typed. The other 54 are unchanged. See TypeScript SDK and Python SDK.
Last reviewed: 2026-10-14
Was this page helpful?