feat(omo-claude): re-vendor MCP servers self-contained with CLAUDE_PLUGIN_ROOT

ast_grep + lsp servers vendored under plugin/mcp via sync-mcp.mjs; .mcp.json uses
${CLAUDE_PLUGIN_ROOT} (no ../). Both boot from a node_modules-free tree (verified
JSON-RPC initialize handshakes). lsp hook bundled to inline lsp-tools-mcp. mcp/
dist is gitignored (regenerated by build).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
YeonGyu-Kim
2026-05-29 13:23:40 +09:00
parent 186fade2e5
commit e20c51c77f
5 changed files with 273 additions and 1 deletions
+2 -1
View File
@@ -15,10 +15,11 @@
"components/ultrawork"
],
"scripts": {
"build": "node scripts/sync-components.mjs && node scripts/sync-skills.mjs && node ../scripts/sync-telemetry-component.mjs && npm run build --workspaces --if-present",
"build": "node scripts/sync-components.mjs && node scripts/sync-skills.mjs && node ../scripts/sync-telemetry-component.mjs && npm run build --workspaces --if-present && node scripts/sync-mcp.mjs",
"check": "npm run build && npm test",
"sync:components": "node scripts/sync-components.mjs",
"sync:skills": "node scripts/sync-skills.mjs",
"sync:mcp": "node scripts/sync-mcp.mjs",
"test": "node --test test/*.test.mjs"
}
}