[4/6] Abstract MCP stdio server launching#18087
Merged
aibrahim-oai merged 4 commits intomainfrom Apr 17, 2026
Merged
Conversation
b440257 to
c603449
Compare
69f6bd3 to
0681926
Compare
c603449 to
db32dd3
Compare
4909acf to
e89f9e2
Compare
db32dd3 to
2ccbd13
Compare
aibrahim-oai
added a commit
that referenced
this pull request
Apr 16, 2026
## Summary - Add an MCP server environment setting with local as the default. - Thread the default through config serialization, schema generation, and existing config fixtures. ## Stack ```text o #18027 [8/8] Fail exec client operations after disconnect │ o #18025 [7/8] Cover MCP stdio tests with executor placement │ o #18089 [6/8] Wire remote MCP stdio through executor │ o #18088 [5/8] Add executor process transport for MCP stdio │ o #18087 [4/8] Abstract MCP stdio server launching │ o #18020 [3/8] Add pushed exec process events │ o #18086 [2/8] Support piped stdin in exec process API │ @ #18085 [1/8] Add MCP server environment config │ o main ``` Co-authored-by: Codex <noreply@openai.com>
e89f9e2 to
240b15b
Compare
0030462 to
afdd04f
Compare
240b15b to
5d0fa36
Compare
afdd04f to
6075a2b
Compare
5d0fa36 to
fe13f51
Compare
6075a2b to
b75ff9b
Compare
7d383a5 to
60d1e5b
Compare
1823e57 to
df8be89
Compare
725940a to
e9b4e30
Compare
321268f to
d94930b
Compare
e9b4e30 to
53ea2a8
Compare
aibrahim-oai
added a commit
that referenced
this pull request
Apr 16, 2026
## Summary - Add an explicit stdin mode to process/start. - Keep normal non-interactive exec stdin closed while allowing pipe-backed processes. ## Stack ```text o #18027 [8/8] Fail exec client operations after disconnect │ o #18025 [7/8] Cover MCP stdio tests with executor placement │ o #18089 [6/8] Wire remote MCP stdio through executor │ o #18088 [5/8] Add executor process transport for MCP stdio │ o #18087 [4/8] Abstract MCP stdio server launching │ o #18020 [3/8] Add pushed exec process events │ @ #18086 [2/8] Support piped stdin in exec process API │ o #18085 [1/8] Add MCP server environment config │ o main ``` Co-authored-by: Codex <noreply@openai.com>
b3a55be to
0666bc7
Compare
pakrym-oai
approved these changes
Apr 16, 2026
aibrahim-oai
added a commit
that referenced
this pull request
Apr 17, 2026
## Summary - Add a pushed `ExecProcessEvent` stream alongside retained `process/read` output. - Publish local and remote output, exit, close, and failure events. - Cover the event stream with shared local/remote exec process tests. ## Testing - `cargo check -p codex-exec-server` - `cargo check -p codex-rmcp-client` - Not run: `cargo test` per repo instruction; CI will cover. ## Stack ```text o #18027 [6/6] Fail exec client operations after disconnect │ o #18212 [5/6] Wire executor-backed MCP stdio │ o #18087 [4/6] Abstract MCP stdio server launching │ @ #18020 [3/6] Add pushed exec process events │ o #18086 [2/6] Support piped stdin in exec process API │ o #18085 [1/6] Add MCP server environment config │ o main ``` --------- Co-authored-by: Codex <noreply@openai.com>
Move local stdio process startup behind a runtime trait while preserving the existing local MCP stdio behavior. Co-authored-by: Codex <noreply@openai.com>
Rename the stdio runtime abstraction around launching a server so the PR boundary is about process placement, not a parallel stdio/executor runtime shape.\n\nCo-authored-by: Codex <noreply@openai.com>
Keep the shared launcher API before the local implementation and move local launch helpers onto LocalStdioServerLauncher.\n\nCo-authored-by: Codex <noreply@openai.com>
Return an RMCP Transport from stdio launchers and let the transport own local process cleanup state. This keeps RmcpClient on the same serve_client path for stdio as for other transports. Co-authored-by: Codex <noreply@openai.com>
0666bc7 to
39b8f9b
Compare
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stack