Lumu MCP Server
OfficialYou can use this MCP server to query, investigate, and manage Lumu Defender security incidents from Claude via 13 tools.
Check server health with
health_check.List and filter incidents via
get_incidents(by date range, status, adversary type, labels, with pagination orfetch_allchunked fetching).Fetch incidents by status using dedicated
get_open_incidents,get_muted_incidents, andget_closed_incidentstools (filterable by adversary type and labels).Inspect a single incident with
get_incident_details(status, IOCs, recommended actions).Drill into incident context via
get_incident_context(optional hash-type filter).Review affected endpoints and contacts for an incident with
get_incident_endpoints(filterable by endpoints/labels).Triage and act on incidents:
mark_incident_as_read,mute_incident,unmute_incident, andclose_incident(each with optional explanatory comments).Collaborate by adding notes with
comment_incident.Monitor activity in near real-time via
get_incident_updates(offset/items/time window).
Note: the README also advertises event-grouping, label, and begin_work tools that are not present in this schema, while the schema adds get_incident_context and get_incident_endpoints not documented in the README.
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., "@Lumu MCP Server Show me open security incidents from the last 30 days"
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.
π‘οΈ Lumu MCP Server
Supercharge Claude Desktop with Lumu Defender security incident analysis
An MCP (Model Context Protocol) server that seamlessly integrates Claude Desktop with the Lumu Defender API, enabling AI-powered security incident analysis and management.
β¨ Features
π Incident Retrieval: Get security incidents with advanced filtering
π― Smart Analysis: AI-powered incident analysis through Claude
π Full Management: Mark as read, mute, unmute, and close incidents
π¬ Event Drill-down: Inspect incident event groupings and their raw security events
π Real-time Monitoring: Track incident updates and activity
π Secure Integration: Environment-based API key management
β‘ Easy Setup: One-command installation with pip
Related MCP server: Pentest Tools MCP Server
π Quick Start
1. Install
Security requirement (TLS/certificate fixes, Oct 2026): install into a Python patched against CVE-2026-115557 β 3.11.18 / 3.12.16 / 3.13.18 / 3.14.10 or newer β and upgrade pip first. A fresh install then pulls a patched
certifi(β₯ 2026.10.19) automatically viahttpx.python -m pip install --upgrade pip
pip install lumu-mcp-server2. Configure Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"lumu-mcp-server": {
"command": "lumu-mcp-server",
"env": {
"LUMU_DEFENDER_API_KEY": "your-api-key-here"
}
}
}
}3. Start Using
Ask Claude: "Get security incidents from Lumu Defender"
π‘ Need help finding your config file? See Configuration Locations below.
π§ Configuration
Get Your Lumu Defender API Key
Log in to your Lumu Defender account
Navigate to Settings β API Keys
Generate or copy your API key
Configuration File Locations
π macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonπͺ Windows:
%APPDATA%\Claude\claude_desktop_config.jsonπ§ Linux:
~/.config/Claude/claude_desktop_config.json
Configuration Options
Standard Configuration (Recommended)
{
"mcpServers": {
"lumu-mcp-server": {
"command": "lumu-mcp-server",
"env": {
"LUMU_DEFENDER_API_KEY": "your-api-key-here"
}
}
}
}Alternative Configuration
If the command isn't found, use the Python module directly:
{
"mcpServers": {
"lumu-mcp-server": {
"command": "python",
"args": ["-m", "lumu_mcp_server"],
"env": {
"LUMU_DEFENDER_API_KEY": "your-api-key-here"
}
}
}
}Claude Code (CLI)
If you use Claude Code (the terminal CLI) instead of the Claude Desktop app, register the server and pass the API key in one command β no JSON file to edit:
claude mcp add lumu-mcp-server \
-e LUMU_DEFENDER_API_KEY=your-api-key-here \
-- lumu-mcp-server-e KEY=valuesets the environment variable the server reads.--separates Claude's own flags from the server command.Add
-s userto make it available in all your projects (default scope is the current project). Avoid-s projectwith a real key, since that writes a shared.mcp.json.
Then run /mcp inside a session to confirm it's connected, and remove it later
with claude mcp remove lumu-mcp-server.
Note:
claude mcp addconfigures Claude Code only β it does not affect the Claude Desktop app, which readsclaude_desktop_config.json(above).
Environment Variables
All variables use the LUMU_ prefix and are read at startup by a single typed
configuration module. LUMU_DEFENDER_API_KEY is required β the server fails
fast with a clear message if it is missing. Everything else has a safe default.
Variable | Purpose | Type | Default | Required | Secret |
| Lumu Defender API key | string | β | β yes | β yes |
| Base URL of the Lumu Defender REST API | string |
| no | no |
| Per-request HTTP timeout (seconds) | float > 0 |
| no | no |
| Server name reported to clients | string |
| no | no |
|
| enum |
| no | no |
| Enable SDK debug mode | bool |
| no | no |
|
| enum |
| no | no |
The
LUMU_TRANSPORT/LUMU_HOST/LUMU_PORT/β¦ transport variables apply only to the advanced HTTP transports. The default, and the only mode used by Claude Desktop, isstdio. See.env.examplefor the full list.
For local development you may place these in a git-ignored .env file (see
.env.example); in production, set them in the client's env block instead.
Activate the Integration
Restart Claude Desktop completely
Look for the π MCP icon in Claude Desktop
Test with: "Check the health of the lumu-mcp-server"
π¬ Usage Examples
Once configured, you can interact with Lumu Defender through natural language:
π©Ί Health & Status
"Check the health of the lumu-mcp-server"
"Is the Lumu integration working?"
π Incident Discovery
"Get security incidents from Lumu Defender"
"Show me open security incidents from the last 30 days"
"Find all C2C and Malware incidents"
"Get incidents with status 'open' or 'muted'"
π Incident Analysis
"Get details for incident [UUID]"
"Show me the full information about incident abc-123-def"
"Show me the event groupings for incident [UUID]"
"Get the raw events for grouping [ID] in incident [UUID]"
π Incident Management
"Add a comment to incident [UUID]: 'Investigating with network team'"
"Mark incident [UUID] as read"
"Begin work on incident [UUID] and assign it to user 42"
"Mute incident [UUID] with comment 'False positive'"
"Close incident [UUID] with comment 'Threat resolved'"
π¬ Event Drill-down
"List the event groupings for incident [UUID]"
"Show me the raw security events for grouping [ID]"
π·οΈ Labels
"List all labels"
"What is label 7?"
π Real-time Monitoring
"Get incident updates"
"Check for recent incident activity"
π Advanced Workflows
"Get all open Malware incidents, then show details for the most recent one"
"Find critical incidents that are still open and summarize their impact"
"List all muted C2C incidents and help me decide which to unmute"
"Show an incident's event groupings, then drill into the raw events"
Available Tools
1. health_check
Returns the server status. (The server requires a valid API key to start, so if it is running the key is configured.)
2. get_incidents
Retrieves security incidents with optional filters and pagination support.
Parameters:
from_date(optional): Start date in ISO format (default: 7 days ago). Max range: 90 days unlessfetch_allis true.to_date(optional): End date in ISO format (default: now)status(optional): Array of statuses ["open", "muted", "closed"]adversary_types(optional): Array of types ["C2C", "Malware", "DGA", "Mining", "Spam", "Phishing"]labels(optional): Array of label IDspage(optional): Page number for pagination (0-indexed, default: 0)limit(optional): Number of items per page (default: 50, max: 100)fetch_all(optional): If true, automatically fetches ALL incidents with pagination. Handles large date ranges by chunking.
Examples:
# Get incidents with pagination
"Get page 2 of incidents with 20 items per page"
# Get ALL incidents for a date range
"Get all incidents from May 1-31, 2026 with fetch_all=true"
# Get all malware incidents
"Get all Malware incidents with fetch_all=true"3. get_incident_details
Get detailed information about a specific security incident.
Parameters:
incident_id(required): The UUID of the incident
Returns: Detailed incident information including status, IOCs, recommended actions, and more.
4. get_incident_events_groupings
Retrieve the event groupings of a specific incident (bundles of raw security events). Use the returned grouping IDs with get_security_event_details.
Parameters:
incident_id(required): The UUID of the incidentstatus(optional): Array of statuses ["open", "muted", "closed"]page(optional): Page number for pagination (0-indexed, default: 0)limit(optional): Items per page (default: 50, max: 100)
Returns: Event grouping IDs with status and event counts.
5. get_security_event_details
Retrieve the raw data of a specific event group within an incident.
Parameters:
incident_id(required): The UUID of the incidentevent_id(required): The event-grouping ID fromget_incident_events_groupingssort(optional): Sort order "asc" or "desc" (default: asc)page(optional): Page number for pagination (0-indexed, default: 0)limit(optional): Items per page (default: 50, max: 100)
Returns: Raw security events for the event group.
6. comment_incident
Add a comment to a specific security incident.
Parameters:
incident_id(required): The UUID of the incidentcomment(required): The comment text to add
Returns: Confirmation of the comment being added.
7. get_open_incidents
Retrieve only open security incidents.
Parameters:
adversary_types(optional): Array of types ["C2C", "Malware", "DGA", "Mining", "Spam", "Phishing"]labels(optional): Array of label IDs
Returns: List of open incidents with filtering options.
8. get_muted_incidents
Retrieve only muted security incidents.
Parameters:
adversary_types(optional): Array of types ["C2C", "Malware", "DGA", "Mining", "Spam", "Phishing"]labels(optional): Array of label IDs
Returns: List of muted incidents with filtering options.
9. get_closed_incidents
Retrieve only closed security incidents.
Parameters:
adversary_types(optional): Array of types ["C2C", "Malware", "DGA", "Mining", "Spam", "Phishing"]labels(optional): Array of label IDs
Returns: List of closed incidents with filtering options.
10. mark_incident_as_read
Mark a security incident as read.
Parameters:
incident_id(required): The UUID of the incident to mark as read
Returns: Confirmation that the incident was marked as read.
11. mute_incident
Mute a security incident.
Parameters:
incident_id(required): The UUID of the incident to mutecomment(optional): Comment explaining why the incident was muted
Returns: Confirmation that the incident was muted.
12. unmute_incident
Unmute a security incident.
Parameters:
incident_id(required): The UUID of the incident to unmutecomment(optional): Comment explaining why the incident was unmuted
Returns: Confirmation that the incident was unmuted.
13. get_incident_updates
Get real-time updates on incident operations (long-poll).
Parameters:
offset(optional): Starting offset for pagination (default: 0)items(optional): Number of items to return, 1-100 (default: 50)time(optional): Maximum seconds the server waits for updates (default: 5)
Returns: List of incident updates with timestamps in UTC (RFC 3339/ISO 8601 format).
14. close_incident
Close a security incident.
Parameters:
incident_id(required): The UUID of the incident to closecomment(optional): Comment explaining why the incident was closed
Returns: Confirmation that the incident was closed.
15. begin_work
Begin work on a security incident and assign it to a user.
Parameters:
incident_id(required): The UUID of the incidentassignee(required): The numeric user ID to assign the incident tocomment(optional): Comment
Returns: Confirmation that work has begun and the incident is assigned.
16. list_labels
List labels configured in the Lumu account (label IDs are used by the incident labels filters).
Parameters:
page(optional): Page number for pagination (0-indexed, default: 0)limit(optional): Items per page (default: 50, max: 100)
Returns: List of labels with id, name, and relevance.
17. get_label
Get a specific label by ID.
Parameters:
label_id(required): The numeric ID of the label
Returns: The label's name and relevance.
π§ Troubleshooting
Server Not Appearing in Claude Desktop
Check Claude Desktop logs: Help β Show Logs
Verify installation:
pip list | grep lumu-mcp-serverTest command: Run
lumu-mcp-server --helpin terminalRestart Claude Desktop completely
API Key Issues
β Ensure API key is correctly set in
claude_desktop_config.jsonβ Verify API key is valid in Lumu Defender portal
β Check Claude Desktop logs for authentication errors
β Test with: "Check the health of the lumu-mcp-server"
No Incidents Returned
π Date Range: Try broader date ranges (e.g., last 30 days)
π Filters: Remove status/type filters to see all incidents
π Permissions: Ensure API key has proper incident access
π‘ Tip: Ask Claude "Get incidents from the last 30 days"
Connection Issues
π Network: Verify internet connection to
defender.lumu.ioπ Firewall: Ensure HTTPS traffic is allowed
π Proxy: Configure proxy settings if needed
Need More Help?
π Check QUICK_START.md for simplified setup
π Report issues on GitHub
π¬ Ask questions in discussions
π Security & Privacy
π API keys stored in environment variables, never in code
π HTTPS encryption for all API communications
π« No data storage - all data fetched in real-time from Lumu
π‘οΈ Error sanitization prevents sensitive information leakage
π Audit trail through Lumu Defender's native logging
π€ Contributing
We welcome contributions! Please see our contribution guidelines:
Quick Development Setup
git clone https://github.com/jpyoda/lumu-mcp.git
cd lumu-mcp-server
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -e .Project Layout
lumu_mcp_server/
config.py # typed, env-driven settings (the only module reading env)
server.py # build_server(settings) -> MCPServer (composition root)
__main__.py # entrypoint: load settings -> build -> run
context.py # AppContext + get_client(ctx) for dependency injection
services/
lumu_client.py # LumuDefenderClient (async HTTP client)
tools/
health.py # health_check
incidents.py # incident query/listing tools
actions.py # incident mutation tools (incl. begin_work)
administration.py # labelsAdding New Features
API Methods: Add a coroutine to
lumu_mcp_server/services/lumu_client.py.Tool: Add an
@mcp.tool()function in the relevanttools/*module; the SDK generates the input schema from the function signature and docstring.Config: Add any new setting (with a docstring + default) to
config.py.
π License
MIT License - see LICENSE file for details.
π Support
Get Help
π Quick Setup: QUICK_START.md
π Bug Reports: GitHub Issues
π¬ Questions: GitHub Discussions
π§ Lumu API Issues: Contact Lumu Support
Project Stats
Built with β€οΈ for the cybersecurity community
Enhance your security operations with AI-powered incident analysis
Available Tools
14 toolsclose_incidentB
Close a security incident
Inputs: incident_id (required), comment.
comment_incidentB
Add a comment to a specific security incident
Inputs: incident_id (required), comment (required).
get_closed_incidentsC
Retrieve closed security incidents from Lumu Defender with pagination support
Inputs: adversary_types, labels, page, limit.
get_incident_contextB
Get context information for a specific security incident
Inputs: incident_id (required), hash_type.
get_incident_detailsC
Get detailed information about a specific security incident
Inputs: incident_id (required).
get_incident_endpointsC
Retrieve endpoints and contacts for a specific security incident
Inputs: incident_id (required), endpoints, labels.
get_incidentsC
Retrieve security incidents from Lumu Defender API with pagination support
Inputs: from_date, to_date, status, adversary_types, +4 more.
get_incident_updatesB
Get real-time updates on incident operations
Inputs: offset, items, time.
get_muted_incidentsB
Retrieve muted security incidents from Lumu Defender with pagination support
Inputs: adversary_types, labels, page, limit.
get_open_incidentsA
Retrieve open security incidents from Lumu Defender with pagination support
Inputs: adversary_types, labels, page, limit.
health_checkA
Check the health status of the server
Inputs: no named parameters.
mark_incident_as_readB
Mark a security incident as read
Inputs: incident_id (required).
mute_incidentB
Mute a security incident
Inputs: incident_id (required), comment.
unmute_incidentC
Unmute a security incident
Inputs: incident_id (required), comment.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 14 tools
Each tool targets a distinct aspect of incident management (e.g., close, comment, get details, mute) with no overlap. Even similar tools like get_incident_details and get_incident_context are clearly differentiated.
All tools follow the verb_noun pattern in snake_case (e.g., close_incident, get_open_incidents). health_check is a slight deviation but is a standard term and fits naturally.
14 tools cover the full range of incident operations without being excessive. Each tool serves a clear purpose, and the count is well-suited for a security incident management server.
The set covers retrieval, query by status, muting, closing, commenting, and health checks. Missing an explicit reopen or update incident details tool, but core workflow is complete.
Maintenance
Related MCP Connectors
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Cloud-hosted MCP server for secure AI access to enterprise data sources via CData Connect AI.
Unified MCP Server is a remote MCP connector for AI agents and vertical AI products that provides access to 22,000+ authorized SaaS tools across 400+ integrations and 24 categories directly inside LLMs (Claude, GPT, Gemini, Cohere). Tools operate only on explicitly authorized customer connections, enabling agents to safely read and write against live third-party systems.
MCP server enabling AI agents to manage Bitrix24 features via standardized protocol
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceAn MCP server that provides persistent memory capabilities for Claude, offering tiered memory architecture with semantic search, memory consolidation, and integration with the Claude desktop application.69MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server that integrates various penetration testing tools, enabling security professionals to perform reconnaissance, vulnerability scanning, and API testing through natural language commands in compatible LLM clients like Claude Desktop.7-
- FlicenseBqualityDmaintenanceAn MCP server that enables Claude Desktop to communicate with A2A protocol agents, allowing Claude to access extended capabilities through agent interactions.322-
- FlicenseBqualityNot gradedmaintenanceAn MCP server that enables Claude Desktop to access and analyze financial data through Yahoo Finance integration.1-