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(kiro): implement KiroHostStrategy for configuration management
Implement KiroHostStrategy class with @register_host_strategy(MCPHostType.KIRO) decorator for automatic registration. Supports full CRUD operations:
- get_config_path(): Returns ~/.kiro/settings/mcp.json (user-level only per constraint)
- get_config_key(): Returns 'mcpServers' for consistency with other hosts
- is_host_available(): Checks for .kiro/settings directory existence
- validate_server_config(): Accepts both local (command) and remote (url) servers
- read_configuration(): Reads and parses Kiro config with error handling
- write_configuration(): Writes config while preserving non-MCP settings (read-modify-write pattern)
Supports cross-platform path resolution and proper error handling with logging.
0 commit comments