Captures and manages stdout logs from multiple processes via a named pipe system for real-time debugging and analysis.
A Model Context Protocol (MCP) server that captures and manages stdout logs through a named pipe system. This server is particularly useful for:
The server creates a named pipe at a specific location (/tmp/stdout_pipe
on Unix/MacOS or \\.\pipe\stdout_pipe
on Windows)
Any application can write logs to this pipe using standard output redirection. For example:
your_application | tee /tmp/stdout_pipe # or
your_application > /tmp/stdout_pipe
The server monitors the pipe, captures all incoming logs, and maintains a history of the last 100 entries
Through MCP tools, you can query, filter, and analyze these logs
Before installing, please ensure you have:
Cursor > Settings > MCP Servers
name: stdout-mcp-server
type: command
command: npx stdout-mcp-server
For macOS/Linux:
{
"mcpServers": {
"stdio-mcp-server": {
"command": "npx",
"args": [
"stdio-mcp-server"
]
}
}
}
For Windows:
{
"mcpServers": {
"mcp-installer": {
"command": "cmd.exe",
"args": ["/c", "npx", "stdio-mcp-server"]
}
}
}
To send your application's output to the pipe:
# Unix/MacOS
your_application > /tmp/stdout_pipe
# Windows (PowerShell)
your_application > \\.\pipe\stdout_pipe
You can redirect logs from multiple sources:
# Application 1
app1 > /tmp/stdout_pipe &
# Application 2
app2 > /tmp/stdout_pipe &
Your AI will use the get-logs
tool in your MCP client to retrieve and filter logs:
// Get last 50 logs
get-logs()
// Get last 100 logs containing "error"
get-logs({ lines: 100, filter: "error" })
// Get logs since a specific timestamp
get-logs({ since: 1648675200000 }) // Unix timestamp in milliseconds
\\.\pipe\stdout_pipe
/tmp/stdout_pipe
Retrieve logs from the named pipe with optional filtering:
Parameters:
lines
(optional, default: 50): Number of log lines to returnfilter
(optional): Text to filter logs bysince
(optional): Timestamp to get logs afterExample responses:
// Response format
{
content: [{
type: "text",
text: "[2024-03-20T10:15:30.123Z] Application started\n[2024-03-20T10:15:31.456Z] Connected to database"
}]
}
MIT License
Interact with the Monad testnet, query blockchain data, and engage with the CoinflipGame smart contract.
A template for deploying a remote, authentication-free MCP server on Cloudflare Workers.
MCP server for text-to-graphql, integrates with Claude Desktop and Cursor.
Introspects Laravel codebases to provide structured information about views, routes, classes, and models using the mateffy/laravel-introspect package.
Interacting with Phabricator API
An intelligent codebase search engine that transforms local codebases into a natural language queryable knowledge base.
Integrates with Microsoft's AutoGen framework to enable sophisticated multi-agent conversations via the Model Context Protocol.
Run code in secure sandboxes hosted by E2B
Access Chromium and PDFium source code repositories using Google's official CodeSearch APIs, supporting advanced search, Gerrit integration, and issue tracking.
Model Kontext Protocol Server for Kubernetes that allows LLM-powered applications to interact with Kubernetes clusters through native Go implementation with direct API integration and comprehensive resource management.