Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WinLog-mcpshow me the last 10 security events from the past hour"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
πͺ WinLog-mcp
A Model Context Protocol (MCP) tool for retrieving and analyzing Windows event logs (e.g. Application, System, Security). WinLog-mcp provides programmatic access to ingest and query Windows event logs, making it ideal for security monitoring, incident response, and log analysis automation.
β οΈ Warning: This tool must be run with Administrator privileges. Please exercise caution to avoid causing unintended changes to your system.
β¨ Features
Ingest Windows Sysmon logs and store them as files in a user-defined directory
Query logs by timestamp, returning recent event entries for analysis or troubleshooting
Seamless interoperability with MCP tools and ecosystem
π Log files format
Log files are named with the format
<timestamp>_<log_type>.login the chosen storage path
Related MCP server: Brummer MCP Server
MCP Server (tool, prompts,...)
π οΈ Available Tools
ingest_syslog: Ingests recent Sysmon logs and writes them to a filequery_syslog: Queries ingested logs by timestamp and returns recent events
π Requirements
Operating System: Windows
Python: 3.7 or higher
Dependencies:
mcp.server.fastmcp (or your MCP server implementation)
πΎ Installation
Clone the repository and install dependencies:
π Usage
π₯οΈ Sysmon Installation
Reference: Sysmon Installation Guideline
βΆοΈ Running Directly
Run the tool as an MCP server:
π§βπ» Development Mode
You can inspect or debug using the MCP Inspector:
βοΈ Configuration
MCP configuration to run winlog-mcp tool.
π€ MCP Clients Integration
π¬ Claude Desktop Integration
The configuration file is located at:
Windows:
%APPDATA%\Claude\claude_desktop_config.json
Once integrated with Claude Desktop, you can ask Claude to:
Please show me the last 10 events in the last 24 hours, and Analyze them.
π License
This project is licensed under the MIT License - see the LICENSE file for details.