LabscoMCP early access ↗
amitdeshmukhMCP SERVER

Stdout Capture

Read the output other processes wrote into a named pipe, narrowed by text, line count or time.

by amitdeshmukh ↗Editors, Terminals & Local Dev EnvironmentCommunity

LABSCO SUMMARY

Output from a process nobody is watching becomes readable without tailing a terminal.

The pipe is the whole interface: anything that writes into it becomes queryable through one tool, so a dev server, a build watcher and a background job can all report into the same place. The three parameters are what keep that usable — matching text, a line count and a starting point, which is the difference between the twenty lines that matter and an entire session's noise.

What it is

A single-tool reader over a named pipe that collects process output.

What you get

  • Logs read back from the named pipe, filtered by matching text, limited to a number of lines, or restricted to what arrived since a given point.

Requirements

Node.js v18 or newer. The server creates the pipe itself when it starts: /tmp/stdout_pipe on macOS and Linux, \\.\pipe\stdout_pipe on Windows. Send a process's output into it with your_application > /tmp/stdout_pipe, or your_application | tee /tmp/stdout_pipe to keep seeing it in the terminal too; the server keeps the last 100 entries.

Setup effort

One command — npx -y stdout-mcp-server