UNPKG

@iflow-mcp/coolver-home-assistant-mcp

Version:

Enable Cursor, VS Code, Claude Code or any MCP-enabled IDE to help you vibecode and manage Home Assistant: create automations, design dashboards, tweak themes, modify configs, and deploy changes using natural language

36 lines 1.52 kB
/** * MCP Tools - Modular Tool Definitions * * Tools are organized by domain for better maintainability */ import { fileTools } from './files.js'; import { systemTools } from './system.js'; import { dashboardTools } from './dashboard.js'; // TODO: Import remaining tool modules as they're created // import { entityTools } from './entities.js'; // import { helperTools } from './helpers.js'; // import { automationTools } from './automations.js'; // import { scriptTools } from './scripts.js'; // import { gitTools } from './git.js'; // import { hacsTools } from './hacs.js'; // import { addonTools } from './addons.js'; // For now, import remaining tools from parent (temporary during migration) import { tools as allTools } from '../tools.js'; // List of tools already migrated to modules const migratedToolNames = [ 'ha_read_file', 'ha_write_file', 'ha_list_files', 'ha_delete_file', // files 'ha_check_config', 'ha_reload_config', 'ha_restart', 'ha_get_logs', // system 'ha_analyze_entities_for_dashboard', 'ha_preview_dashboard', 'ha_apply_dashboard', 'ha_delete_dashboard', // dashboard ]; // Filter out migrated tools (avoid duplicates) const remainingTools = allTools.filter(tool => !migratedToolNames.includes(tool.name)); // Export combined tools array export const tools = [ ...fileTools, ...systemTools, ...dashboardTools, ...remainingTools, ]; // Export individual tool arrays for direct access export { fileTools, systemTools, dashboardTools }; //# sourceMappingURL=index.js.map