* feat(mcp): add a HackerOne MCP server A stdio MCP server (standard library only) at mcp/hackerone/server.py, reusing the GraphQL client shape from skills/offensive-osint/scripts/h1_reference.py. Public tools: search_disclosed_reports (server-side Hacktivity search, team_handle program filter), get_program, get_program_scope. Logged-in tools, listed only when HACKERONE_API_USERNAME and HACKERONE_API_TOKEN are set: list_my_programs, get_my_program, list_my_reports (read-only Hacker API). Ticks the README roadmap item, marks it shipped in USAGE.md, and points /intel at the tools. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(plugin): ship the HackerOne MCP with the plugin plugin.json declares the hackerone stdio server, run from the plugin's installed copy, and two optional plugin options for the Hacker API username and token (the token is sensitive, so Claude Code keeps it in secure storage). The server starts only while the plugin is enabled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(plugin): launch the HackerOne MCP with python3, matching the repo's docs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: ItsRenji <ItsRenjiii@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2.6 KiB
HackerOne MCP server
A stdio MCP server that gives the agent HackerOne data while hunting and writing reports. It uses only the Python
standard library and reuses the HackerOne GraphQL client shape from
skills/offensive-osint/scripts/h1_reference.py.
Tools
| Tool | Needs a key | What it returns |
|---|---|---|
search_disclosed_reports |
No | Disclosed Hacktivity reports for a query and/or program: title, URL, severity, CWE, bounty, votes. Use it to check for duplicates before reporting. |
get_program |
No | A public program's base bounty, average bounty range, resolved report count, launch date and state. |
get_program_scope |
No | A public program's structured scope (in-scope and out-of-scope assets, bounty eligibility, max severity, instructions) and policy text. |
list_my_programs |
Yes | Programs your account can see, private invitations included. |
get_my_program |
Yes | One program's policy and full scope as your account sees it. |
list_my_reports |
Yes | Your own reports and their state, optionally for one program. |
The logged-in tools appear only when HACKERONE_API_USERNAME and HACKERONE_API_TOKEN are set. They use the
read-only Hacker API; nothing in this server submits or changes anything on HackerOne. Create the token under
HackerOne Settings → API Token.
Connect it
Installed as the Claude Code plugin, the server comes with it: it starts only while the plugin is enabled, runs from the plugin's installed copy, and takes the optional username and token as plugin options (the token is kept in secure storage):
echo '{"hackerone_api_username":"<your username>","hackerone_api_token":"<your token>"}' | claude plugin configure claude-bughunter@elementalsouls --values-stdin
Without the plugin, register it by hand. Claude Code:
claude mcp add --scope user hackerone -- python3 /path/to/Claude-BugHunter/mcp/hackerone/server.py
With the logged-in tools:
claude mcp add --scope user hackerone \
-e HACKERONE_API_USERNAME=<your username> -e HACKERONE_API_TOKEN=<your token> \
-- python3 /path/to/Claude-BugHunter/mcp/hackerone/server.py
On Windows give the full path to python.exe: python3 there is often the Microsoft Store stub, which does not
run Python.
Other clients take the same command and arguments as a stdio server entry.
Search syntax
query goes to HackerOne's own search, so AND / OR work (oauth AND redirect_uri). program adds
team_handle:<handle>, which HackerOne filters server-side. sort is relevance (default), votes or bounty.
Results are capped at 50 per call.