WinLog-mcp
🪟 WinLog-mcp
用于检索和分析 Windows 事件日志(例如应用程序、系统、安全)的模型上下文协议 (MCP) 工具。WinLog-mcp 提供编程访问,用于提取和查询 Windows 事件日志,使其成为安全监控、事件响应和日志分析自动化的理想选择。
⚠️警告:此工具必须以管理员权限运行。请谨慎操作,以免对您的系统造成意外更改。
✨ 特点
提取 Windows Sysmon 日志并将其作为文件存储在用户定义的目录中
按时间戳查询日志,返回最近的事件条目以供分析或故障排除
与 MCP 工具和生态系统的无缝互操作性
📄 日志文件格式
日志文件在所选存储路径中以
<timestamp>_<log_type>.log格式命名
Related MCP server: Windows Forensics MCP Server
MCP 服务器(工具、提示……)
🛠️ 可用工具
ingest_syslog:提取最近的 Sysmon 日志并将其写入文件query_syslog:按时间戳查询已摄取的日志并返回最近的事件
📋 要求
操作系统: Windows
Python: 3.7 或更高版本
依赖项:
mcp.server.fastmcp (或您的 MCP 服务器实现)
💾 安装
克隆存储库并安装依赖项:
pip install -r requirements.txt🚀 使用方法
Sysmon 安装
参考: Sysmon 安装指南
cd sysmon
install.bat▶️直接运行
作为 MCP 服务器运行该工具:
python main.py --storage-path \\PATH\\TO\\logs\\🧑💻开发模式
您可以使用 MCP 检查器进行检查或调试:
# 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\\⚙️ 配置
MCP 配置以运行 winlog-mcp 工具。
{
"mcpServers": {
"winlog-mcp": {
"command": "python",
"args": [
"\\PATH\\TO\\main.py",
"--storage-path",
"\\PATH\\TO\\logs\\"
]
}
}
}
🤖 MCP 客户端集成
💬 Claude 桌面集成
配置文件位于:
Windows:
%APPDATA%\Claude\claude_desktop_config.json
与 Claude Desktop 集成后,您可以要求 Claude:
请显示过去 24 小时内发生的最后 10 起事件,并对其进行分析。
📄 许可证
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables fast, scriptable access to Windows .evtx event logs for incident response and digital forensics. Supports filtering events by time windows, Event IDs, and keywords with field projection to reduce output size.49GPL 3.0
- AlicenseBqualityCmaintenanceEnables AI-assisted Windows digital forensics analysis including parsing Windows Event Logs (EVTX), analyzing registry hives (SAM, SYSTEM, SOFTWARE), and remotely collecting artifacts via WinRM with built-in security queries and forensic reference data.4319MIT
- FlicenseBqualityCmaintenanceEnables context-aware EVTX hunting with process lineage tracing and rarity baselining to surface real threats from security logs, transforming raw alerts into actionable kill chain intelligence.31
- Alicense-qualityBmaintenanceEnables Windows Event Log (EVTX) analysis by wrapping Hayabusa, exposing scan and rule retrieval tools.MIT
Related MCP Connectors
Query and retrieve information about various adversarial tactics and techniques used in cyber atta…
Query Inbin's parsed email events (newsletters, invoices, alerts) as typed JSON tools.
Execute PowerShell commands securely with controlled timeouts and input validation. Retrieve syste…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/XD3an/winlog-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server