Catch stdout pollution and handshake failures in MCP stdio servers before clients do.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp-stdio-guard": {
"command": "npx",
"args": [
"-y",
"1Utkarsh1/mcp-stdio-guard"
]
}
}
}
Run in terminal:
claude mcp add mcp-stdio-guard npx -y 1Utkarsh1/mcp-stdio-guard
Add to .cursor/mcp.json:
{
"mcpServers": {
"mcp-stdio-guard": {
"command": "npx",
"args": [
"-y",
"1Utkarsh1/mcp-stdio-guard"
]
}
}
}