Rapid7 Bulk Export MCP Server
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Rapid7 Bulk Export MCP ServerShow me top 10 most vulnerable assets."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Rapid7 Bulk Export MCP
AI-powered analysis for Rapid7 Command Platform data using MCP (Model Context Protocol) & AgentSkills.
This tool is a best effort support, due to the bespoke and ever-changing nature of tools and workflows which would utilize this tool we cannot provide support or guidance outside of the MCP Code & AgentSkill Content.
What is This?
This tool exports data from Rapid7 Command Platform, via the Rapid7 Bulk Export API and makes it queryable in GenAI and Agentic workflows.
MCP Server: Embeds tools which allow the getting, processing and querying of data
Agent Skill / Kiro Power: Gives additional context, schema knowledge and instructions on how to use the MCP tools
DuckDB Database: Local file-based database to allow structured rapid querying
Related MCP server: VAST DB MCP Server
Features
AI-Powered Analysis: Use with Kiro, Claude Desktop, or any MCP-compatible AI assistant
On-Demand Data Loading: Automatically fetch and load data from Rapid7
Export Reuse: Automatically reuses exports from the same day to avoid redundant API calls
Natural Language Queries: Ask questions in plain English
SQL Query Execution: Run complex SQL queries against vulnerability, asset and other data
Schema Exploration: Discover available data fields
Statistics & Insights: Get instant summaries and distributions
Security Lockdown: User queries are sandboxed — filesystem and network access disabled at the DuckDB engine level
Docker Support: Run as a containerized HTTP service for remote or shared deployments
Local vs Remote
You can run the MCP server in two modes depending on your setup:
Local (stdio) — The AI client spawns the server as a child process and communicates over stdin/stdout. This is the default and simplest option. The server runs on your machine, the database lives next to it, and everything stays local. Best for individual use on a workstation or laptop.
Remote (Docker / streamable HTTP) — The server runs as a containerized HTTP service exposing a single /mcp endpoint. Clients connect over the network via URL. Best for shared environments, team use, or when you want the server running on dedicated infrastructure separate from your AI tool. It should be noted that this will make data shareable between all users of the remote mcp, you should authenticate and secure the /mcp endpoint.
Both modes use the same MCP tools and security controls. The only difference is how the client connects.
Quick Start
0. Get Your Rapid7 API Key and Region
Before you begin, you'll need credentials from your Rapid7 Insight Platform account.
Generate an API Key:
Important: The API key must be generated by a Platform Admin. The bulk export API returns all vulnerability data across the entire platform, so admin-level access is required.
Log in to the Rapid7 Insight Platform as a Platform Admin
Navigate to Administration → API Key Management
Choose the key type:
Organization Key (recommended): Full admin permissions (requires Platform Admin role)
User Key: Inherits your account permissions — must be created by a Platform Admin to have sufficient access for bulk exports
Click "Generate New Admin Key" (or "Generate New User Key" if using a Platform Admin account)
Select your organization and provide a name for the key
Copy the key immediately - you won't be able to view it again!
Find Your Region:
Your region determines which API endpoint to use. To find your region:
Go to insight.rapid7.com and sign in
Look for the "Data Storage Region" tag in the upper right corner below your account name
For more details, see:
1. Set Up Your AI Tool
Choose your AI tool below. Each guide walks through installing the MCP server, adding the Agent Skill, and verifying the connection.
Securing your API key: Avoid storing your
RAPID7_API_KEYin plaintext on disk. Use a secrets manager to inject the key at runtime — for example, 1Password CLI, Bitwarden CLI, macOS Keychain, Windows Credential Manager, or PowerShell SecretManagement. With 1Password you can set"command": "op"and"args": ["run", "--", "rapid7-mcp-server"]withop://secret references in the env block — the key is resolved from your vault and never written to config files. Adapt this pattern to whatever password manager you use.
Install the MCP Server
Open Claude Desktop and navigate to Customize → Connectors
Search for "Rapid7 Bulk Export" in the connectors directory
Click Install and provide your
RAPID7_API_KEYandRAPID7_REGIONwhen prompted

