stdout-mcp-server
by amitdeshmukh
stdout-mcp-server is a Model Context Protocol (MCP) server that captures and manages stdout logs through a named pipe system. It's particularly useful for capturing logs from multiple processes and making them available for debugging in Cursor IDE.
Last updated: N/A
What is stdout-mcp-server?
stdout-mcp-server is a server that captures and manages standard output (stdout) logs from applications by using a named pipe. This allows you to monitor application output in real-time and provide a MCP interface to query, filter, and analyze logs.
How to use stdout-mcp-server?
Applications redirect their stdout to a named pipe created by the server. The server monitors this pipe, captures the logs, and stores a history of recent entries. MCP clients can then query and filter these logs using the get-logs
tool.
Key features of stdout-mcp-server
Named pipe creation and monitoring
Real-time log capture and storage
Log filtering and retrieval through MCP tools
Configurable log history (default: 100 entries)
Cross-platform support (Windows and Unix-based systems)
Use cases of stdout-mcp-server
Capturing logs from multiple processes or applications
Making logs available for debugging in Cursor IDE
Monitoring application output in real-time
Providing an MCP interface to query, filter, and analyze logs
FAQ from stdout-mcp-server
What is the default location of the named pipe on Unix/MacOS?
What is the default location of the named pipe on Unix/MacOS?
The default location is /tmp/stdout_pipe.
What is the default location of the named pipe on Windows?
What is the default location of the named pipe on Windows?
The default location is \.\pipe\stdout_pipe.
How do I redirect application logs to the named pipe?
How do I redirect application logs to the named pipe?
Use standard output redirection. For example: your_application > /tmp/stdout_pipe
(Unix/MacOS) or your_application > \\.\pipe\stdout_pipe
(Windows).
How do I retrieve logs?
How do I retrieve logs?
Use the get-logs
tool in your MCP client with optional parameters like lines
, filter
, and since
.
What is the default number of log entries stored?
What is the default number of log entries stored?
By default, the server maintains a history of the last 100 log entries.