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:
jif
2026-09-05 12:17:32 +00:00
committed by copyberry
parent 2bd71f96d4
commit 531f3836a1
33 changed files with 3 additions and 4528 deletions
+1 -1
View File
@@ -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"));