Skip to content

docs(schema): reject duplicate stdio env names - #2693

Merged
benbrandt merged 3 commits into
mainfrom
docs/stdio-env-duplicates
Oct 30, 2026
Merged

benbrandt merged 3 commits into
mainfrom
docs/stdio-env-duplicates

Conversation

@benbrandt

@benbrandt benbrandt commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Duplicate stdio env names had a Client MUST but no Agent rule. On v2 session-setup (stable and draft) and the McpServerStdio.env Rust/schema doc:

  • Each env entry SHOULD have a unique name.
  • Agents MAY reject duplicates with -32602; otherwise the last entry with a given name wins.

v2 only.

@benbrandt
benbrandt requested a review from a team as a code owner October 30, 2026 10:39
@benbrandt
benbrandt enabled auto-merge (squash) October 30, 2026 11:16
@benbrandt
benbrandt merged commit 1222f93 into main Oct 30, 2026
14 checks passed
@benbrandt
benbrandt deleted the docs/stdio-env-duplicates branch October 30, 2026 11:21
@acp-release-bot acp-release-bot Bot mentioned this pull request Oct 30, 2026
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