Skip to content

@maxhealth.tech/prefab / mcp / McpTextContent

Type Alias: McpTextContent

ts
type McpTextContent = object;

Defined in: mcp/types.ts:27

MCP text content block (compatible with SDK's TextContent)

Properties

type

ts
type: "text";

Defined in: mcp/types.ts:28


text

ts
text: string;

Defined in: mcp/types.ts:29


annotations?

ts
optional annotations?: Record<string, unknown>;

Defined in: mcp/types.ts:30


_meta?

ts
optional _meta?: Record<string, unknown>;

Defined in: mcp/types.ts:31

Released under the MIT License.