aissia/tests/fixtures/mock_mcp.json
StillHammer eab58c6ab3 fix: Add Python unbuffered mode flag to MCP servers
Python buffers stdout by default when not in TTY mode, causing
StdioTransport to receive EOF immediately when reading from the
child process pipes.

Solution: Add -u flag to Python command in MCP config to force
unbuffered I/O mode.

Fixes: 50 MCP tests that were timing out
- TI_CLIENT_* tests now pass (50/50)
- All unit tests passing (282 assertions, 120 test cases)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 16:31:23 +08:00

20 lines
487 B
JSON

{
"servers": {
"mock_server": {
"command": "python3",
"args": ["-u", "tests/fixtures/mock_mcp_server.py"],
"enabled": true
},
"disabled_server": {
"command": "nonexistent_command",
"args": [],
"enabled": false
},
"echo_server": {
"command": "python3",
"args": ["-u", "tests/fixtures/echo_server.py"],
"enabled": true
}
}
}