Logo: Velociraptor MCP

Velociraptor MCP

Communautéit
mgreen27

VelociraptorMCP is a Model Context Protocol bridge for exposing LLMs to MCP clients.

Editeurmgreen27
Repositorymcp-velociraptor
SproochPython
Forks
22
Stären
94
Disponibel Tools
0
Transporttypstdio
Kategorien
Linken
  • Tools mat KI-Workflows verbannen

    Velociraptor MCP bitt MCP-Funktiounen un, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • Disponibel Tools: 0

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an deem MCP-Client ze konfiguréieren, deen Dir am léifste benotzt.

  • Interessi vun der Communautéit um Open-Source-Projet

    Zuele vum verlinkte Repository – Stären: 94, Forks: 22.

Velociraptor MCP

Velociraptor MCP is a POC Model Context Protocol bridge for exposing LLMs to MCP clients.

Initial version has several Windows orientated triage tools deployed. Best use is querying usecase to target machine name.

e.g

can you give me all network connections on MACHINENAME and look for suspicious processes?

can you tell me which artifacts target the USN journal

Installation

1. Setup an API account

https://docs.velociraptor.app/docs/server_automation/server_api/

Generate an api config file:

velociraptor --config /etc/velociraptor/server.config.yaml config api_client --name api --role administrator,api api_client.yaml

2. Clone mcp-velociraptor repo and test API

  • Copy api_client.yaml to the repo root, or keep it anywhere local and set VELOCIRAPTOR_API_CONFIG=/path/to/api_client.yaml.
  • Copy example.env to .env for local development, then set VELOCIRAPTOR_API_CONFIG to your real api_client.yaml path. The bridge, smoke script, and agent load dotenv config automatically without overriding variables already supplied by your shell or MCP client.
  • api_client.yaml is gitignored and should not be committed.
  • Run .venv/bin/python test_api.py to confirm the API works when .env is configured, or use VELOCIRAPTOR_API_CONFIG=/path/to/api_client.yaml .venv/bin/python test_api.py to override it for a single run.
  • The MCP bridge reads the same VELOCIRAPTOR_API_CONFIG environment variable after loading dotenv config.
  • For multi-tenant deployments, optionally set VELOCIRAPTOR_ORG_ID to choose a default org context.
  • Set VELOCIRAPTOR_DEBUG_VQL=1 only when you want raw VQL request logging on stderr for debugging.
  • Set ENABLE_DANGEROUS_TOOLS=true only when you explicitly want to enable raw VQL, quarantine, and remote process-kill tools.
  • The agent POC defaults to local Ollama summaries. Set VELOCIRAPTOR_MODEL_PROVIDER=azure, AZURE_OPENAI_ENDPOINT, AZURE_OPENAI_API_KEY, and AZURE_OPENAI_MODEL when you explicitly want Azure OpenAI summaries.

3. Connect to MCP client of choice

The easiest configuration is to run your venv python directly calling mcp_velociraptor_bridge.py. You can either put values directly in the MCP client config:

json
{
  "mcpServers": {
    "velociraptor": {
      "command": "/path/to/venv/bin/python",
      "env": {
        "VELOCIRAPTOR_API_CONFIG": "/path/to/api_client.yaml",
        "VELOCIRAPTOR_ORG_ID": "O123"
      },
      "args": [
        "/path/to/mcp_velociraptor_bridge.py"
      ]
    }
  }
}

Or point the MCP client at a dotenv file:

json
{
  "mcpServers": {
    "velociraptor": {
      "command": "/path/to/venv/bin/python",
      "env": {
        "VELOCIRAPTOR_ENV_FILE": "/path/to/mcp-velociraptor/.env"
      },
      "args": [
        "/path/to/mcp_velociraptor_bridge.py"
      ]
    }
  }
}

Config precedence is: direct environment values from the MCP client or shell, then VELOCIRAPTOR_ENV_FILE if set, then repo-local .env, then fallback paths such as ./api_client.yaml and ~/.config/api_client.yaml.

The separate agent proof-of-concept now lives under agent_poc/. It now includes an engagement manager that fans out to isolated, dynamically allowlisted analysts in parallel. The engagement profile runs bounded process, network, persistence, execution, user-activity, and system-inventory roles; deep also opts into heavier filesystem and security roles. Evidence collection is deterministic and synthesis is model-only per role. It supports local Ollama summaries by default and opt-in Azure OpenAI API summaries via environment configuration. Azure OpenAI mode sends collected evidence bundles to the configured Azure API account for summarization. See agent_poc/README.md for agent-specific usage and automation examples, including verbose collection progress output with artifact names and row counts.

4. Tool Response Format

MCP tool responses are emitted as JSON text envelopes so stdio clients do not need to parse Python repr() output:

