czlonkowski
96dfbc3a16
feat: Tool consolidation v2.26.0 - reduce tools by 38% (31 → 19)
...
Major consolidation of MCP tools using mode-based parameters for better
AI agent ergonomics:
Node Tools:
- get_node_documentation → get_node with mode='documentation'
- search_node_properties → get_node with mode='search_properties'
- get_property_dependencies → removed
Validation Tools:
- validate_node_operation + validate_node_minimal → validate_node with mode param
Template Tools:
- list_node_templates → search_templates with searchMode='nodes'
- search_templates_by_metadata → search_templates with searchMode='metadata'
- get_templates_for_task → search_templates with searchMode='task'
Workflow Getters:
- n8n_get_workflow_details/structure/minimal → n8n_get_workflow with mode param
Execution Tools:
- n8n_list/get/delete_execution → n8n_executions with action param
Test updates for all consolidated tools.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en
2025-11-25 17:02:19 +01:00
czlonkowski
7f03f51e87
fix: update integration tests to use valid tools after v2.25.0 removal
...
Replaced all references to removed tools in integration tests:
- list_nodes -> search_nodes
- get_database_statistics -> tools_documentation
- list_ai_tools -> search_nodes/tools_documentation
- list_tasks -> tools_documentation
- get_node_as_tool_info -> removed test section
Updated test files:
- tests/integration/mcp-protocol/basic-connection.test.ts
- tests/integration/mcp-protocol/performance.test.ts
- tests/integration/mcp-protocol/session-management.test.ts
- tests/integration/mcp-protocol/test-helpers.ts
- tests/integration/mcp-protocol/tool-invocation.test.ts
- tests/integration/telemetry/mcp-telemetry.test.ts
- tests/unit/mcp/disabled-tools.test.ts
- tests/unit/mcp/tools-documentation.test.ts
Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-25 13:13:26 +01:00
czlonkowski
f23fc92c01
fix: make tools-documentation test dynamically read n8n version from package.json
...
- Removed hardcoded version check in test
- Test now reads actual n8n version from package.json at runtime
- Fixes test failure when n8n version is updated
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-30 16:19:03 +02:00
czlonkowski
d870d0ab71
test: add comprehensive unit tests for database, parsers, loaders, and MCP tools
...
- Database layer tests (32 tests):
- node-repository.ts: 100% coverage
- template-repository.ts: 80.31% coverage
- database-adapter.ts: interface compliance tests
- Parser tests (99 tests):
- node-parser.ts: 93.10% coverage
- property-extractor.ts: 95.18% coverage
- simple-parser.ts: 91.26% coverage
- Fixed parser bugs for version extraction
- Loader tests (22 tests):
- node-loader.ts: comprehensive mocking tests
- MCP tools tests (85 tests):
- tools.ts: 100% coverage
- tools-documentation.ts: 100% coverage
- docs-mapper.ts: 100% coverage
Total: 943 tests passing across 32 test files
Significant progress from 2.45% to ~30% overall coverage
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-28 20:16:38 +02:00