You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add host-specific CLI arguments for MCP configure command
- Add --timeout argument for Gemini (request timeout in milliseconds)
- Add --trust argument for Gemini (bypass tool call confirmations)
- Add --cwd argument for Gemini (working directory for stdio transport)
- Add --env-file argument for Cursor/VS Code/LM Studio (path to environment file)
Implementation details:
- Updated handle_mcp_configure() signature with 4 new parameters
- Added host-specific argument validation (error if used with incompatible hosts)
- Integrated new fields into MCPServerConfigOmni creation
- Updated argument parser with new CLI flags
- Updated main() function call to pass new parameters
Testing:
- Created test_mcp_cli_host_specific_args.py with 12 comprehensive tests
- Updated test_mcp_cli_direct_management.py to match new function signature
- All 260 MCP tests passing (100% success rate)
This implements Phase 2 of the original design specifications for commonly-used
host-specific fields across Gemini, Cursor, and VS Code hosts.
0 commit comments