You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/advanced.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Most day-to-day tuning lives in `config.toml`: set approval + sandbox presets, p
10
10
11
11
Because Codex is written in Rust, it honors the `RUST_LOG` environment variable to configure its logging behavior.
12
12
13
-
The TUI defaults to `RUST_LOG=codex_core=info,codex_tui=info` and log messages are written to `~/.codex/log/codex-tui.log`, so you can leave the following running in a separate terminal to monitor log messages as they are written:
13
+
The TUI defaults to `RUST_LOG=codex_core=info,codex_tui=info,codex_rmcp_client=info` and log messages are written to `~/.codex/log/codex-tui.log`, so you can leave the following running in a separate terminal to monitor log messages as they are written:
14
14
15
15
```
16
16
tail -F ~/.codex/log/codex-tui.log
@@ -22,7 +22,7 @@ See the Rust documentation on [`RUST_LOG`](https://docs.rs/env_logger/latest/env
22
22
23
23
## Model Context Protocol (MCP) {#model-context-protocol}
24
24
25
-
The Codex CLI and IDE extension is a MCP client which means that it can be configured to connect to MCP servers. For more information, refer to the [`config docs`](./config.md#connecting-to-mcp-servers).
25
+
The Codex CLI and IDE extension is a MCP client which means that it can be configured to connect to MCP servers. For more information, refer to the [`config docs`](./config.md#mcp-integration).
26
26
27
27
## Using Codex as an MCP Server {#mcp-server}
28
28
@@ -43,7 +43,7 @@ Send a `tools/list` request and you will see that there are two tools available:
|**`prompt`** (required) | string | The initial user prompt to start the Codex conversation. |
46
-
|`approval-policy`| string | Approval policy for shell commands generated by the model: `untrusted`, `on-failure`, `never`.|
46
+
|`approval-policy`| string | Approval policy for shell commands generated by the model: `untrusted`, `on-failure`, `on-request`, `never`. |
47
47
|`base-instructions`| string | The set of instructions to use instead of the default ones. |
48
48
|`config`| object | Individual [config settings](https://github.com/openai/codex/blob/main/docs/config.md#config) that will override what is in `$CODEX_HOME/config.toml`. |
49
49
|`cwd`| string | Working directory for the session. If relative, resolved against the server process's current directory. ||
0 commit comments