nb-mcp-server 0.8.0

MCP server wrapping the nb CLI for LLM-friendly note-taking
Documentation
pub mod git_signing;
pub mod mcp;
pub mod nb;
pub mod paths;

/// Command-line configuration for the MCP server.
pub struct Config {
    /// Default notebook (CLI --notebook overrides NB_MCP_NOTEBOOK env var).
    pub notebook: Option<String>,
    /// Disable commit and tag signing in the notebook repository.
    pub commit_signing_disabled: bool,
    /// Automatically create missing notebooks.
    pub create_notebook: bool,
    /// Show notebook and state paths, then exit.
    pub show_paths: bool,
}

impl Default for Config {
    fn default() -> Self {
        Self {
            notebook: None,
            commit_signing_disabled: false,
            create_notebook: true,
            show_paths: false,
        }
    }
}