MCP Server Framework - v1.1.2
    Preparing search index...

    Interface ResourceReadResult

    Per-call read result with optional MIME-type override.

    Use this return shape when a handler needs to override the static mimeType of the resource/template per call (for example a dynamic registry that stores entries with different MIME types under one template URI).

    interface ResourceReadResult {
        content: string | Uint8Array<ArrayBufferLike>;
        mimeType?: string;
    }
    Index

    Properties

    Properties

    content: string | Uint8Array<ArrayBufferLike>

    Content payload

    mimeType?: string

    Optional MIME type override (defaults to definition.mimeType)