Skip to content

fix(agent): restore remote MCP environment editing - #1226

Merged
AnthonyRonning merged 1 commit into
masterfrom
codex-mcp-env-maple
Oct 23, 2026
Merged

AnthonyRonning merged 1 commit into
masterfrom
codex-mcp-env-maple

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Remote MCP setup hid environment/header inputs and refused secret edits, so paired controllers could not configure servers that need credentials. Restore remote add/replace/clear and server removal using the existing authenticated control path. Saved values remain write-only: responses contain names and presence flags, never stored values.

Changing a command or URL still requires replacing or clearing saved values. HTTP-to-STDIO transitions preserve explicit header-clearing intent. Failed saves retain the editor draft; no new approval or permission flow is introduced.

Validation: full local Agent Rust gate (CARGO_INCREMENTAL=0 MAPLE_HOOK_FULL=1 git commit -S, running just ci) passed: formatting, four strict Clippy feature configurations, warning-denied workspace build, workspace tests and headless ACP/proxy tests. The 52 focused MCP tests also passed. Regression coverage includes authenticated remote host requests, environment/header updates and redaction, account isolation, atomic target-change failures, server removal and transport changes. No new paired-device/native UI smoke was performed for this follow-up.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@AnthonyRonning
AnthonyRonning marked this pull request as ready for review October 23, 2026 07:00
@AnthonyRonning
AnthonyRonning merged commit dbb8e39 into master Oct 23, 2026
43 checks passed
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