Repository navigation
Closed
Labels
Description
Summary
The bundled MCP server definition cannot start on a normal install, so omp logs a failure on every launch:
Warning: MCP server "bigpowers-mcp" failed to connect:
ENOENT: no such file or directory, posix_spawn 'node'
After fixing the spawn, it then fails for a second reason:
Warning: MCP server "bigpowers-mcp" failed to connect:
MCP subprocess closed stdout before responding
with the direct error:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@modelcontextprotocol/sdk'
imported from .../bigpowers/bigpowers-mcp/build/index.js
So the MCP server is currently unusable from any host that reads the package's .mcp.json.
Reproduction
- Install
bigpowersinto an omp plugin tree (~/.omp/plugins), which is how omp picks up plugin-provided MCP configs. - Launch the agent. The server fails on startup with
posix_spawn 'node'. - Patch the command to an absolute
nodepath (see below) and relaunch. The server now spawns, then exits immediately withERR_MODULE_NOT_FOUNDfor@modelcontextprotocol/sdk.
Root causes
The shipped bigpowers/.mcp.json is:
{
"mcpServers": {
"bigpowers-mcp": {
"command": "node",
"args": ["bigpowers-mcp/build/index.js"],
"cwd": "${workspaceFolder}"
}
}
}Two independent problems:
command: "node"+ relativeargs. Hosts that spawn MCP servers without a login shell (omp does) do not inherit aPATHthat includes a node installed by a version manager, so the bare name fails withENOENT. The relativeargspath also only resolves ifcwdhappens to be the package root.- Build output has no installed dependencies.
bigpowers-mcp/package.jsondeclares@modelcontextprotocol/sdk,js-yaml,remark-*,unified, andzod, butnpm installis never run in that subdirectory, sobuild/index.jscannot resolve any of them.
Workaround I am running
{
"mcpServers": {
"bigpowers-mcp": {
"command": "/opt/homebrew/bin/node",
"args": ["/Users/<you>/.omp/plugins/node_modules/bigpowers/bigpowers-mcp/build/index.js"]
}
}
}plus:
cd ~/.omp/plugins/node_modules/bigpowers/bigpowers-mcp && npm install --omit=devAfter both, omp starts with no warning and the server connects.
Suggested fixes
- Ship
.mcp.jsonwith an absolute, symlink-resolvedargspath (computed at install time), and either an absolutecommandor anoderesolved through the host's own runtime. - Run the
bigpowers-mcpinstall step as part of the package'spostinstall, or bundle the MCP server's deps sobuild/index.jsis self-contained. - Failing both, document the two-step workaround in the README — right now the failure looks like an omp problem, and I lost time proving it was not.
Environment
- bigpowers
2.87.3 - omp
v18.14.0(macOS 26, arm64) - Node
v26.13.0at/opt/homebrew/bin/node
Activity
fix(mcp): default OMP_PLUGIN_ROOT so bigpowers-mcp starts outside OMP (…
fix(mcp): default OMP_PLUGIN_ROOT so bigpowers-mcp starts outside OMP (…
chore(release): 2.88.17 [skip ci]
github-actions commentedon Oct 30, 2026
🎉 This issue has been resolved in version 2.88.17 🎉
The release is available on:
Your semantic-release bot 📦🚀
danielvm-git commentedon Oct 30, 2026
Thanks for the detailed report, and sorry about the time it cost you. You were right that this was a bigpowers problem, not an omp one.
Your two errors were already fixed in 2.88.4 (#123 / #125). On 2.87.3 the shipped
.mcp.jsonstill had"cwd": "${workspaceFolder}":posix_spawn 'node': this wasn't aPATHproblem.workspaceFolderis a VS Code token, not an environment variable, so omp built a working directory that doesn't exist. Bun reports a missing working directory as an error about the command. You can reproduce it withBun.spawn(["node", "-v"], { cwd: "/nonexistent" }). Your absolutenodepath worked because your patch also removed the badcwd.ERR_MODULE_NOT_FOUNDfor@modelcontextprotocol/sdk: since 2.88.4 the server's runtime dependencies are in the rootbigpowerspackage, sonpminstalls them with the plugin.What's new in 2.88.17: the manifest now uses
${OMP_PLUGIN_ROOT:-.}. omp always sets that variable, so nothing changes for you. Hosts that don't set it, such as Claude Code project scope, now get a usable path instead of a literal${OMP_PLUGIN_ROOT}.scripts/mcp-smoke.tsnow starts the server from.mcp.jsonunder both host setups, so CI would catch this kind of regression.To fix it on your side: upgrade to 2.88.17 and drop both workarounds. You no longer need the hardcoded
.mcp.jsonor thenpm installinsidebigpowers-mcp. I checked this by packing 2.88.16, installing it into an empty plugin folder, and getting answers toinitializeandtools/listwithout any extra install.If anything still fails after upgrading, please reopen this issue with the omp log line.
fix(compliance): restore akita.feature to 0 FAIL — dedupe helpers, sp…