You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(mcp): tracked .mcp.json declares a project server that pi blocks on every start #210
Warning: MCP: Project servers blocked: bigpowers-mcp (blocked: project server approval denied — reload in a trusted interactive session to approve it)
The server is never approvable-as-shipped: the approval is keyed by project root + definition hash (~/.pi/agent/mcp-project-approvals.json), so it re-appears in every worktree, every clone, and every fresh machine.
Root cause
.mcp.json is tracked in git and declares a project-scope server for all checkouts:
That entry only makes sense for OMP plugin installs (where OMP_PLUGIN_ROOT is set). In a normal clone the fallback . happens to work only if bigpowers-mcp/build/index.js exists, so trust + approval get spent on a dev-only server.
The adapter treats any project-scope MCP entry as untrusted-by-default (pi-mcp-adapterproject-server-trust.ts:44-46) and the policy can only be relaxed in the user-global adapter config, never the project one (config.ts:655).
Net effect: a permanent, unactionable startup warning for every contributor, on every worktree.
Fix direction
Generate .mcp.json at install time (OMP plugin loader / bigpowers setup --mcp) instead of committing it; keep scripts/validate-mcp-package.sh proving the packaged form still starts.
If it must ship, gate it: .mcp.json.example in-repo plus a documented bigpowers setup --mcp that writes the real file for OMP users.
Add the denial/approval path to docs/references/bigpowers-mcp.md: approve once, or set settings.projectServers: "allow" in ~/.pi/agent/mcp-adapter.json.
Verify
pi # no "Project servers blocked" line in a plain clone
OMP_PLUGIN_ROOT=$PWD bigpowers setup --mcp && pi # server available where it belongs
Activity
docs(mcp,setup): pi MCP keys, approval, update path (#227)
github-actions commentedon Nov 6, 2026
🎉 This issue has been resolved in version 2.94.1 🎉
The release is available on:
Your semantic-release bot 📦🚀