Created
December 15, 2025 18:12
-
-
Save cedricvidal/35e1f6e598712604dfd92cfc98d8e4d5 to your computer and use it in GitHub Desktop.
How to capture stdin and stdout of an MCP server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "servers": { | |
| "mcp-server": { | |
| "type": "stdio", | |
| "command": "bash", | |
| "args": [ | |
| "-c", | |
| "tee mcp-in.jsonl | mcp-server | tee mcp-out.jsonl" | |
| ] | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment