log-mcp-server
Provides tools for tailing, searching with regex, and summarizing errors from Docker containers.
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., "@log-mcp-servertail last 100 lines of /var/log/syslog"
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.
log-mcp-server
A log analysis MCP server — tail, search, filter, and summarize logs from local files and Docker containers.
Tools
Tool | Description |
| Tail last N lines from a log file |
| Regex search in a log file |
| Filter by level (ERROR/WARN/INFO/DEBUG) — JSON and plain text |
| Group and count errors by pattern |
| Tail last N lines from a Docker container |
| Regex search in Docker container logs |
| Summarize errors from a Docker container |
Related MCP server: Log Analyzer MCP
Quick Start
git clone https://github.com/sheikhBasit/log-mcp-server
cd log-mcp-server
python -m venv .venv && .venv/bin/pip install -e .
log-mcpClaude Desktop Config
{
"mcpServers": {
"logs": {
"command": "/path/to/.venv/bin/log-mcp"
}
}
}Usage Examples
tail the last 50 lines of /var/log/nginx/error.log
search for "timeout" in /app/logs/api.log
filter ERROR lines from /app/logs/app.log
summarize errors in the "backend" docker container
tail 100 lines from docker container "nexavoxa-api"Running Tests
pip install -e ".[dev]"
pytestLicense
MIT
Knowledge Graph
This repo is indexed by Understand Anything — a multi-agent pipeline that builds a knowledge graph of every file, function, class, and dependency.
The graph lives at .understand-anything/knowledge-graph.json and can be explored visually:
# In Claude Code, from this repo root:
/understand-dashboardTo rebuild the graph after major changes:
~/scripts/graphify-all.shGraph covers: files · functions · classes · imports · architecture layers · plain-English summaries · guided tours.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/sheikhBasit/log-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server