stdout-mcp-server

stdout-mcp-server

3

The stdout-mcp-server is a Model Context Protocol server designed to capture and manage stdout logs via a named pipe system, making them accessible for debugging and real-time monitoring. It supports cross-platform use and offers features such as log filtering, configurable history, and retrieval through MCP tools.

stdout-mcp-server

A Model Context Protocol (MCP) server that captures and manages stdout logs through a named pipe system. This server is particularly useful for:

  • Capturing logs from multiple processes or applications and making them available for debugging in Cursor IDE.
  • Monitoring application output in real-time and providing a MCP interface to query, filter, and analyze logs.

Features

  • 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)

System Requirements

Before installing, please ensure you have:

  • Node.js v18 or newer

Installation Options

  • Install in Cursor by navigating to Cursor > Settings > MCP Servers and adding a new MCP Server.
  • Use the command npx stdout-mcp-server for installation in other clients on macOS/Linux and Windows.

Named Pipe Locations

  • Windows: \\.\pipe\stdout_pipe
  • Unix/MacOS: /tmp/stdout_pipe

Available Tools

get-logs

Retrieve logs from the named pipe with optional filtering:

  • Parameters: lines (default: 50), filter, since.