McpClientSession |
Default implementation of the MCP (Model Context Protocol) session that manages
bidirectional JSON-RPC communication between clients and servers.
|
McpClientSession.MethodNotFoundError |
|
McpSchema |
|
McpSchema.Annotations |
Optional annotations for the client.
|
McpSchema.BlobResourceContents |
Binary contents of a resource.
|
McpSchema.CallToolRequest |
Used by the client to call a tool provided by the server.
|
McpSchema.CallToolResult |
The server's response to a tools/call request from the client.
|
McpSchema.ClientCapabilities |
Clients can implement additional features to enrich connected MCP servers with
additional capabilities.
|
McpSchema.ClientCapabilities.Builder |
|
McpSchema.ClientCapabilities.RootCapabilities |
Roots define the boundaries of where servers can operate within the filesystem,
allowing them to understand which directories and files they have access to.
|
McpSchema.ClientCapabilities.Sampling |
Provides a standardized way for servers to request LLM
sampling ("completions" or "generations") from language
models via clients.
|
McpSchema.CompleteRequest |
|
McpSchema.CompleteRequest.CompleteArgument |
|
McpSchema.CompleteRequest.PromptReference |
|
McpSchema.CompleteRequest.ResourceReference |
|
McpSchema.CompleteResult |
|
McpSchema.CompleteResult.CompleteCompletion |
|
McpSchema.CreateMessageRequest |
|
McpSchema.CreateMessageRequest.Builder |
|
McpSchema.CreateMessageResult |
|
McpSchema.CreateMessageResult.Builder |
|
McpSchema.EmbeddedResource |
|
McpSchema.ErrorCodes |
Standard error codes used in MCP JSON-RPC responses.
|
McpSchema.GetPromptRequest |
Used by the client to get a prompt provided by the server.
|
McpSchema.GetPromptResult |
The server's response to a prompts/get request from the client.
|
McpSchema.ImageContent |
|
McpSchema.Implementation |
|
McpSchema.InitializeRequest |
|
McpSchema.InitializeResult |
|
McpSchema.JSONRPCBatchRequest |
|
McpSchema.JSONRPCBatchResponse |
|
McpSchema.JSONRPCMessage.SealedControl |
|
McpSchema.JSONRPCNotification |
|
McpSchema.JSONRPCRequest |
|
McpSchema.JSONRPCResponse |
|
McpSchema.JSONRPCResponse.JSONRPCError |
|
McpSchema.JsonSchema |
|
McpSchema.ListPromptsResult |
The server's response to a prompts/list request from the client.
|
McpSchema.ListResourcesResult |
|
McpSchema.ListResourceTemplatesResult |
|
McpSchema.ListRootsResult |
The client's response to a roots/list request from the server.
|
McpSchema.ListToolsResult |
The server's response to a tools/list request from the client.
|
McpSchema.LoggingMessageNotification |
The Model Context Protocol (MCP) provides a standardized way for servers to send
structured log messages to clients.
|
McpSchema.LoggingMessageNotification.Builder |
|
McpSchema.ModelHint |
|
McpSchema.ModelPreferences |
|
McpSchema.ModelPreferences.Builder |
|
McpSchema.PaginatedRequest |
|
McpSchema.PaginatedResult |
|
McpSchema.ProgressNotification |
|
McpSchema.Prompt |
A prompt or prompt template that the server offers.
|
McpSchema.PromptArgument |
Describes an argument that a prompt can accept.
|
McpSchema.PromptMessage |
Describes a message returned as part of a prompt.
|
McpSchema.ReadResourceRequest |
|
McpSchema.ReadResourceResult |
|
McpSchema.Resource |
A known resource that the server is capable of reading.
|
McpSchema.ResourceTemplate |
Resource templates allow servers to expose parameterized resources using URI
templates.
|
McpSchema.Root |
Represents a root directory or file that the server can operate on.
|
McpSchema.SamplingMessage |
|
McpSchema.ServerCapabilities |
|
McpSchema.ServerCapabilities.Builder |
|
McpSchema.ServerCapabilities.LoggingCapabilities |
|
McpSchema.ServerCapabilities.PromptCapabilities |
|
McpSchema.ServerCapabilities.ResourceCapabilities |
|
McpSchema.ServerCapabilities.ToolCapabilities |
|
McpSchema.SubscribeRequest |
Sent from the client to request resources/updated notifications from the server
whenever a particular resource changes.
|
McpSchema.TextContent |
|
McpSchema.TextResourceContents |
Text contents of a resource.
|
McpSchema.Tool |
Represents a tool that the server provides.
|
McpSchema.UnsubscribeRequest |
|
McpServerSession |
Represents a Model Control Protocol (MCP) session on the server side.
|
McpServerSession.MethodNotFoundError |
|
StatelessMcpSession |
|