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
if echo "$LABELS" | grep -Fxq 'mcp-catalog-reviewed'; then
301
+
echo "MCP catalog review label present."
302
+
exit 0
303
+
fi
304
+
305
+
BODY="## ⚠️ MCP catalog security review required
306
+
307
+
This PR changes the bundled MCP catalog or MCP catalog installer code. MCP entries can define local commands that users later install into \`mcp_servers\`, so this needs explicit maintainer review before merge.
308
+
309
+
A maintainer should verify:
310
+
- any new/changed \`optional-mcps/**/manifest.yaml\` command and args are expected,
311
+
- stdio transports do not use shell+egress/exfiltration payloads,
312
+
- git install refs are pinned and bootstrap commands are minimal,
313
+
- requested env vars/secrets match the upstream MCP's documented needs.
314
+
315
+
After review, add the \`mcp-catalog-reviewed\` label and re-run this check."
316
+
317
+
gh pr comment "$PR" --body "$BODY" || echo "::warning::Could not post PR comment (expected for fork PRs)"
318
+
echo "::error::MCP catalog changes require the mcp-catalog-reviewed label."
0 commit comments