Structs§
- Call
Tool Params - Parameters for a
tools/callrequest - Call
Tool Result - Result of a
tools/callinvocation - Client
Info - Client identification sent during initialization
- Content
Part - A content part within a tool result
- Initialize
Params - Parameters for the
initializerequest - Initialize
Result - Result of a successful
initializeresponse - Json
RpcError - JSON-RPC error object
- Json
RpcRequest - Incoming JSON-RPC request from MCP client
- Json
RpcResponse - Outgoing JSON-RPC response to MCP client
- Server
Capabilities - Server capability declarations
- Server
Info - Server identification
- Tool
Definition - Tool definition exposed via
tools/list - Tools
Capability - Marker type indicating the server supports MCP tools
- Tools
List Result - Result of a
tools/listcall
Constants§
- INTERNAL_
ERROR - JSON-RPC internal error
- INVALID_
PARAMS - JSON-RPC invalid parameters
- INVALID_
REQUEST - JSON-RPC invalid request (e.g. wrong protocol version)
- METHOD_
NOT_ FOUND - JSON-RPC method not found
- PARSE_
ERROR - JSON-RPC parse error: invalid JSON received
- PROTOCOL_
VERSION - MCP protocol version supported by this server
- SERVER_
NAME - Server name reported during MCP handshake
- SERVER_
VERSION - Server version reported during MCP handshake