rapid7-insightconnect-mcp
Click on "Deploy 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-insightconnect-mcp List my InsightConnect workflows and their last run status."
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 InsightConnect MCP
Use Rapid7 InsightConnect from an MCP-compatible AI assistant to find workflows, inspect jobs and artifacts, export snippets, and optionally run or cancel workflows.
Unofficial community project. This project is independently developed and is not an official Rapid7 product. It is not provided, maintained, endorsed, or supported by Rapid7. References to Rapid7 and InsightConnect are used only to describe compatibility with Rapid7 InsightConnect.
Harness-agnostic: your AI client owns MCP registration; this project only provides the MCP server.
Local by design: there is no hosted middle service.
Read-only by default: execution and cancellation stay disabled until you explicitly enable them.
API keys stay out of chat: setup collects the key through a one-time local browser page.
Quick start
You need an MCP-capable client, uv with Python 3.11+, and a Rapid7 API key.
The MCP executable is always:
uvx rapid7-insightconnect-mcp1. Add it to your AI client
Claude Code
claude mcp add --transport stdio --scope user rapid7-insightconnect -- \
uvx rapid7-insightconnect-mcpCodex
codex mcp add rapid7-insightconnect -- \
uvx rapid7-insightconnect-mcpFor other local MCP clients, register a stdio server with:
Command: uvx
Arguments: rapid7-insightconnect-mcpThe implementation does not detect or modify your AI client's configuration.
2. Connect Rapid7
Open a new AI session and ask:
Connect my Rapid7 InsightConnect account.
The MCP should call its setup tool and open a one-time local page. Choose your Rapid7 region, paste the API key, and leave writes disabled for your first session.
The API key goes directly to the local MCP process, not through the conversation.
3. Test it read-only
Ask:
Use Rapid7 InsightConnect to list at most 5 workflows. Do not run anything.
If you get a Rapid7 response, including an empty list, the connection is working.
Related MCP server: Rundeck MCP Server
If setup does not open
Run the terminal fallback:
uvx rapid7-insightconnect-mcp configureIt securely prompts for the API key, verifies it with one read-only request by default, and saves it locally. A failed verification does not overwrite an existing valid credential.
Then restart the MCP session.
Diagnose problems
Run local checks without contacting Rapid7:
uvx rapid7-insightconnect-mcp doctorAdd one explicit read-only API/authentication check with:
uvx rapid7-insightconnect-mcp doctor --onlineCommon failures:
Problem | What to do |
MCP does not appear | Check your client's MCP list/status and open a fresh session. |
Setup page does not open | Run |
HTTP 401 | Check the API key and Rapid7 region. |
HTTP 403 | Check the API key's Rapid7 permissions. |
Saved settings seem ignored | Run |
Writes are disabled | Reconfigure and explicitly enable them only when needed. |
What it can do
Capability | MCP tools |
Configure Rapid7 |
|
Find and inspect workflows |
|
Run workflows |
|
Inspect and cancel jobs |
|
Read global artifacts |
|
Export snippets |
|
Workflow execution and job cancellation require both local write enablement and confirm=true on the individual MCP call after user approval.
The server does not automatically retry mutations after an uncertain outcome.
Credentials and safety
Stored credentials live at:
~/.config/rapid7-insightconnect-mcp/credentials.jsonThey are plain text protected by owner-only filesystem permissions. The loader rejects unsafe ownership, writable ancestry, unexpected file types, and symlinked credential paths.
Other security boundaries include:
fixed Rapid7 regional HTTPS hosts;
redirects and environment proxy inheritance disabled;
bounded request and response bodies;
validated API paths;
sanitized upstream errors;
credential-shaped response fields redacted before they reach the model;
a loopback-only, tokenized, expiring setup page;
no raw REST passthrough tool.
See SECURITY.md for the full security model and vulnerability reporting.
Advanced configuration
Environment variables are supported for CI and managed deployments:
Variable | Purpose |
| Rapid7 API key |
|
|
|
|
| Local setup-page timeout in seconds; default |
| Alternate absolute config directory |
Configuration fails closed: if any credential-related R7_* variable is present, environment configuration is selected and both R7_API_KEY and R7_REGION are required. Incomplete environment configuration does not fall back to stored credentials.
.env files are not loaded.
Platform notes
The hardened credential store currently targets POSIX systems: Linux, macOS, and WSL on Windows.
Desktop apps may not inherit your shell PATH. If they cannot find uvx, use the absolute path from:
command -v uvxOn Windows, run the MCP inside WSL rather than as a native Windows process.
Development
End users should prefer uvx. Contributors can install from source:
git clone https://github.com/sonadztux/rapid7-insightconnect-mcp.git
cd rapid7-insightconnect-mcp
uv sync --frozenRun the same checks as CI:
uv run ruff format --check .
uv run ruff check .
uv run mypy
uv run pytest -q
uv run pip-audit
uv buildSee CONTRIBUTING.md for contribution guidance and RELEASING.md for the PyPI release process.
License
Licensed under the MIT License.
Available Tools
11 toolscancel_jobADestructive
Request job cancellation. Does not undo actions already performed.
Inputs: job_id (required), confirm. Returns: object
execute_workflowCDestructive
Execute an active API-triggered workflow without input; may change external systems.
Inputs: workflow_id (required), confirm. Returns: object
export_snippetARead-onlyIdempotent
Export a known snippet definition; published version by default.
Inputs: snippet_id (required), unpublished_version. Returns: object
get_global_artifactBRead-onlyIdempotent
Read global artifact metadata.
Inputs: artifact_id (required). Returns: object
get_jobARead-onlyIdempotent
Read a job's status and available execution details.
Inputs: job_id (required). Returns: object
get_workflowARead-onlyIdempotent
Read workflow definition and trigger details before execution.
Inputs: workflow_id (required). Returns: object
list_artifact_entriesBRead-onlyIdempotent
Read artifact entities; upstream spec does not document pagination parameters.
Inputs: artifact_id (required). Returns: object
list_global_artifactsBRead-onlyIdempotent
Discover global artifacts, optionally filtered by name, sorted by name.
Inputs: name, limit, offset, sort_order. Returns: object
list_jobsARead-onlyIdempotent
Read jobs newest first; optionally filter by workflow or documented terminal status.
Inputs: limit, offset, status, workflow_id. Returns: object
list_workflowsARead-onlyIdempotent
Discover workflows, one bounded page at a time; filter by state or name.
Inputs: name, limit, state, offset. Returns: object
setupAIdempotent
Configure Rapid7 credentials via a secure local page. Never ask for the key in chat.
Inputs: no named parameters. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool targets a distinct resource/action combination: workflows (list/get/execute), jobs (list/get/cancel), artifacts (list/get/list entries), and snippets (export). No two tools have overlapping purposes, and the descriptions clearly delineate their roles.
All tools follow a consistent verb_noun snake_case pattern (e.g., list_workflows, get_job, execute_workflow, export_snippet). The single exception, setup, is still a verb and fits the pattern. No mixed conventions or irregular naming.
With 11 tools, the set is well-scoped for the Rapid7 InsightConnect domain. It covers the essential resources (workflows, jobs, artifacts, snippets) without excess, and each tool has a clear purpose. This is within the ideal range for a domain-specific MCP server.
The surface covers core read and execution workflows for the domain. Minor gaps exist, such as no way to list snippets (only export a known one) and lack of create/update/delete operations for workflows/artifacts, but these may be intentional given the server's focus on discovery and execution. The noted lack of pagination parameters for list_artifact_entries is a small limitation.
Maintenance
Related MCP Connectors
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Automate 1,000+ services from any MCP-compatible AI agent: build Applets, run actions and queries.
Connect an AI assistant to SuperPost to find sources and ideas, create unscheduled drafts, and review post versions. Edit saved Posts and Ideas directly with MCP, without creating proposals. Schedule posts or request immediate publication, then inspect, approve, or reject pending publication jobs. OAuth access follows your workspace permissions and publication policies.
Connect your AI assistant to Revnu, your autonomous growth agent for outbound sales, SEO, content, social media and ads. Use this MCP connector to read leads and campaign results, review and approve queued work, hand jobs to your Revnu agent, and schedule recurring workflows from your AI chat. Supports Streamable HTTP and OAuth with permissions you choose at sign-in. Tools act on your connected Revnu account; write actions require explicit permissions. Learn more and connect at https://revnu.com/mcp.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Rundeck automation platform, including project and job management, execution, and system monitoring through the MCP protocol.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP-compatible AI assistants to search Rundeck documentation, query and operate a live Rundeck instance, and generate or validate job definitions using authenticated API and schema tooling.Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to inspect, query, diagnose, and operate an Octopus instance through MCP tools for projects, deployments, releases, runbooks, tasks, tenants, Kubernetes, machines, certificates, accounts, and interruptions, with read-only or write-enabled modes.547 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to inspect, query, and diagnose problems within an Octopus instance, and optionally create releases, deploy releases, run runbooks, and adjust feature toggles through MCP tools.547 npmMIT