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
+12
View File
@@ -0,0 +1,12 @@
{
"mcpServers": {
"ast_grep": {
"command": "node",
"args": ["${CLAUDE_PLUGIN_ROOT}/mcp/ast-grep/cli.js", "mcp"]
},
"lsp": {
"command": "node",
"args": ["${CLAUDE_PLUGIN_ROOT}/mcp/lsp/cli.js", "mcp"]
}
}
}