Modules§
Structs§
- MCPService
- A service that handles MCP requests.
- MCPService
Builder - Build an MCPService. Tools and structs are defined when the MCPService is built. They cannot be modified after that time.
- Prompt
Argument - Represents a prompt argument that can be passed to customize the prompt
- Server
- The main server type that processes incoming requests in a loop, and middlemans communication with the transport layer.
Enums§
- Prompt
Error - Resource
Error - Tool
Error - Errors that can be raised by a tool handler.
Traits§
Functions§
- generate_
tool_ schema - Helper function to generate JSON schema for a type