Velociraptor MCP Server

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.

Category
Visit Server

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.
  1. 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
    
  2. Copy api_client.yaml to the root directory of this project.
  3. Rename .env.example to .env and open it to configure your settings.
    • For local setups, uncomment the local path: VELOCIRAPTOR_API_CONFIG=api_client.yaml
    • Review the ENABLE_DANGEROUS_TOOLS setting before deciding whether to activate active response capabilities.

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

  1. Ensure Python 3.10+ is installed.
  2. Initialize and activate a virtual environment:
    python -m venv .venv
    # Windows
    .venv\Scripts\activate 
    # Mac/Linux
    source .venv/bin/activate
    
  3. 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.

  1. Ensure api_client.yaml and .env are placed in the root directory.
  2. Build and start the Docker container:
    docker compose up -d
    
  3. 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 8088 to 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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured