Velociraptor MCP Server
Enables AI agents to interface with Velociraptor for digital forensics and incident response tasks, including file/memory scans, remediation actions, and artifact collection across multiple operating systems.
README
Velociraptor MCP Server
Built by: mgreen27/mcp-velociraptor
Added onto by: Snoe Findley
The Velociraptor Model Context Protocol (MCP) Server is an integration interface designed for digital forensics and incident response (DFIR). It enables LLM frameworks (such as Claude, Gemini, Open WebUI, and n8n) to interface programmatically with the Velociraptor endpoint monitoring engine.
Overview
This MCP server exposes standard Velociraptor capabilities to AI agents, allowing them to:
- Conduct file and memory scans using YARA.
- Execute remediation actions, including network isolation and process termination (Disabled by default; explicit opt-in required).
- Perform artifact collection across Windows, macOS, and Linux (e.g., MFT parsing, Event Log extraction, USN Journal analysis, and process memory inspection).
Security Note: The server enforces data limits and VQL string sanitization to mitigate token-overflows and prevent VQL injection. It relies on standard, built-in Velociraptor artifacts to ensure endpoint stability rather than executing arbitrary command-line scripts.
1. Prerequisites
A running Velociraptor server and corresponding API configuration file are required. Additionally:
- For Local (stdio) deployments: Python 3.10+ must be installed.
- For Network (SSE) deployments: Docker and Docker Compose must be installed.
- Create a dedicated API user on your Velociraptor server:
velociraptor --config /etc/velociraptor/server.config.yaml config api_client --name mcp_agent --role administrator,api api_client.yaml - Copy
api_client.yamlto the root directory of this project. - Rename
.env.exampleto.envand open it to configure your settings.- For local setups, uncomment the local path:
VELOCIRAPTOR_API_CONFIG=api_client.yaml - Review the
ENABLE_DANGEROUS_TOOLSsetting before deciding whether to activate active response capabilities.
- For local setups, uncomment the local path:
2. Local Deployment (stdio)
Deploying via standard input/output (stdio) is the recommended configuration for local desktop clients such as Claude Desktop, Claude Code, or the Gemini CLI.
Setup
- Ensure Python 3.10+ is installed.
- Initialize and activate a virtual environment:
python -m venv .venv # Windows .venv\Scripts\activate # Mac/Linux source .venv/bin/activate - Install the dependencies:
pip install -r requirements.txt
Connecting Your Client
Add the connection into your MCP client's configuration file using the stdio transport. Point it directly to your virtual environment's python executable:
{
"mcpServers": {
"velociraptor-mcp": {
"command": "/absolute/path/to/repo/.venv/bin/python",
"args": ["/absolute/path/to/repo/mcp_velociraptor_bridge.py"]
}
}
}
3. Network Deployment (Docker / SSE)
For server-based platforms like Open WebUI or n8n, the MCP server can be exposed over the local network using Server-Sent Events (SSE) via the included Docker Compose configuration.
Setup
This repository utilizes the FastMCP HTTP server to provide an SSE REST endpoint.
- Ensure
api_client.yamland.envare placed in the root directory. - Build and start the Docker container:
docker compose up -d - The server will be accessible via SSE at
http://<your-host-ip>:8088/sse.
⚠️ Security & Hardening Requirements
[!CAUTION] This MCP Server operates with Administrator privileges within Velociraptor. It has the capability to terminate processes, retrieve files, and access sensitive endpoint data across the deployment.
When exposing the server over a network via Docker:
- No Native Authentication: The built-in SSE server does not provide robust HTTP authentication mechanisms.
- Exposure Reduction: Do not expose port
8088to the public internet or untrusted networks. - Network Proxies: You must deploy a reverse proxy (e.g., Nginx, Traefik) in front of the container to enforce Mutual TLS (mTLS), strict IP-allowlisting, or equivalent network-level authentication. Traffic should be explicitly restricted to authorized LLM consumption nodes.
Documentation
For a comprehensive list of supported macOS, Linux, and Windows forensic tools, configuration details, and architecture diagrams, please reference the Comprehensive Documentation.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。