Crate kuri

Source

Modules§

context
errors
id
transport

Structs§

MCPService
A service that handles MCP requests.
MCPServiceBuilder
Build an MCPService. Tools and structs are defined when the MCPService is built. They cannot be modified after that time.
PromptArgument
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§

PromptError
ResourceError
ToolError
Errors that can be raised by a tool handler.

Traits§

PromptHandler
ToolHandler

Functions§

generate_tool_schema
Helper function to generate JSON schema for a type

Attribute Macros§

prompt
tool