#[cfg(feature = "mcp")]
pub mod extension;
#[cfg(all(feature = "mcp", feature = "postgres"))]
pub mod server;
#[cfg(feature = "mcp")]
pub mod tools;
#[cfg(feature = "mcp")]
pub mod auth;
#[cfg(all(feature = "mcp", feature = "postgres"))]
pub mod usage;
#[cfg(feature = "mcp")]
pub mod client;
#[cfg(feature = "mcp")]
pub mod registry;
#[cfg(all(feature = "mcp", feature = "postgres"))]
pub use server::{start_mcp_server, AgentRunner};
#[cfg(feature = "mcp")]
pub use extension::{McpToolExtension, NoOpMcpExtension};
#[cfg(feature = "mcp")]
pub use registry::{
builtin_ares_tools, extension_dispatch, get_tool, list_tools, register_tool, McpRegistry,
RegistryError, ToolRegistered, ToolRegistry, ToolUnregistered,
};
pub struct McpService;
impl cordis::Service for McpService {
fn name(&self) -> &'static str {
"mcp"
}
fn check(&self) -> bool {
cfg!(feature = "mcp")
}
}