Skip to content

stdio: keep subprocess alive by default#25

Merged
0xeb merged 1 commit intomainfrom
sync/stdio-keep-alive-2026-01-07
Jan 10, 2026
Merged

stdio: keep subprocess alive by default#25
0xeb merged 1 commit intomainfrom
sync/stdio-keep-alive-2026-01-07

Conversation

@0xeb
Copy link
Copy Markdown
Owner

@0xeb 0xeb commented Jan 9, 2026

Brings the C++ port closer to FastMCP stdio semantics by keeping the stdio subprocess alive across multiple requests (default). Adds --stdio-one-shot to preserve the previous spawn-per-request behavior.

Tests:

  • ctest --test-dir build -C Release -R stdio
  • ctest --test-dir build -C Release -R client_transports
  • python more_examples/fastmcpp/tests/run_interop_tests.py --test all --build-type Release

Add keep-alive mode to StdioTransport (with one-shot opt-out) and extend stdio demo + tests to cover persistence.
@0xeb 0xeb merged commit e590e3d into main Jan 10, 2026
6 of 7 checks passed
@0xeb 0xeb deleted the sync/stdio-keep-alive-2026-01-07 branch January 10, 2026 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant