logpiper-mcp
Click on "Deploy 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., "@logpiper-mcp monitor my npm test command logs"
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.
logpiper
Logpiper is an MCP server and client for streaming terminal command logs with proactive error notifications
Features
๐ Multi-Session Support: Run multiple logpiper instances simultaneously across different terminals
๐ Real-time Streaming: Only delivers new, unfetched logs via cursor-based streaming
๐ข Proactive Notifications: Automatic alerts to Claude Code
Related MCP server: log-mcp
Installation
Install npm package logpiper-mcp to access both components:
npm install -g logpiper-mcpThis provides:
CLI tool:
logpipercommand for log collectionMCP server:
logpiper-mcpfor IDE integrationClaude Code agent: Install the monitoring agent with
logpiper --install-agent
Agent Installation
To install the Claude Code monitoring agent:
logpiper --install-agentThis will interactively guide you through installing the logpiper-monitor agent to your Claude Code agents directory.
MCP Server Configuration
Add logpiper to your IDE configuration, e.g. ~/.claude/settings.json:
{
"mcpServers": {
"logpiper": {
"command": "logpiper-mcp"
}
}
}Usage
1. Start monitoring any command by prefixing it with logpiper:
Testing and CI/CD
# Monitor test suites
logpiper npm test
logpiper npm run test:watch
logpiper npm run test:e2e
# Monitor build processes
logpiper npm run build
logpiper npm run build:prodDocker and Container Monitoring
# Monitor Docker Compose services
logpiper docker-compose up
logpiper docker-compose logs -f backend
# Monitor individual containers
logpiper docker logs -f container_nameDatabase and Backend Services
# Monitor Python applications
logpiper python app.py
logpiper uvicorn main:app --reload
# Monitor Node.js servers
logpiper node server.js
logpiper nodemon app.js3. MCP Tools Available
Tool | Description | Usage |
| Get new logs since cursor position (streaming) | Real-time log monitoring |
| List all logging sessions with metadata | Session management |
| Search through logs with query string | Error investigation |
| Get logs with cursor-based pagination and automatic chunking | Large log file navigation |
| Cleanup sessions: smart cleanup based on criteria or complete reset | Session management (mode: "smart" or "all") |
Additional Features
๐ Token Limiting: MCP responses automatically limited to 25,000 tokens to prevent overwhelming Claude Code
Contributing
Fork the repository
Create a feature branch
Add your improvements
Test with multiple command types
Submit a pull request
License
MIT License - feel free to use and modify for your needs!
Available Tools
5 toolscleanup_sessionsC
Cleanup sessions: intelligent cleanup based on criteria or complete reset of all data
Inputs: mode, force, dryRun, confirm.
get_logs_paginatedC
Get logs with cursor-based pagination and automatic chunking
Inputs: sessionId (required), limit, cursor, reverse, +1 more.
get_new_logsC
Get new logs since a specific cursor position (streaming)
Inputs: limit, since, sessionId, consumeLogs.
list_sessionsB
List all logging sessions with metadata
Inputs: limit, offset, status.
search_logsC
Search through logs with a query string
Inputs: query (required), limit, offset, sessionId.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 5 tools
Most tools have clearly distinct roles, but get_new_logs and get_logs_paginated both retrieve logs and could be confused by an agent skimming descriptions. The streaming vs. pagination distinction is present but requires careful reading.
All tool names follow a consistent verb_noun pattern (get_, list_, search_, cleanup_), with no mixed conventions or vague verbs. The naming is predictable and easy to extrapolate.
Five tools is a well-scoped size for a log management server, covering retrieval, search, session listing, and cleanup without unnecessary bloat or feeling thin.
The read and lifecycle side is reasonably covered with search, pagination, streaming, and cleanup, but there is no ingestion or write capability for logs/sessions. This is a notable gap if the server is meant to manage logs end-to-end.
Maintenance
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personalโฆ
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
A paid remote MCP for CLI tool MCP, built to return verdicts, receipts, usage logs, and audit-ready
Real-time chat for AI agents. Claude Code, Cursor, Cline and Codex join channels over MCP.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server for streaming and searching macOS Console.app and iOS device logs, enabling real-time log access and debugging through natural language.141MIT
- AlicenseAqualityDmaintenanceMCP server for log file analysis. Gives LLMs the ability to efficiently analyze large log files without loading them into context.7101MIT
- AlicenseNot gradedqualityDmaintenanceA CLI wrapper that monitors and captures output from any running command and exposes it as an MCP server, providing tools to retrieve and search logs.18 npm3ISC
- FlicenseBqualityDmaintenanceA log analysis MCP server that enables tailing, searching, filtering, and summarizing logs from local files and Docker containers.7-