mirror of
https://github.com/openai/codex.git
synced 2026-10-24 18:18:41 +00:00
Remove the deprecated codex mcp-server command (#42993)
## What changed Remove the `codex mcp-server` subcommand and the standalone `codex-mcp-server` crate, including its tests, interface documentation, build dependencies, and run recipe. ## Testing Update the strict configuration test to use `codex exec hello`, preserving coverage for rejecting unknown configuration overrides. GitOrigin-RevId: 8688b1f41862d7c2073ea2812a257c0087c55d9c
This commit is contained in:
@@ -30,7 +30,7 @@ fn strict_config_rejects_unknown_config_override() -> Result<()> {
|
||||
let codex_home = TempDir::new()?;
|
||||
|
||||
let mut cmd = codex_command(codex_home.path())?;
|
||||
cmd.args(["--strict-config", "-c", "foo=bar", "mcp-server"])
|
||||
cmd.args(["--strict-config", "-c", "foo=bar", "exec", "hello"])
|
||||
.assert()
|
||||
.failure()
|
||||
.stderr(contains("unknown configuration field"));
|
||||
|
||||
Reference in New Issue
Block a user