Skip to content

Run stdio MCP servers natively - #787

Merged
SaladDay merged 2 commits into
mainfrom
run-stdio-mcp-servers-natively
Oct 19, 2026
Merged

SaladDay merged 2 commits into
mainfrom
run-stdio-mcp-servers-natively

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Public stdio MCP servers now run natively wherever the Harness can start one in the declared cwd.

  • Codex writes command, args, cwd and env_vars to its native mcp_servers entry, and its post-trust check verifies all four.
  • Claude Code starts stdio servers in its workspace directory, so cwd must equal it, and it needs allowed_tools: null, because native hides unselected tools only for HTTP servers.
  • MiniMax Code rejects every stdio server with a typed error. Its ACP session servers carry no cwd, and native 0.6.10 falls back to homedir(), which the adapter points at private state.
  • Admission: a stdio server needs the origin environment and an execution Environment. It takes no credential_id.
  • Single source: a nonempty inline env and an inline authorization are rejected. Values come only from the Environment (env_vars), and credentials only from Vaults (credential_id). index.md records both as differences from OpenAI.
  • Wire: MCPHTTPServer gains an optional Stdio declaration. MCPTransport replaces the generated HTTP-only transport in contracts/agents-api/v1.
  • Protocol version: this PR and Let Subagents call function and MCP tools #780 both set 0.20.0, and whichever merges second bumps to 0.21.0.

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 run-stdio-mcp-servers-natively branch from 8188d07 to 82e8bab Compare October 19, 2026 19:20
@SaladDay
SaladDay merged commit e5e1ef0 into main Oct 19, 2026
25 checks passed
@SaladDay
SaladDay deleted the run-stdio-mcp-servers-natively branch October 19, 2026 19:27
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