Rapid7 Bulk Export MCP Server
Published · Updated
At a glance
- Category
- Security & auth
- GitHub repository
- rapid7/rapid7-bulk-export-mcp
- Watch out for
- The API key must be created by a Platform Admin, because the bulk export returns vulnerability data across the whole platform.
Rapid7 publishes the Bulk Export MCP server in its own GitHub organization. It pulls data out of the Rapid7 Command Platform through the Bulk Export API, stores it in a local DuckDB file, and lets an agent answer questions about vulnerabilities, assets, policies and remediation history with SQL.
The server is written in Python and installs straight from the repository with pip or uv. By default the client launches it as a local stdio process, so the database stays on your machine. There is also a Docker image that serves a single /mcp endpoint over streamable HTTP for shared use, and in that mode the server will not start until OIDC bearer token validation is configured.
The repo ships an Agent Skill alongside the server that gives the model schema knowledge and usage instructions. Rapid7 describes the project as best effort support, limited to the MCP code and skill content.
How it connects
Your AI app
An assistant or agent that supports MCP
Rapid7 Bulk Export MCP Server
Runs as
- Python (uv / pip)
Gives the agent
- Start exports
- Track and download
- Query with SQL
- Explore the data
- Reuse and import
- Clean up
Rapid7 Bulk Export
Signs in with
- API key
What it can do
- Start exports
- start_rapid7_export kicks off a vulnerability, policy, remediation or asset_software export on Rapid7's side and returns right away.
- Track and download
- check_rapid7_export_status reports progress without blocking, and download_rapid7_export pulls the finished Parquet files into DuckDB in the background.
- Query with SQL
- query_rapid7 runs SQL against tables such as assets, vulnerabilities, vulnerability_exceptions and asset_software, with filesystem and network access disabled inside DuckDB.
- Explore the data
- get_rapid7_schema shows available fields and get_rapid7_stats returns quick summaries and distributions.
- Reuse and import
- list_rapid7_exports shows past exports for reloading, and load_rapid7_parquet loads Parquet files already placed under ~/.rapid7_mcp/imports/.
- Clean up
- purge_rapid7_data permanently deletes the vulnerability database and the export tracking database from disk.
Setting it up
First generate a Rapid7 platform API key as a Platform Admin (Administration, then API Key Management) and note your data storage region. Install the package with pip install git+https://github.com/rapid7/rapid7-bulk-export-mcp.git (or the uv pip equivalent). In Claude Code, register it with claude mcp add --transport stdio --env RAPID7_API_KEY=your-api-key-here --env RAPID7_REGION=your-region rapid7-bulk-export -- rapid7-mcp-server, then run /mcp to confirm it is connected. Codex uses codex mcp add rapid7-bulk-export with the same two --env flags, and VS Code with Copilot takes an mcpServers entry in the workspace-root .mcp.json whose command is rapid7-mcp-server. Claude Desktop users can install Rapid7 Bulk Export from Customize, Connectors and enter the key and region when prompted. RAPID7_REGION accepts us, us2, us3, eu, ca, au or ap. The README suggests injecting the key from a secrets manager rather than storing it in plain text.
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Load the latest vulnerability export and list the assets carrying the most critical findings.
- Pull several months of remediation history and report how quickly vulnerabilities were closed.
- Search installed asset software for a specific package version across the fleet.
- Check which vulnerabilities currently have exceptions recorded against them.
Limitations and things to watch
- The API key must be created by a Platform Admin, because the bulk export returns vulnerability data across the whole platform.
- Rapid7 caps each remediation export at 31 days with one in flight at a time, so longer ranges load as a sequence of windows.
- The first export can take a few minutes depending on org size, and data is a snapshot until you ask for a refresh.
- In remote HTTP mode every user of the endpoint shares the same data, so the /mcp endpoint has to be secured with an identity provider.
- Support is best effort and does not extend to workflows built on top of the tool.
Sources
Written from the project's own documentation, checked November 2026.
- github.com /rapid7/rapid7-bulk-export-mcp
- raw.githubusercontent.com /rapid7/rapid7-bulk-export-mcp/main/README.md
- github.com /rapid7/rapid7-bulk-export-mcp/blob/main/docs/authentication.md
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.