mcpField
W
Winlog Mcp

Winlog Mcp

Local
github.com/XD3anDeveloper Tools5Updated 75w ago

About Winlog Mcp

WinLog-mcp is a Windows MCP server for collecting and inspecting event logs, including Sysmon, for security monitoring and incident response. It writes ingested logs to a chosen directory and supports timestamp-based queries.

Key features

  1. 01Ingest recent Sysmon logs
  2. 02Store logs in a chosen directory
  3. 03Query recent events by timestamp

Use cases

  1. 01Review recent events during incident response
  2. 02Inspect logs for security monitoring
  3. 03Troubleshoot using time-filtered events

MCP support

It exposes `ingest_syslog` and `query_syslog` tools to MCP clients. It must run with Administrator privileges.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

🪟 WinLog-mcp

License: MIT

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>.log in the chosen storage path

MCP Server (tool, prompts,...)

🛠️ Available Tools
  • ingest_syslog: Ingests recent Sysmon logs and writes them to a file
  • query_syslog: Queries ingested logs by timestamp and returns recent events

📋 Requirements

  • Operating System: Windows
  • Python: 3.7 or higher
  • Dependencies:

💾 Installation

Clone the repository and install dependencies:

pip install -r requirements.txt

🚀 Usage

🖥️ Sysmon Installation

Reference: Sysmon Installation Guideline

cd sysmon
install.bat
▶️ Running Directly

Run the tool as an MCP server:

python main.py --storage-path \\PATH\\TO\\logs\\
🧑‍💻 Development Mode

You can inspect or debug using the MCP Inspector:

# Run in development mode
python \\PATH\\TO\\main.py --storage-path \\PATH\\TO\\logs\\

# Run in inspector mode
npx @modelcontextprotocol/inspector python \\PATH\\TO\\main.py --storage-path \\PATH\\TO\\logs\\

⚙️ Configuration

MCP configuration to run winlog-mcp tool.

{
  "mcpServers": {
    "winlog-mcp": {
      "command": "python",
      "args": [
        "\\PATH\\TO\\main.py",
        "--storage-path",
        "\\PATH\\TO\\logs\\"
      ]
    }
  }
}

🤖 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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.