Skip to content

Name MCP transport params and check labels - #858

Merged
SaladDay merged 2 commits into
mainfrom
fix/mcp-transport-params
Oct 25, 2026
Merged

SaladDay merged 2 commits into
mainfrom
fix/mcp-transport-params

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 24, 2026 •

Copy link
Copy Markdown
Collaborator

Official API alignment (MV-05, MV-06).

  • MCP transport rejections are field errors whose param names the member at fault (tools[i].transport.server_url, .headers.<name>, .cwd, connection_origin, credential_id, request_metadata, allowed_tools[j], …; agent. prefix on the inline Session agent).
  • server_label accepts only [A-Za-z0-9_-] and must be unique, checked on saved Agents and the inline Session agent.
  • The request_metadata quote in execution-tools.md now matches the code; ledger and wire-semantics rows updated (+ zh).

Checks: go test ./internal/api -run 'Configuration|MCP|Tools|Credential|Harness|Session|Agent', go vet ./..., gofmt.


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

@SaladDay
SaladDay force-pushed the fix/mcp-transport-params branch from 0d3d39f to ec7787f Compare October 25, 2026 02:41
@SaladDay
SaladDay merged commit 7490e65 into main Oct 25, 2026
1 check passed
@SaladDay
SaladDay deleted the fix/mcp-transport-params branch October 25, 2026 02:41
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