Skip to main content
Glama
Volatility MCP Server

Volatility MCP Server

by OMGhozlan

❄️ Volatility MCP Server

Python Volatility 3 Docker (Not) Ready FastMCP


πŸ“Œ Overview

The Volatility MCP Server is a powerful memory forensics automation toolkit powered by Volatility 3. It provides a modular, extensible interface for running Volatility plugins across Windows, Linux, and macOS memory dumps.

It makes memory analysis faster and more accessible via:

βœ… Plugin automation
βœ… Cross-platform support (Windows, Linux, macOS)
βœ… Modular plugin architecture
βœ… Rich logging with beautiful formatting
βœ… Easy plugin registration and management


Related MCP server: Memory Forensics MCP Server

πŸ’‘ Key Features

  • πŸ” Powered by Volatility 3

  • 🧠 Supports Windows, Linux, and macOS plugins

  • βš™οΈ Asynchronous plugin execution

  • πŸ“€ JSON output format

  • πŸ“Š Built-in error handling and validation

  • πŸ‘¨β€πŸ’» FastMCP server interface

  • 🐳 Docker-ready environment


πŸ“¦ Requirements

python 3.11+
pip install -r requirements.txt

requirements.txt:

fastmcp
rich
python-dotenv

πŸ“ Project Structure

Volatility-MCP-Server/
β”œβ”€β”€ volatility_mcp_server.py    # Main server implementation
β”œβ”€β”€ plugins/                    # Plugin modules
β”‚   β”œβ”€β”€ base_plugin.py         # Base plugin class
β”‚   β”œβ”€β”€ plugin_factory.py      # Plugin registration
β”‚   β”œβ”€β”€ windows/               # Windows plugins
β”‚   β”œβ”€β”€ linux/                 # Linux plugins
β”‚   β”œβ”€β”€ mac/                   # macOS plugins
β”‚   └── common/                # Common plugins
β”œβ”€β”€ requirements.txt           # Dependencies
└── README.md                 # This file

πŸ–₯️ Usage

πŸ”§ Local Connection

Using stdio

Create a .cursor/mcp.json file with:

{
  "mcpServers": {
    "Volatility3": {
      "command": "fastmcp",
      "args": ["run", "path/to/volatility_mcp_server.py:mcp", "--transport", "stdio"]
    }
  }
}

Using sse

Run the server using

fastmcp run volatility_mcp_server.py:mcp --transport sse

For Claude desktop

{
    "mcpServers": {
      "volatility3": {
        "command": "npx",
        "args": ["mcp-remote", "http://localhost:8000/sse"]
      }
    }
  }

For Cursor

{
  "mcpServers": {
    "Volatility3": {
      "url": "http://localhost:8000/sse"
    }
  }
}

πŸ“Š Available Plugins

Windows Plugins

  • Process: PsList, PsTree, PsScan

  • Memory: Malfind, MemMap

  • Network: NetScan

  • Registry: RegistryHiveList, RegistryPrintKey

  • System: SvcScan, CmdLine, DllList, Handles, FileScan

  • Disk: ADS, MFTScan, ResidentData

Linux Plugins

  • Process: PsList, PsTree, PsScan, PsAux, PsCallStack

  • System: Bash, Boottime, Capabilities

  • Network: IpAddr, IpLink, Netfilter

  • Memory: Malfind, ModuleExtract

  • File System: Files, InodePages, RecoverFs

macOS Plugins

  • Process: PsList, PsTree, Psaux

  • System: Bash, Dmesg, Lsmod

  • Network: Ifconfig, Netstat

  • Security: Check_syscall, Check_sysctl, Check_trap_table

Common Plugins

  • Framework: Banners, ConfigWriter, FrameworkInfo, IsfInfo, LayerWriter

  • Scan: RegExScan, YaraScan, Vmscan

  • Timeline: Timeliner


🐳 Docker Usage (No idea what I wanted to do here but might be useful in the future)

βš™οΈ 1. Build the Docker Image

From the root directory:

docker build -t volatility-mcp .

▢️ 2. Run the Server

docker run --rm -it \
  -v $(pwd)/memdumps:/memdumps \
  -v $(pwd)/output:/output \
  volatility-mcp

πŸ”§ Developer/Contributor Guide

🧱 Setup Virtual Environment

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

πŸ§ͺ Run Locally

python volatility_mcp_server.py

✍️ Customization Tips

  • πŸ“€ Want to add a new plugin? Extend BasePlugin and register it in plugin_factory.py

  • 🧩 Want to add a new OS? Create a new plugin directory and implement the plugins

  • πŸ“š Want to add new features? The modular architecture makes it easy to extend


πŸ™‹ FAQ

🟠 Does this support Volatility 2.x?
πŸ”» No. This server supports Volatility 3 only for modern plugin support.

πŸ”΅ Can I add custom plugins?
βœ… Yes! Just extend the BasePlugin class and register it in the factory.

πŸ”΄ Why use FastMCP?
It provides a clean, efficient interface for running Volatility plugins with proper error handling and async support.


πŸ“œ License

MIT ©️ 2025


🌐 More Tools?

You may also like:

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Connects LLMs like Claude Desktop with Volatility3 forensics framework, enabling users to analyze memory dumps, detect malware, and perform memory forensics tasks through natural language conversation.
      20
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      AI-powered memory dump analysis using Volatility 3 for digital forensics investigations. Enables process analysis, malware detection, network forensics, timeline generation, and anomaly detection with support for Claude, Llama, and other LLMs.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to perform memory forensics analysis using Volatility 3 through natural language prompts. Supports process listing, network connection analysis, and other memory artifact inspection from memory images.
      53
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to analyze memory dumps for forensic investigation, leveraging a fast Rust engine and full Volatility3 plugin coverage via the Model Context Protocol.
      1
      MIT