Install the Agent Skill
Go to Customize -> Skills
Click the (+)
Create Skill
Upload Skill
Upload the latest skill zipfile from the release on the right

Verify
Try:
/rapid7-bulk-export-analysis-expert Load the latest vulnerability data from Rapid7
Install the MCP Server
# Using uv
uv pip install git+https://github.com/rapid7/rapid7-bulk-export-mcp.git
# Or using pip
pip install git+https://github.com/rapid7/rapid7-bulk-export-mcp.gitConfigure
Create or edit .kiro/settings/mcp.json:
{
"mcpServers": {
"rapid7-bulk-export": {
"command": "rapid7-mcp-server",
"args": [],
"env": {
"RAPID7_API_KEY": "your-api-key-here",
"RAPID7_REGION": "your-region"
}
}
}
}Install the Agent Skill
Open the Kiro Skills panel (Command Palette → "Kiro: Open Skills")
Click "Install from GitHub"
Enter the repository URL:
https://github.com/rapid7/rapid7-bulk-export-mcp/rapid7-bulk-export-skill
Activate the skill in chat with #rapid7-bulk-export-skill.
Verify
Restart or reconnect MCP servers (Command Palette → "MCP: Reconnect All Servers")
Check MCP panel for "rapid7-bulk-export" server (should show "Connected")
Try:
#rapid7-bulk-export-skill Load the latest vulnerability data from Rapid7
Install the MCP Server
# Using uv
uv pip install git+https://github.com/rapid7/rapid7-bulk-export-mcp.git
# Or using pip
pip install git+https://github.com/rapid7/rapid7-bulk-export-mcp.gitConfigure
Use the Claude Code CLI:
claude mcp add --transport stdio \
--env RAPID7_API_KEY=your-api-key-here \
--env RAPID7_REGION=your-region \
rapid7-bulk-export \
-- rapid7-mcp-serverOr manually edit ~/.claude.json (user scope) or .mcp.json (project scope):
{
"mcpServers": {
"rapid7-bulk-export": {
"command": "rapid7-mcp-server",
"args": [],
"env": {
"RAPID7_API_KEY": "your-api-key-here",
"RAPID7_REGION": "your-region"
}
}
}
}Use --scope user for cross-project access or --scope project for team sharing.
Install the Agent Skill
# User-level (available in all projects)
mkdir -p ~/.claude/skills/rapid7-bulk-export
curl -sL https://raw.githubusercontent.com/rapid7/rapid7-bulk-export-mcp/main/rapid7-bulk-export-skill/SKILL.md \
-o ~/.claude/skills/rapid7-bulk-export/SKILL.md
# Or project-level (only in current project)
mkdir -p .claude/skills/rapid7-bulk-export
curl -sL https://raw.githubusercontent.com/rapid7/rapid7-bulk-export-mcp/main/rapid7-bulk-export-skill/SKILL.md \
-o .claude/skills/rapid7-bulk-export/SKILL.mdOr use npx skills to install directly:
npx skills install https://github.com/rapid7/rapid7-bulk-export-mcpClaude Code will automatically discover and use the skill when relevant.
Verify
Restart Claude Code or reload the window
Type
/mcpin chat to check server statusVerify "rapid7-bulk-export" appears in the list
Try:
Load the latest vulnerability data from Rapid7
Install the MCP Server
# Using uv
uv pip install git+https://github.com/rapid7/rapid7-bulk-export-mcp.git
# Or using pip
pip install git+https://github.com/rapid7/rapid7-bulk-export-mcp.gitConfigure
Edit MCP settings in VS Code:
Use Command Palette: "MCP: Edit Configuration"
Or manually edit:
.vscode/mcp.json(workspace) or user settings
{
"mcpServers": {
"rapid7-bulk-export": {
"command": "rapid7-mcp-server",
"args": [],
"env": {
"RAPID7_API_KEY": "your-api-key-here",
"RAPID7_REGION": "your-region"
}
}
}
}Install the Agent Skill
# Project-level (recommended, stored in repository)
mkdir -p .github/skills/rapid7-bulk-export
curl -sL https://raw.githubusercontent.com/rapid7/rapid7-bulk-export-mcp/main/rapid7-bulk-export-skill/SKILL.md \
-o .github/skills/rapid7-bulk-export/SKILL.md
# Or user-level (available across all projects)
mkdir -p ~/.copilot/skills/rapid7-bulk-export
curl -sL https://raw.githubusercontent.com/rapid7/rapid7-bulk-export-mcp/main/rapid7-bulk-export-skill/SKILL.md \
-o ~/.copilot/skills/rapid7-bulk-export/SKILL.mdOr use npx skills to install directly:
npx skills install https://github.com/rapid7/rapid7-bulk-export-mcpUse the skill as a slash command: /rapid7-bulk-export.
Verify
Reload VS Code window
Check MCP status in the status bar or output panel
Try:
Load the latest vulnerability data from Rapid7
Install the MCP Server
# Using uv
uv pip install git+https://github.com/rapid7/rapid7-bulk-export-mcp.git
# Or using pip
pip install git+https://github.com/rapid7/rapid7-bulk-export-mcp.gitConfigure
Add the server using the Codex CLI:
codex mcp add rapid7-bulk-export \
--env RAPID7_API_KEY=your-api-key-here \
--env RAPID7_REGION=your-region \
-- rapid7-mcp-serverOr manually edit ~/.codex/config.toml:
[mcp_servers.rapid7-bulk-export]
command = "rapid7-mcp-server"
args = []
enabled = true
[mcp_servers.rapid7-bulk-export.env]
RAPID7_API_KEY = "your-api-key-here"
RAPID7_REGION = "your-region"If using environment variables from your shell instead of hardcoding them:
[mcp_servers.rapid7-bulk-export]
command = "rapid7-mcp-server"
args = []
enabled = true
env_vars = ["RAPID7_API_KEY", "RAPID7_REGION"]Verify
List configured servers:
codex mcp listCheck server details:
codex mcp get rapid7-bulk-exportTry:
Load the latest vulnerability data from Rapid7
Install the MCP Server
# Using uv
uv pip install git+https://github.com/rapid7/rapid7-bulk-export-mcp.git
# Or using pip
pip install git+https://github.com/rapid7/rapid7-bulk-export-mcp.gitConfigure
Edit your Antigravity MCP config file:
macOS/Linux:
~/.gemini/antigravity/mcp_config.jsonWindows:
C:\Users\<USERNAME>\.gemini\antigravity\mcp_config.json
You can also access this file from the Antigravity Agent panel → "..." → MCP Servers → Manage MCP Servers → View raw config.
Add the following to mcp_config.json:
{
"mcpServers": {
"rapid7-bulk-export": {
"command": "rapid7-mcp-server",
"args": [],
"env": {
"RAPID7_API_KEY": "your-api-key-here",
"RAPID7_REGION": "your-region"
}
}
}
}Verify
Restart Antigravity for changes to take effect
Open the MCP Servers panel ("..." menu → MCP Servers)
Confirm "rapid7-bulk-export" appears with available tools
Try:
Load the latest vulnerability data from Rapid7
Build and Run
# Build
docker build -t rapid7-bulk-export-mcp .
# Run
docker run -d \
-p 8000:8000 \
-e RAPID7_API_KEY=your-api-key-here \
-e RAPID7_REGION=us \
--name rapid7-bulk-export-mcp \
rapid7-bulk-export-mcpOr with docker compose:
RAPID7_API_KEY=your-key RAPID7_REGION=us docker compose up -dConfigure Your MCP Client
Point any MCP-compatible client at the HTTP endpoint:
{
"mcpServers": {
"rapid7-bulk-export": {
"url": "http://localhost:8000/mcp"
}
}
}Install the Agent Skill
Follow the skill installation for your specific AI tool above. The skill works the same regardless of whether the MCP server is local or remote.
Verify
Confirm the container is running:
docker psTest the endpoint:
curl http://localhost:8000/mcpConnect your AI tool and try:
Load the latest vulnerability data from Rapid7
2. Start Analyzing
Note: The first export takes 1-5 minutes depending on org size. Once complete, the data is cached and subsequent loads reuse the same export. You can always ask to refresh the data to get the latest set.
Show me the top 10 critical vulnerabilities with known exploitsWhat's the severity distribution across my cloud assets?Tool Reference
start_rapid7_export
Kicks off a new export job on Rapid7's servers. Returns immediately with an export ID. Supports three export types: vulnerability, policy, and remediation.
Start a vulnerability export from Rapid7check_rapid7_export_status
Polls the Rapid7 API once for the current status of an export job. Use after start_rapid7_export to know when data is ready.
Check the status of export abc-123download_rapid7_export
Downloads a completed export's Parquet files and loads them into the local DuckDB database. This is where data becomes queryable.
Download and load export abc-123load_rapid7_parquet
Loads existing Parquet files directly from disk (must be within ~/.rapid7-mcp/imports/). Useful if you already have exported files and want to skip the API call.
Load parquet files from ~/.rapid7-mcp/imports/my-export/query_rapid7
Executes SQL against the loaded data. The connection is locked down after loading — filesystem reads, writes, and network access are all blocked at the DuckDB engine level.
Available tables: assets, vulnerabilities, policies, vulnerability_remediation.
Run: SELECT severity, COUNT(*) FROM vulnerabilities GROUP BY severityget_rapid7_schema
Returns column names and data types for all loaded tables. Use this to understand what fields are available before writing queries.
Show me the schema of the loaded dataget_rapid7_stats
Returns summary statistics — row counts, severity distributions, CVSS score ranges, exploit counts, and cloud provider breakdowns.
Give me an overview of the vulnerability datalist_rapid7_exports
Shows recent export history with IDs, dates, statuses, and row counts. Useful for finding a previous export to reload.
List my recent exportspurge_rapid7_data
Permanently deletes both the vulnerability database and the export tracking database from disk. Use when you're done with analysis or before handing off a machine.
Purge all local Rapid7 dataArchitecture
graph TB
subgraph "AI Layer"
LLM[LLM/AI Assistant<br/>Copilot, Kiro, Claude Desktop, etc.]
end
subgraph "Rapid7 Bulk Export MCP Tool"
MCP[MCP Server<br/>rapid7-bulk-export]
Skill[Agent Skill / Power<br/>rapid7-bulk-export-skill]
end
subgraph "Data Layer"
DB[(DuckDB<br/>rapid7_bulk_export.db)]
Tracker[(Export Tracker<br/>rapid7_bulk_export_tracking.db)]
end
subgraph "Rapid7 API"
R7[Rapid7 Bulk Export API<br/>/export/graphql ]
end
LLM <-->|Model Context Protocol| MCP
LLM -.->|Enhanced Context| Skill
MCP -->|SQL Queries| DB
MCP -->|Track Exports| Tracker
MCP -->|Fetch Data| R7
R7 -->|Parquet Files| MCP
MCP -->|Load Data| DB
style LLM fill:#e1f5ff
style MCP fill:#fff4e1
style Skill fill:#f0e1ff
style DB fill:#e8f5e9
style Tracker fill:#e8f5e9
style R7 fill:#ffe1e1Development
Changes to the AgentSkill and MCP can be done locally to allow you to tailor to your environment — contributions are welcome back to this repository.
Clone and Install
git clone https://github.com/rapid7/rapid7-bulk-export-mcp.git
cd rapid7-bulk-export-mcp
uv syncConfigure for Development
Create or edit .kiro/settings/mcp.json:
{
"mcpServers": {
"rapid7-bulk-export": {
"command": "uv",
"args": ["run", "rapid7-mcp-server"],
"cwd": "/absolute/path/to/rapid7-bulk-export-mcp",
"env": {
"RAPID7_API_KEY": "your-api-key-here",
"RAPID7_REGION": "your-region"
}
}
}
}Run Tests
uv run pytestEnvironment Variables
Variable | Required | Default | Description |
| Yes | — | Rapid7 InsightVM API key |
| Yes |
| API region: |
| No |
| Transport protocol: |
| No |
| HTTP bind address (only when |
| No |
| HTTP port (only when |
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rapid7/rapid7-bulk-export-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server