Skip to content

Documentation / @agentick/mcp / MCPStaticResource

Interface: MCPStaticResource ​

Defined in: protocol/types.ts:397

A fixed-URI resource served by the MCP server.

Properties ​

description? ​

optional description: string

Defined in: protocol/types.ts:402


icons? ​

optional icons: Icon[]

Defined in: protocol/types.ts:405

Optional icons for client UI rendering (IconsSchema).


mimeType? ​

optional mimeType: string

Defined in: protocol/types.ts:403


name ​

name: string

Defined in: protocol/types.ts:398


read() ​

read: (ctx) => MCPResourceReadResult | Promise<MCPResourceReadResult>

Defined in: protocol/types.ts:406

Parameters ​

ctx ​

MCPHandlerContext

Returns ​

MCPResourceReadResult | Promise<MCPResourceReadResult>


title? ​

optional title: string

Defined in: protocol/types.ts:400

Human-readable display name (BaseMetadataSchema). Optional.


uri ​

uri: string

Defined in: protocol/types.ts:401

Released under the ISC License.