Skip to main content

dbmcp_server/
lib.rs

1//! Shared MCP server utilities and request types.
2//!
3//! Provides [`types`] for tool request/response schemas,
4//! [`pagination`] cursor helpers, the [`tool`] registry, [`schema`] input
5//! and output schema generators, and the [`Server`] wrapper plus
6//! [`server_info`] used by per-backend servers.
7
8pub mod pagination;
9pub mod schema;
10mod server;
11pub mod tool;
12pub mod types;
13
14pub use pagination::{Cursor, Pager};
15pub use schema::{input_schema, output_schema};
16pub use server::{Server, server_info};
17pub use tool::{ToolRouterExt, ToolSpec};