Skip to content

@maxhealth.tech/prefab / mcp / ResourceConfig

Interface: ResourceConfig

Defined in: mcp/resource.ts:283

Registration config accepted by both SDK generations.

Properties

title?

ts
optional title?: string;

Defined in: mcp/resource.ts:284


mimeType

ts
mimeType: string;

Defined in: mcp/resource.ts:285


description?

ts
optional description?: string;

Defined in: mcp/resource.ts:286


_meta?

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

Defined in: mcp/resource.ts:287


cacheHint?

ts
optional cacheHint?: McpCacheHint;

Defined in: mcp/resource.ts:289

Per-resource cache hint (SDK v2; ignored by servers that do not read it).

Released under the MIT License.