Skip to content

fix(mcp): start bigpowers-mcp from OMP plugin installs (#123) - #125

Merged
danielvm-git merged 1 commit into
mainfrom
fix/pi-mcp-omp-startup
Sep 13, 2026
Merged

danielvm-git merged 1 commit into
mainfrom
fix/pi-mcp-omp-startup

Conversation

@danielvm-git

Copy link
Copy Markdown
Owner

Summary

  • Replace ${workspaceFolder} in shipped .mcp.json with ${OMP_PLUGIN_ROOT} so OMP plugin MCP spawn cwd and entry path resolve correctly
  • Hoist bigpowers-mcp runtime dependencies (@modelcontextprotocol/sdk, remark/unified stack) to root package.json so published installs resolve modules without a nested npm install
  • Teach getRepoRoot() to recognize the published npm layout (skills/ without specs/)
  • Add scripts/validate-mcp-package.sh, scripts/mcp-smoke.ts, and golden gate mcp-package
  • Extend install-helpers tarball checks for .mcp.json and bigpowers-mcp/build/index.js

Closes #123.

Test plan

  • node scripts/mcp-smoke.ts
  • bash scripts/validate-mcp-package.sh
  • node scripts/test-install-helpers.js
  • bash scripts/run-gate-trace-verify.sh
  • npm run compliance && bash scripts/run-verification-gates.sh && bash scripts/sync-skills.sh && bash scripts/trace-stories.sh --strict (CI)

Point shipped .mcp.json at ${OMP_PLUGIN_ROOT} instead of workspaceFolder
so OMP spawn cwd resolves. Hoist bigpowers-mcp runtime dependencies to
the root package graph and add validate-mcp-package + mcp-smoke gates.

Closes #123
@danielvm-git
danielvm-git merged commit 1194dc1 into main Sep 13, 2026
4 checks passed
github-actions Bot pushed a commit that referenced this pull request Sep 13, 2026
## [2.88.4](v2.88.3...v2.88.4) (2026-09-13)

### Bug Fixes

* **mcp:** start bigpowers-mcp from OMP plugin installs ([#123](#123)) ([#125](#125)) ([1194dc1](1194dc1))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.88.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

danielvm-git added a commit that referenced this pull request Oct 30, 2026
…lit oversized files (#171)

* fix(compliance): restore akita.feature to 0 FAIL — dedupe helpers, split oversized files

akita.feature sat at PASS 17 / FAIL 2 on main. The 94% global gate
(97% overall) hid it. Root cause: duplicate bash function names
(pass/fail/run_fixture/run_verify_cmd) added in #118, #123/#125 and #161,
and two files over the 300-line cap (srp-engine.py via #155,
run-story-verify.sh via #161). The checks were right, so the code is fixed:

- lib/test-assertions.sh gains ta_err/ta_ok; the validate-*.sh gates and
  two test scripts use the shared ta_* helpers.
- run_fixture -> ggr_run_fixture; run-story-verify's run_verify_cmd ->
  run_memoized_chain, moved with its memo helpers to lib/story-verify-memo.sh.
- render_okf_concept moves to lib/srp_engine_okf.py.

Compliance is now 98 PASS / 0 FAIL (100%). Exit-code policy is unchanged.

BUG-2026-10-30-compliance-akita-masked

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(mcp): default OMP_PLUGIN_ROOT so bigpowers-mcp starts outside OMP (#168) (#169)

The shipped .mcp.json used ${OMP_PLUGIN_ROOT} with no default. omp
injects it, but Claude Code project scope does not and leaves an unset
${VAR} literal, so it spawned node '${OMP_PLUGIN_ROOT}/...' and the
server failed with CONNECTION_CLOSED. Both references now use
${OMP_PLUGIN_ROOT:-.}, which omp ignores and other hosts resolve from
the project root.

mcp-smoke.ts now expands the manifest per host profile (omp, claude-code)
instead of hard-coding the entry, and validate-mcp-package.sh rejects a
reference without a :- default.

The failures reported in #168 (bare node ENOENT, missing SDK) were the
pre-2.88.4 manifest; re-verified fixed on a packed 2.88.16 install, so
BUG-2026-09-10-pi-mcp-omp-startup is marked fixed.

Closes #168

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
github-actions Bot pushed a commit that referenced this pull request Oct 30, 2026
## [2.88.17](v2.88.16...v2.88.17) (2026-10-30)

### Bug Fixes

* **compliance:** restore akita.feature to 0 FAIL — dedupe helpers, split oversized files ([#171](#171)) ([4ed9a26](4ed9a26)), closes [#118](#118) [123/#125](#125) [#161](#161) [#155](#155) [#161](#161) [#168](#168) [#169](#169) [#168](#168) [#168](#168)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: published MCP server cannot start as an OMP plugin

1 participant