Velociraptor MCP Server
Enables MCP clients to interact with a Velociraptor deployment for DFIR workflows, allowing VQL queries, client management, hunt creation, and artifact collection.
README
Velociraptor MCP Server
A containerized Model Context Protocol server that exposes a Velociraptor deployment to MCP-compatible clients (Claude, IDE agents, etc.). It connects to Velociraptor's gRPC API over mutual TLS and surfaces both a general-purpose VQL tool and focused DFIR workflow tools.
Tools
| Tool | Purpose | Read-only |
|---|---|---|
velociraptor_run_vql |
Run any VQL query (full API power) | No* |
velociraptor_list_clients |
Search enrolled endpoints by host/label | Yes |
velociraptor_get_client |
Full metadata for one client | Yes |
velociraptor_list_hunts |
List hunts, newest first | Yes |
velociraptor_create_hunt |
Create a fleet-wide hunt | No |
velociraptor_get_hunt_results |
Read rows collected by a hunt | Yes |
velociraptor_collect_artifact |
Collect artifact(s) from one client | No |
velociraptor_get_flow_results |
Read results of a completed collection | Yes |
* VQL is usually read-only, but it can also perform actions, so the tool isn't marked read-only.
1. Generate an API config on your Velociraptor server
The container authenticates with an api_client config containing mTLS material.
Generate one on the Velociraptor server:
velociraptor --config /etc/velociraptor/server.config.yaml \
config api_client --name mcp --role administrator \
> ./config/api.config.yaml
Then add the API client's common name to the server's API.access allow-list (the
command prints a hint, or configure it in server.config.yaml). Use the least
privileged role that meets your needs (e.g. reader if you only need queries).
Place the generated file at ./config/api.config.yaml next to docker-compose.yml.
It contains a private key — keep it out of source control (already gitignored).
The config's api_connection_string must be reachable from the container. If
Velociraptor runs on the Docker host, use the host's IP (or host.docker.internal
on Docker Desktop) rather than 127.0.0.1.
2. Build and run
docker compose up --build -d
This starts the server on http://localhost:8000 using the streamable-HTTP MCP
transport. Check logs with docker compose logs -f.
3. Connect a client
Streamable HTTP (default for the container)
Point your MCP client at http://localhost:8000/mcp.
stdio (local, no long-running container)
Some clients launch the server as a subprocess. Run with stdio instead:
{
"mcpServers": {
"velociraptor": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-e", "MCP_TRANSPORT=stdio",
"-v", "/abs/path/to/config/api.config.yaml:/config/api.config.yaml:ro",
"velociraptor-mcp:latest"
]
}
}
}
Configuration
| Env var | Default | Description |
|---|---|---|
VELOCIRAPTOR_API_CONFIG |
/config/api.config.yaml |
Path to the mounted api_client config |
VELOCIRAPTOR_ORG_ID |
"" |
Default org to target ("" = root) |
MCP_TRANSPORT |
http (image) / stdio (code default) |
http or stdio |
MCP_HOST |
0.0.0.0 |
Bind host (http only) |
MCP_PORT |
8000 |
Bind port (http only) |
Example prompts once connected
- "List all Windows hosts seen in the last day."
- "Collect
Windows.System.PslistfromC.abc123and show me the results." - "Start a hunt collecting
Generic.Client.Infoacross the fleet." - "Run VQL:
SELECT * FROM info()."
Security notes
- The api_client config grants API access at the role you chose — treat it like a credential. Mount it read-only (the compose file does).
- Prefer a narrowly scoped role over
administratorwhere possible. - The HTTP transport has no built-in auth; bind it to localhost or place it behind a reverse proxy / network policy if exposed beyond the host.
- The server runs as a non-root user inside the container.
Local development (without Docker)
pip install -r requirements.txt
export VELOCIRAPTOR_API_CONFIG=./config/api.config.yaml
export MCP_TRANSPORT=stdio
python server.py
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。