MCP Servers

A collection of Model Context Protocol servers, templates, tools and more.

R
R7 Insightidr MCP

FastMCP server for Rapid7 InsightIDR investigation management

Created 5/27/2026
Updated about 3 hours ago
Repository documentation and setup instructions

Rapid7 InsightIDR MCP Server

A FastMCP server that exposes Rapid7 InsightIDR investigation management as MCP tools, enabling AI-assisted security triage workflows.

Requirements

  • mise for tool management
  • Python 3.10+

Setup

mise install       # installs Python and uv
uv sync            # installs dependencies into .venv

Configuration

The following environment variables are required:

| Variable | Description | |---|---| | RAPID7_API_KEY | Rapid7 Insight Platform API key | | RAPID7_USER_EMAIL | Email address of the user (used by assign_to_me) | | RAPID7_REGION | Rapid7 region prefix (default: us) — see Rapid7 region docs |

Claude Code Setup

claude mcp add --scope user r7-insightidr -- python3 /path/to/server.py

Ensure the required environment variables are available in the shell session where Claude Code runs.

Tools

| Tool | Description | |---|---| | list_investigations | List investigations filtered by assignee (unassigned, me, any) and status | | get_investigation | Get full details and linked alerts for an investigation by RRN | | assign_to_me | Assign an investigation to the configured user | | set_status | Update investigation status (OPEN, INVESTIGATING, WAITING) | | add_comment | Add a comment to an investigation | | close_investigation | Close an investigation with a disposition (BENIGN, MALICIOUS, NOT_APPLICABLE) |

Notes

  • Investigations are identified by RRN (Rapid7 Resource Name), e.g. rrn:investigation:us:...:investigation:XXXXXXXX
  • The assignee=me filter uses RAPID7_USER_EMAIL to filter by the configured user
  • Comments use the v1 API (/idr/v1/comments) with a target field pointing to the investigation RRN — the v2 comments endpoint is not functional
Quick Setup
Installation guide for this server

Install Package (if required)

uvx r7-insightidr-mcp

Cursor configuration (mcp.json)

{ "mcpServers": { "mupi2k-r7-insightidr-mcp": { "command": "uvx", "args": [ "r7-insightidr-mcp" ] } } }