v0.3.0-alpha.28 · Interface
request
Request handling and context management.
This interface provides functionality for parsing and managing MCP requests from input streams.
Type Aliases
T
input-stream
TAn input bytestream.
stream-error
TAn error for input-stream and output-stream operations.
id
TJSON-RPC request ID (string or number).
data
TRepresents data that can be either text or binary.
json
TJSON-encoded data as a string.
method
TMCP method names (string payload for custom handling).
params
Parameters for different MCP methods.