Expand description
re-exports
Structs§
- Client
Jsonrpc Notification - “Similar to JsonrpcNotification , but with the variants restricted to client-side notifications.”
- Client
Jsonrpc Request - “Similar to JsonrpcRequest , but with the variants restricted to client-side requests.”
- Client
Jsonrpc Response - “Similar to JsonrpcResponse , but with the variants restricted to client-side responses.”
- Server
Jsonrpc Notification - “Similar to JsonrpcNotification , but with the variants restricted to server-side notifications.”
- Server
Jsonrpc Request - “Similar to JsonrpcRequest , but with the variants restricted to client-side requests.”
- Server
Jsonrpc Response - “Similar to JsonrpcResponse , but with the variants restricted to server-side responses.”
Enums§
- Client
Message - “Similar to JsonrpcMessage, but with the variants restricted to client-side messages.” ClientMessage represents a message sent by an MCP Client and received by an MCP Server.
- Message
Types - Notification
From Client - To determine standard and custom notifications received from the MCP Client Custom notifications are of type serde_json::Value and can be deserialized into any custom type.
- Notification
From Server - To determine standard and custom notifications received from the MCP Server Custom notifications are of type serde_json::Value and can be deserialized into any custom type.
- Request
From Client - To determine standard and custom request from the client side Custom requests are of type serde_json::Value and can be deserialized into any custom type.
- Request
From Server - To determine standard and custom request from the server side Custom requests are of type serde_json::Value and can be deserialized into any custom type.
- Result
From Client - To determine standard and custom results from the client side Custom results (CustomResult) are of type serde_json::Value and can be deserialized into any custom type.
- Result
From Server - To determine standard and custom results from the server side Custom results (CustomResult) are of type serde_json::Value and can be deserialized into any custom type.
- RpcError
Codes - Enum representing standard JSON-RPC error codes.
- Server
Message - “Similar to JsonrpcMessage, but with the variants restricted to client-side messages.” ServerMessage represents a message sent by an MCP Server and received by an MCP Client.