diff --git a/cmd/mcp.go b/cmd/mcp.go index 8c47ed7..b2f7794 100644 --- a/cmd/mcp.go +++ b/cmd/mcp.go @@ -38,8 +38,14 @@ func init() { mcpCmd.Example = example RootCmd.AddCommand(mcpCmd) - mcpCmd.Flags().BoolVar(&mcpAuth, "auth", false, "Enable MCP OAuth authorization (HTTP mode only)") - mcpCmd.Flags().StringVar(&baseURL, "base-url", "", "Base URL for the MCP server (default: http://localhost:)") + mcpCmd.Flags().BoolVarP( + &mcpAuth, "auth", "a", false, + "Enable MCP OAuth authorization (HTTP mode only)", + ) + mcpCmd.Flags().StringVarP( + &baseURL, "baseUrl", "b", "", + "Base URL for the MCP server (default http://localhost:)", + ) mcpCmd.PreRunE = func(cmd *cobra.Command, args []string) error { port, _ := cmd.Flags().GetInt("port")