Expand description
MCP protocol types MCP protocol types
This module defines the types used in the MCP JSON-RPC protocol.
Structs§
- Feed
Event - Feed event for server-sent events
- Heartbeat
Config - Heartbeat configuration
- Json
RpcError - JSON-RPC 2.0 error object
- Json
RpcRequest - JSON-RPC 2.0 request
- Json
RpcResponse - JSON-RPC 2.0 response
- McpCapabilities
- MCP server capabilities
- McpServer
Info - MCP server info
- McpTool
Definition - MCP tool definition
- Prompts
Capability - Prompts capability (not implemented)
- Resource
Content - Resource content in tool result
- Resources
Capability - Resources capability (not implemented)
- Server
Status - Server status information
- Tool
Call Params - Parameters for tools/call method
- Tool
Call Result - Result of a tool call
- Tools
Capability - Tools capability
Enums§
- Feed
Event Type - Types of feed events
- Tool
Content - Content item in tool result