//! MCP (Model Context Protocol) server for GDELT.
//!
//! Provides an MCP server that exposes GDELT tools to AI assistants.
//! This module is only available when the `mcp` feature is enabled.

#[cfg(feature = "mcp")]
pub mod server;
#[cfg(feature = "mcp")]
pub mod tools;

#[cfg(feature = "mcp")]
pub use server::start_mcp_server;

/// Check if MCP feature is available
#[allow(dead_code)]
pub fn is_available() -> bool {
    cfg!(feature = "mcp")
}
