feat: Implement n8n-MCP Enhancement Plan v2.1 Final

- Implement simple node loader supporting n8n-nodes-base and langchain packages
- Create parser handling declarative, programmatic, and versioned nodes
- Build documentation mapper with 89% coverage (405/457 nodes)
- Setup SQLite database with minimal schema
- Create rebuild script for one-command database updates
- Implement validation script for critical nodes
- Update MCP server with documentation-focused tools
- Add npm scripts for streamlined workflow

Successfully loads 457/458 nodes with accurate documentation mapping.
Versioned node detection working (46 nodes detected).
3/4 critical nodes pass validation tests.

Known limitations:
- Slack operations extraction incomplete for some versioned nodes
- One langchain node fails due to missing dependency
- No AI tools detected (none have usableAsTool flag)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
czlonkowski
2025-06-12 14:18:19 +02:00
parent b50025081a
commit 8bf670c31e
21 changed files with 9206 additions and 790 deletions

View File

@@ -5,8 +5,10 @@
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"dev": "nodemon --exec ts-node src/index.ts",
"start": "node dist/index.js",
"rebuild": "node dist/scripts/rebuild.js",
"validate": "node dist/scripts/validate.js",
"start": "node dist/mcp/index.js",
"dev": "npm run build && npm run rebuild && npm run validate",
"test": "jest",
"lint": "tsc --noEmit",
"typecheck": "tsc --noEmit",
@@ -38,6 +40,7 @@
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.12.1",
"@n8n/n8n-nodes-langchain": "^0.3.0",
"@types/better-sqlite3": "^7.6.13",
"better-sqlite3": "^11.10.0",
"dotenv": "^16.5.0",