Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( Version = "dev" Commit = "unknown" BuildTime = "unknown" )
Version information - these would typically be set during build
Functions ¶
func NewRootCmd ¶
NewRootCmd creates and returns the root command for forgejo-mcp. This sets up the main CLI interface using Cobra, including global flags and subcommands for server operation.
Migration Note: CLI structure maintained for backward compatibility while integrating with the updated MCP server implementation.
func NewServeCmd ¶
NewServeCmd creates the serve subcommand for starting the MCP server. This command initializes and starts the MCP server with proper signal handling for graceful shutdown.
Migration Note: Updated to work with the official MCP SDK server implementation.
func NewVersionCmd ¶
NewVersionCmd creates the version subcommand
Types ¶
This section is empty.