v0.6.1 — Latest MCP spec compatibility (2025-06-18)
What's new
structuredContent native parsing
When a new-spec MCP server (2025-06-18) returns structured output, mcptoon call now prefers it over text content automatically — no flags needed. Old-spec servers behave exactly as before.
--envelope flag
mcptoon call <server> <tool> --envelope returns the complete MCP tools/call result envelope as JSON: structuredContent, _meta, resultType, isError, content all intact. Works with --auto routing too.
Library API
MCPClient.call_tool_full()— envelope-level access from PythonMCPClientPool.call_full()— same, via the connection pool
Compatibility matrix
| New-spec feature | mcptoon support |
|---|---|
structuredContent (structured tool output) |
parsed natively |
_meta / resultType protocol fields |
--envelope passthrough |
New-SDK servers (@modelcontextprotocol/server-*) |
zero config |
| Old-spec servers | full backward compatibility |
Quality: 548 tests passing (+8), zero third-party dependencies, ruff clean.
Docs: README (EN + zh-CN) now carries a prominent MCP-spec badge and a full compatibility matrix.