MCP server for log analysis: parse JSON/Apache/syslog, filter by level/date/keyword, analyze patterns and anomalies, format/convert, statistics Install: npx @rog0x/mcp-log-tools
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add log -- npx -y @rog0x/mcp-log-tools~/.codex/config.toml
[mcp_servers.log]
command = "npx"
args = ["-y", "@rog0x/mcp-log-tools"]
# codex mcp add log -- npx -y @rog0x/mcp-log-tools~/.cursor/mcp.json
{
"mcpServers": {
"log": {
"command": "npx",
"args": [
"-y",
"@rog0x/mcp-log-tools"
]
}
}
}.vscode/mcp.json
{
"servers": {
"log": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@rog0x/mcp-log-tools"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"log": {
"command": "npx",
"args": [
"-y",
"@rog0x/mcp-log-tools"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"log": {
"command": "npx",
"args": [
"-y",
"@rog0x/mcp-log-tools"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"log": {
"command": "npx",
"args": [
"-y",
"@rog0x/mcp-log-tools"
]
}
}
}