Skip to content

feat(mcp): wire the HackerOne MCP into all harnesses (parity with Burp) - #165

Merged
elementalsouls merged 1 commit into
mainfrom
feat/hackerone-mcp-multiharness
Nov 18, 2026
Merged

elementalsouls merged 1 commit into
mainfrom
feat/hackerone-mcp-multiharness

Conversation

@elementalsouls

Copy link
Copy Markdown
Owner

Follow-up to #162/#163. The HackerOne MCP installed into Claude Code only; Burp wires into OpenCode/Codex/Hermes/AntiGravity via setup_harness_mcp.py. This brings the HackerOne MCP to parity.

Changes

  • setup_harness_mcp.py — the four harness writers are now parametrized by server name (default "burp", so existing behavior and tests are unchanged). Adds hackerone_source() (runs python3 mcp/hackerone/server.py, carries HACKERONE_API_* env only if set) and --burp/--hackerone selection (default stays burp). A failed burp auto-discovery now warns and continues when --hackerone is also requested, instead of aborting.
  • install.sh / install.ps1 — add --hackerone-mcp / -HackeroneMcp; both servers can be wired in one run (--all --burp-mcp --hackerone-mcp).
  • docs/multi-harness.md — HackerOne MCP section mirroring Burp (auto + manual snippets for all four harnesses).
  • tests — test_mcp_hackerone_harness.py: source resolution (keyless by default, carries creds when set) + keyed Codex/AntiGravity wiring.

Verified

  • All MCP tests green (existing burp + new hackerone); full repo suite green (engine 34, tests/ 52).
  • E2E dry + real wiring into a temp HOME: both [mcp_servers.burp] and [mcp_servers.hackerone] written; burp-miss-with-hackerone path continues cleanly.
  • install.sh bash -n clean.

🤖 Generated with Claude Code

The HackerOne MCP (#162) only installed into Claude Code; Burp wires into
OpenCode/Codex/Hermes/AntiGravity via setup_harness_mcp.py. This brings parity.

- setup_harness_mcp.py: parametrize the four writers by server name (default
  "burp", so existing behavior/tests are unchanged); add hackerone_source()
  (python3 + in-repo server path, carries HACKERONE_API_* env only if set);
  add --burp/--hackerone selection (default burp). A burp-discovery miss now
  warns and continues when hackerone is also requested, instead of aborting.
- install.sh / install.ps1: add --hackerone-mcp / -HackeroneMcp, passing the
  server-selection flags through; both servers can be wired in one run.
- docs/multi-harness.md: HackerOne MCP section mirroring the Burp one.
- tests: test_mcp_hackerone_harness.py (source resolution + keyed wiring).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@elementalsouls
elementalsouls merged commit 315c062 into main Nov 18, 2026
6 checks passed
@elementalsouls
elementalsouls deleted the feat/hackerone-mcp-multiharness branch November 18, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants