Integrates Zeek network analysis with conversational AI clients. Requires an external Zeek installation.
This repository provides a set of utilities to build an MCP server (Model Context Protocol) that you can integrate with your conversational AI client.
PATH
(for the execzeek
tool)git clone https://github.com/Gabbo01/Zeek-MCP
cd Zeek-MCP
It's recommended to use a virtual environment:
python -m venv venv
source venv/bin/activate # Linux/macOS
venv\Scripts\activate # Windows
pip install -r requirements.txt
Note: If you don’t have a
requirements.txt
, install directly:pip install pandas mcp
The repository exposes two main MCP tools and a command-line entry point:
python Bridge_Zeek_MCP.py --mcp-host 127.0.0.1 --mcp-port 8081 --transport sse
--mcp-host
: Host for the MCP server (default: 127.0.0.1
).--mcp-port
: Port for the MCP server (default: 8081
).--transport
: Transport protocol, either sse
(Server-Sent Events) or stdio
.You need to use an LLM that can support the MCP tools usage by calling the following tools:
execzeek(pcap_path: str) -> str
.log
files in the working directory..log
filenames or "1"
on error.parselogs(logfile: str) -> DataFrame
.log
file and returns the parsed content.You can interact with these endpoints via HTTP (if using SSE transport) or by embedding in LLM client (eg: Claude Desktop):
To set up Claude Desktop as a Zeek MCP client, go to Claude
-> Settings
-> Developer
-> Edit Config
-> claude_desktop_config.json
and add the following:
{
"mcpServers": {
"Zeek-mcp": {
"command": "python",
"args": [
"/ABSOLUTE_PATH_TO/Bridge_Zeek_MCP.py",
]
}
}
}
Alternatively, edit this file directly:
/Users/YOUR_USER/Library/Application Support/Claude/claude_desktop_config.json
Another MCP client that supports multiple models on the backend is 5ire. To set up Zeek-MCP, open 5ire and go to Tools
-> New
and set the following configurations:
python /ABSOLUTE_PATH_TO/Bridge_Zeek_MCP.py
An example of MCP tools usage from a chainlit chatbot client, it was used an example pcap file (you can find fews in pcaps folder)
In that case the used model was claude-3.7-sonnet-reasoning-gemma3-12b
See LICENSE
for more information.
A Node.js MCP server example for the OpenWeather API, requiring an API key.
Manage Xcode simulators.
Execute shell commands without permission prompts.
Provides multi-cluster Kubernetes management and operations using MCP, It can be integrated as an SDK into your own project and includes nearly 50 built-in tools covering common DevOps and development scenarios. Supports both standard and CRD resources.
A collection of reference implementations for the Model Context Protocol (MCP), showcasing various MCP servers implemented with TypeScript and Python SDKs.
Predict anything with Chronulus AI forecasting and prediction agents.
The definitive Vibe Coder's sanity check MCP server: Prevents cascading errors by calling a "Vibe-check" agent to ensure alignment and prevent scope creep
Provides seamless integration with SonarQube Server or Cloud, and enables analysis of code snippets directly within the agent context
Aggregates multiple MCP resource servers into a single interface with stdio/sse support.
Work on your code with JetBrains IDEs