@@ -844,13 +844,6 @@ def handle_mcp_configure(
844844 omni_config_data ["disabledTools" ] = disable_tools
845845
846846 # Host-specific fields (Codex)
847- env_vars = getattr (args , 'env_vars' , None )
848- startup_timeout = getattr (args , 'startup_timeout' , None )
849- tool_timeout = getattr (args , 'tool_timeout' , None )
850- enabled = getattr (args , 'enabled' , None )
851- bearer_token_env_var = getattr (args , 'bearer_token_env_var' , None )
852- env_header = getattr (args , 'env_header' , None )
853-
854847 if env_vars is not None :
855848 omni_config_data ["env_vars" ] = env_vars
856849 if startup_timeout is not None :
@@ -1602,133 +1595,137 @@ def main():
16021595 mcp_configure_parser = mcp_subparsers .add_parser (
16031596 "configure" , help = "Configure MCP server directly on host"
16041597 )
1605- mcp_configure_parser .add_argument ("server_name" , help = "Name for the MCP server" )
1598+ mcp_configure_parser .add_argument (
1599+ "server_name" , help = "Name for the MCP server [hosts: all]"
1600+ )
16061601 mcp_configure_parser .add_argument (
16071602 "--host" ,
16081603 required = True ,
1609- help = "Host platform to configure (e.g., claude-desktop, cursor)" ,
1604+ help = "Host platform to configure (e.g., claude-desktop, cursor) [hosts: all] " ,
16101605 )
16111606
16121607 # Create mutually exclusive group for server type
16131608 server_type_group = mcp_configure_parser .add_mutually_exclusive_group ()
16141609 server_type_group .add_argument (
16151610 "--command" ,
16161611 dest = "server_command" ,
1617- help = "Command to execute the MCP server (for local servers)" ,
1612+ help = "Command to execute the MCP server (for local servers) [hosts: all] " ,
16181613 )
16191614 server_type_group .add_argument (
1620- "--url" , help = "Server URL for remote MCP servers (SSE transport)"
1615+ "--url" , help = "Server URL for remote MCP servers (SSE transport) [hosts: all except claude-desktop, claude-code] "
16211616 )
16221617 server_type_group .add_argument (
1623- "--http-url" , help = "HTTP streaming endpoint URL (Gemini only) "
1618+ "--http-url" , help = "HTTP streaming endpoint URL [hosts: gemini] "
16241619 )
16251620
16261621 mcp_configure_parser .add_argument (
16271622 "--args" ,
16281623 nargs = "*" ,
1629- help = "Arguments for the MCP server command (only with --command)" ,
1624+ help = "Arguments for the MCP server command (only with --command) [hosts: all] " ,
16301625 )
16311626 mcp_configure_parser .add_argument (
1632- "--env-var" , action = "append" , help = "Environment variables (format: KEY=VALUE)"
1627+ "--env-var" ,
1628+ action = "append" ,
1629+ help = "Environment variables (format: KEY=VALUE) [hosts: all]" ,
16331630 )
16341631 mcp_configure_parser .add_argument (
16351632 "--header" ,
16361633 action = "append" ,
1637- help = "HTTP headers for remote servers (format: KEY=VALUE, only with --url)" ,
1634+ help = "HTTP headers for remote servers (format: KEY=VALUE, only with --url) [hosts: all except claude-desktop, claude-code] " ,
16381635 )
16391636
16401637 # Host-specific arguments (Gemini)
16411638 mcp_configure_parser .add_argument (
1642- "--timeout" , type = int , help = "Request timeout in milliseconds (Gemini) "
1639+ "--timeout" , type = int , help = "Request timeout in milliseconds [hosts: gemini] "
16431640 )
16441641 mcp_configure_parser .add_argument (
1645- "--trust" , action = "store_true" , help = "Bypass tool call confirmations (Gemini) "
1642+ "--trust" , action = "store_true" , help = "Bypass tool call confirmations [hosts: gemini] "
16461643 )
16471644 mcp_configure_parser .add_argument (
1648- "--cwd" , help = "Working directory for stdio transport (Gemini) "
1645+ "--cwd" , help = "Working directory for stdio transport [hosts: gemini, codex] "
16491646 )
16501647 mcp_configure_parser .add_argument (
16511648 "--include-tools" ,
16521649 nargs = "*" ,
1653- help = "Tool allowlist - only these tools will be available (Gemini) " ,
1650+ help = "Tool allowlist / enabled tools [hosts: gemini, codex] " ,
16541651 )
16551652 mcp_configure_parser .add_argument (
16561653 "--exclude-tools" ,
16571654 nargs = "*" ,
1658- help = "Tool blocklist - these tools will be excluded (Gemini) " ,
1655+ help = "Tool blocklist / disabled tools [hosts: gemini, codex] " ,
16591656 )
16601657
16611658 # Host-specific arguments (Cursor/VS Code/LM Studio)
16621659 mcp_configure_parser .add_argument (
1663- "--env-file" , help = "Path to environment file (Cursor, VS Code, LM Studio) "
1660+ "--env-file" , help = "Path to environment file [hosts: cursor, vscode, lmstudio] "
16641661 )
16651662
16661663 # Host-specific arguments (VS Code)
16671664 mcp_configure_parser .add_argument (
16681665 "--input" ,
16691666 action = "append" ,
1670- help = "Input variable definitions in format: type,id,description[,password=true] (VS Code) " ,
1667+ help = "Input variable definitions in format: type,id,description[,password=true] [hosts: vscode] " ,
16711668 )
16721669
16731670 # Host-specific arguments (Kiro)
16741671 mcp_configure_parser .add_argument (
16751672 "--disabled" ,
16761673 action = "store_true" ,
1677- help = "Disable the MCP server (Kiro) "
1674+ help = "Disable the MCP server [hosts: kiro] "
16781675 )
16791676 mcp_configure_parser .add_argument (
16801677 "--auto-approve-tools" ,
16811678 action = "append" ,
1682- help = "Tool names to auto-approve without prompting (Kiro) "
1679+ help = "Tool names to auto-approve without prompting [hosts: kiro] "
16831680 )
16841681 mcp_configure_parser .add_argument (
16851682 "--disable-tools" ,
16861683 action = "append" ,
1687- help = "Tool names to disable (Kiro) "
1684+ help = "Tool names to disable [hosts: kiro] "
16881685 )
16891686
16901687 # Codex-specific arguments
16911688 mcp_configure_parser .add_argument (
16921689 "--env-vars" ,
16931690 action = "append" ,
1694- help = "Environment variable names to whitelist/forward (Codex) "
1691+ help = "Environment variable names to whitelist/forward [hosts: codex] "
16951692 )
16961693 mcp_configure_parser .add_argument (
16971694 "--startup-timeout" ,
16981695 type = int ,
1699- help = "Server startup timeout in seconds (Codex, default: 10)"
1696+ help = "Server startup timeout in seconds (default: 10) [hosts: codex] "
17001697 )
17011698 mcp_configure_parser .add_argument (
17021699 "--tool-timeout" ,
17031700 type = int ,
1704- help = "Tool execution timeout in seconds (Codex, default: 60)"
1701+ help = "Tool execution timeout in seconds (default: 60) [hosts: codex] "
17051702 )
17061703 mcp_configure_parser .add_argument (
17071704 "--enabled" ,
17081705 action = "store_true" ,
1709- help = "Enable the MCP server (Codex) "
1706+ help = "Enable the MCP server [hosts: codex] "
17101707 )
17111708 mcp_configure_parser .add_argument (
17121709 "--bearer-token-env-var" ,
17131710 type = str ,
1714- help = "Name of environment variable containing bearer token for Authorization header (Codex) "
1711+ help = "Name of environment variable containing bearer token for Authorization header [hosts: codex] "
17151712 )
17161713 mcp_configure_parser .add_argument (
17171714 "--env-header" ,
17181715 action = "append" ,
1719- help = "HTTP header from environment variable in KEY=ENV_VAR_NAME format (Codex) "
1716+ help = "HTTP header from environment variable in KEY=ENV_VAR_NAME format [hosts: codex] "
17201717 )
17211718
17221719 mcp_configure_parser .add_argument (
17231720 "--no-backup" ,
17241721 action = "store_true" ,
1725- help = "Skip backup creation before configuration" ,
1722+ help = "Skip backup creation before configuration [hosts: all] " ,
17261723 )
17271724 mcp_configure_parser .add_argument (
1728- "--dry-run" , action = "store_true" , help = "Preview configuration without execution"
1725+ "--dry-run" , action = "store_true" , help = "Preview configuration without execution [hosts: all] "
17291726 )
17301727 mcp_configure_parser .add_argument (
1731- "--auto-approve" , action = "store_true" , help = "Skip confirmation prompts"
1728+ "--auto-approve" , action = "store_true" , help = "Skip confirmation prompts [hosts: all] "
17321729 )
17331730
17341731 # Remove MCP commands (object-action pattern)
0 commit comments