cargo-governor 2.0.3

Machine-First, LLM-Ready, CI/CD-Native release automation tool for Rust crates
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! MCP server CLI options.

use clap::{Parser, Subcommand};

/// MCP subcommands.
#[derive(Subcommand, Debug)]
pub enum McpSubCommands {
    /// Serve cargo-governor over stdio MCP.
    Serve(McpServeOpts),
}

/// Options for MCP stdio server.
#[derive(Parser, Debug, Clone)]
pub struct McpServeOpts {
    /// Allow mutating tools such as bump/publish/sync.
    #[arg(long)]
    pub allow_mutation: bool,
}