Matthew Zeng
71174574ad
Add server-level approval defaults for custom MCP servers (#17843)
## Summary
- Add `default_tools_approval_mode` support for custom MCP server
configs, matching the existing `codex_apps` behavior
- Apply approval precedence as per-tool override, then server default,
then `auto`
- Update config serialization, CLI display, schema generation, docs, and
tests
## Testing
- `cargo check -p codex-config`
- `cargo check -p codex-core`
- `just write-config-schema`
- `just fmt`
- `cargo test -p codex-config`
- Targeted `codex-core` tests for config parsing, config writes, and MCP
approval precedence
- `just fix -p codex-config -p codex-core`
2026-04-16 18:18:07 +00:00
..
2026-04-15 16:26:20 -07:00
2026-04-09 11:52:37 -07:00
2026-03-27 19:00:44 -07:00
2026-03-27 19:00:44 -07:00
2026-04-12 18:36:03 -07:00
2026-04-14 09:50:14 -07:00
2026-04-16 07:57:51 -07:00
2026-04-03 15:03:21 -07:00
2026-04-14 08:55:12 -07:00
2026-04-10 23:33:13 +00:00
2026-04-16 18:18:07 +00:00
2026-02-20 23:45:35 -08:00
2026-04-09 11:52:37 -07:00
2026-04-16 07:57:51 -07:00
2026-04-09 11:52:37 -07:00
2026-04-16 07:57:51 -07:00
2026-03-19 20:12:07 -07:00
2026-03-23 15:19:01 -07:00
2026-04-14 20:48:01 -07:00
2026-04-09 11:52:37 -07:00
2026-04-12 18:36:03 -07:00
2026-04-09 11:52:37 -07:00
2026-03-27 19:00:44 -07:00
2026-04-14 14:26:10 -07:00
2026-04-16 18:18:07 +00:00
2026-03-23 15:19:01 -07:00
2025-12-23 19:29:32 -08:00
2026-04-07 00:32:41 +00:00
2026-04-15 10:38:11 +01:00
2026-04-14 20:48:01 -07:00
2026-03-13 15:27:00 -07:00
2026-04-07 17:55:40 -07:00
2026-04-09 11:52:37 -07:00
2026-04-07 17:55:40 -07:00
2026-04-01 23:06:24 -07:00
2026-04-15 21:02:59 +08:00
2026-04-09 11:52:37 -07:00
2026-03-13 15:27:00 -07:00
2026-04-14 09:50:14 -07:00
2026-04-09 11:52:37 -07:00
2026-04-07 15:18:34 -07:00
2026-04-07 17:55:40 -07:00
2026-04-15 21:02:59 +08:00
2026-04-09 11:52:37 -07:00
2026-04-09 11:52:37 -07:00
2026-04-15 16:26:20 -07:00
2026-04-13 16:53:42 -07:00
2026-04-07 17:55:40 -07:00
2026-04-09 11:52:37 -07:00
2026-03-23 15:19:01 -07:00
2026-03-26 17:12:45 -07:00
2026-03-23 15:19:01 -07:00
2026-04-16 10:01:45 +01:00
2026-04-16 10:31:51 -07:00
2026-04-09 11:52:37 -07:00
2026-04-09 11:52:37 -07:00
2026-04-16 18:18:07 +00:00
2026-04-09 18:44:26 +01:00
2026-03-23 15:19:01 -07:00
2026-04-16 18:18:07 +00:00
2026-04-03 12:07:07 -07:00
2026-04-07 16:35:02 -07:00
2026-04-14 12:49:02 -07:00
2026-03-26 07:46:04 -07:00
2026-04-14 15:40:40 -07:00
2026-04-07 17:55:40 -07:00
2026-04-16 18:18:07 +00:00
2026-04-09 11:52:37 -07:00
2026-04-09 11:52:37 -07:00
2026-04-13 10:26:51 -07:00
2026-03-23 15:19:01 -07:00
2026-03-23 15:19:01 -07:00
2026-04-03 00:33:34 -07:00
2026-04-16 18:18:07 +00:00
2026-04-16 18:18:07 +00:00
2026-03-11 12:33:09 -07:00
2026-03-19 20:12:07 -07:00
2026-04-16 07:57:51 -07:00
2026-04-01 23:06:24 -07:00
2026-04-09 11:52:37 -07:00
2026-04-02 12:34:42 -07:00
2026-04-16 07:57:51 -07:00
2026-03-19 20:12:07 -07:00
2026-04-03 00:33:34 -07:00
2026-04-09 11:52:37 -07:00