Skip to content

feat(desktop): add Project connection setup - #4588

Open
wolfyy970 wants to merge 5 commits into
block:mainfrom
wolfyy970:codex/project-connections
Open

feat(desktop): add Project connection setup#4588
wolfyy970 wants to merge 5 commits into
block:mainfrom
wolfyy970:codex/project-connections

Conversation

@wolfyy970

@wolfyy970 wolfyy970 commented Aug 3, 2026

Copy link
Copy Markdown

Summary

Adds Connections to each Project so a stdio MCP service can be configured and tested once instead of being recreated for every agent.

Connections and credentials stay local to the Project, outside portable agent configuration. This slice covers secret handling, connection testing, tool discovery and removal. Agent bindings follow separately.

This keeps credentials out of portable templates and gives later agent bindings one Project-owned connection model. HTTP support remains with #4271 and the shared transport schema in #4164.

Related issue

#4301

This complements #4571, which configures remote MCP servers on individual Fly agents. This PR establishes the reusable Project-owned connection boundary.

Testing

  • 28 focused Rust tests
  • clippy
  • desktop checks and typecheck
  • E2E build and screenshot test

@wolfyy970

Copy link
Copy Markdown
Author

Screenshots

Project connection ready

01-ready-connection

Add a Project connection

02-add-connection

Remove connection confirmation

03-remove-connection-confirmation

@wolfyy970
wolfyy970 marked this pull request as ready for review August 3, 2026 19:59
@wolfyy970
wolfyy970 force-pushed the codex/project-connections branch from 2f9a95a to 730c235 Compare August 3, 2026 19:59
@wolfyy970
wolfyy970 requested a review from a team as a code owner August 3, 2026 19:59

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 730c235447

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread desktop/src-tauri/src/managed_agents/project_connections.rs Outdated
Comment thread desktop/src-tauri/src/managed_agents/project_connections.rs
Comment thread desktop/src-tauri/src/managed_agents/project_connections.rs Outdated
@wolfyy970
wolfyy970 force-pushed the codex/project-connections branch 2 times, most recently from a303c0d to d16e33a Compare August 3, 2026 21:15

Copy link
Copy Markdown
Author

@Annedaynl @custard-pirate, this is the Project-owned stdio connection half of the MCP work in #4571 and #4271. I would value your read on the boundary before I add agent bindings.

Signed-off-by: KC <79471844+wolfyy970@users.noreply.github.com>
Signed-off-by: KC <79471844+wolfyy970@users.noreply.github.com>
Signed-off-by: KC <79471844+wolfyy970@users.noreply.github.com>
Signed-off-by: KC <79471844+wolfyy970@users.noreply.github.com>
Signed-off-by: KC <79471844+wolfyy970@users.noreply.github.com>
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