What
The SDK's control-protocol client now has a readMcpResource(serverName, uri) method, which sends a new mcp_read_resource request and returns the server's response.
Why
This lets code using the SDK fetch a specific resource from an MCP (Model Context Protocol) server directly, rather than only being able to invoke tools that server exposes.
Names in the bundlereadMcpResource
Documented inclaude-code/agent-sdk/typescript
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up readMcpResource, on Agent SDK reference - TypeScript.
| `readMcpResource(serverName, uri)` | *Alpha.* Reads one MCP Apps `ui://` resource from a connected MCP server so your application can render a tool's widget. Resolves with an [`SDKControlMcpReadResourceResponse`](#sdkcontrolmcpreadresour…agent-sdk/typescript see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up readMcpResource, on Agent SDK reference - TypeScript.