Skip to main content
An SDK-hosted MCP resource with a stable URI and a caller-side read callback.

Properties

description?


mimeType?


name


uri

Methods

read()

Read this resource for the requesting session.

Parameters

context
ToolContext Session identity and cancellation signal.

Returns

| { [key: string]: unknown; } | Promise<{ [key: string]: unknown; }> MCP resource contents.