Skip to main content

database_mcp_backend/
lib.rs

1//! Shared backend utilities: error types, SQL validation, identifier checking, and request types.
2//!
3//! Provides [`AppError`] for error handling, validation utilities, and shared
4//! MCP tool request types used by all database backend implementations.
5
6pub mod error;
7pub mod identifier;
8pub mod types;
9pub mod validation;
10
11pub use error::AppError;
12pub use types::{CreateDatabaseRequest, GetTableSchemaRequest, ListTablesRequest, QueryRequest};