Expand description
Shared MCP server utilities and request types.
Provides types for tool request/response schemas,
pagination cursor helpers, the tool registry, schema input
and output schema generators, and the Server wrapper plus
server_info used by per-backend servers.
Re-exports§
pub use pagination::Cursor;pub use pagination::Pager;pub use schema::input_schema;pub use schema::output_schema;pub use tool::ToolRouterExt;pub use tool::ToolSpec;
Modules§
- pagination
- Opaque cursor pagination helpers for MCP tool responses.
- schema
- JSON-schema generators for MCP tool input and output schemas.
- tool
- Declarative tool registry for per-backend MCP routers.
- types
- Request and response types for MCP tool parameters.
Structs§
- Server
- Cloneable, type-erased MCP server.
Functions§
- server_
info - Returns the shared
ServerInfofor all server implementations.