Skip to content

Commit fc9b4e7

Browse files
authored
docs: update advanced guide details (openai#5395)
1 parent 16408cd commit fc9b4e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/advanced.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Most day-to-day tuning lives in `config.toml`: set approval + sandbox presets, p
1010

1111
Because Codex is written in Rust, it honors the `RUST_LOG` environment variable to configure its logging behavior.
1212

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:
1414

1515
```
1616
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
2222

2323
## Model Context Protocol (MCP) {#model-context-protocol}
2424

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).
2626

2727
## Using Codex as an MCP Server {#mcp-server}
2828

@@ -43,7 +43,7 @@ Send a `tools/list` request and you will see that there are two tools available:
4343
| Property | Type | Description |
4444
| ----------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | --- |
4545
| **`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`. |
4747
| `base-instructions` | string | The set of instructions to use instead of the default ones. |
4848
| `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`. |
4949
| `cwd` | string | Working directory for the session. If relative, resolved against the server process's current directory. | |

0 commit comments

Comments
 (0)