json
{"ok": true, "data": {...}}

or

json
{"ok": false, "error": "message"}

collect_artifact and hunt_across_fleet accept parameters as a structured JSON object with scalar values or lists of scalar values, for example {"PathRegex": ".*", "Targets": ["_BasicCollection"]}. Legacy compatibility input can be supplied via legacy_parameters with simple scalar assignments or list literals such as PathRegex='.*',Targets=['_BasicCollection']; raw VQL fragments are no longer passed through. Parameterized hunts are validated against Velociraptor's compiled collector args; if the requested artifact env does not land, the hunt is stopped and the tool returns an error. collect_forensic_triage wraps Windows.Triage.Targets with Targets='["_BasicCollection"]' and a collection timeout of 2400 seconds.

5. Tool Inventory

The bridge now exposes the original Windows/Linux triage tools plus expanded fleet, Linux, macOS, Windows, YARA, and response helpers:

  • Fleet: list_orgs, client_info, list_clients, hunt_across_fleet, get_hunt_results_tool, run_vql.
  • Artifact discovery: list_windows_artifacts, list_linux_artifacts, and list_macos_artifacts accept name_regex filters and include_parameter_details=true for full live parameter metadata from artifact_definitions().
  • Linux: process, group, mount, network, users, crontab, services, SSH keys/logins, shell history, last login, ARP cache, journal search, file finder, and YARA process scanning.
  • macOS: process, users, network, LaunchAgents/Daemons, login items, shell history, browser history, quarantine events, TCC database, file finder, and artifact discovery.
  • Windows: process, network, scheduled tasks, services, RecentDocs, Shellbags, USB/mount evidence, execution traces, MFT, USN, SRUM, EVTX, PowerShell, autoruns, WMI persistence, RDP, DNS cache, Recycle Bin, browser history, memory/malfind/mutant checks, shadow copies, timestomp checks, and file/YARA hunting with optional hash calculation.
  • Generic response/collection: collect_artifact, get_collection_results, collect_forensic_triage, collect_file, quarantine_host, unquarantine_host, and kill_process.

Thanks to @snoe-findley for sharing a fork that expanded available tools and some of the newer cross-platform additions.

image

6. Caveats

Due to the nature of DFIR, results depend on amount of data returned, model use and context window.

I have included a function to find artifacts and dynamically create collections but had mixed results. I have been pleasantly surprised with some results and disappointed when running other collections that cause lots of rows.

Check licencing - Anthropic's DPA is only tied to their Commercial Terms, which means that for client/production endpoint data you would need commercial licencing to leverage this MCP. Other MCP clients work just fine.

Please let me know how you go and feel free to add PR!

can you give me all network connections on MACHINENAME and look for suspicious processes?

can you tell me which artifacts target the USN journal

Installatioun

TypingMind
Viraussetzungen:

Node.js 18+

{
  "mcpServers": {
    "mgreen27-mcp-velociraptor": {
      "command": "",
      "args": []
    }
  }
}

Velociraptor MCP MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Velociraptor MCP verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung, fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector: D'Optioun „Dësen Apparat“ ass ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Setzt de kopéierte Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Velociraptor MCP als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a setzt d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Setzt d'MCP-Serverkonfiguratioun fir Velociraptor MCP an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert d'Säit, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "mgreen27-mcp-velociraptor": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-velociraptor"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vun der Integratioun Velociraptor MCP. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vun der Integratioun Velociraptor MCP.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierten MCP-Tools an engem ausgewielte KI-Modell
Kënnt Dir mir mat Velociraptor MCP bei dëser Aufgab hëllefen?
Velociraptor MCP
Jo. Ech hunn et gelies.
Dat hunn ech mat Velociraptor MCP fonnt.

Heefeg gestallte Froen

Fir wat gëtt den MCP-Server Velociraptor MCP benotzt?

Velociraptor MCP ass en MCP-Server, deen et kompatibele KI-Clienten erlaabt, op extern Tools a Kontextinformatioune zouzegräifen. An TypingMind kënnt Dir dësen MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Velociraptor MCP MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Velociraptor MCP mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni den MCP-Server fir all Modell separat anzeriichten.

Firwat Velociraptor MCP MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Velociraptor MCP verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Ären Aarbechtsoflaf beim Chatten an TypingMind organiséieren.

Wéi verbannen ech Velociraptor MCP MCP mat TypingMind?

Velociraptor MCP leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann den MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Velociraptor MCP MCP an TypingMind zur Verfügung?

Velociraptor MCP stellt MCP-Funktioune zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agente zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Velociraptor MCP MCP ze benotzen?

Nee. TypingMind ass nom Local-first-Prinzip opgebaut a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Velociraptor MCP eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir deen MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