Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

fixes #5011: update mcp server doc (#5014)

Shijie Rao26f7c4685606
diff --git a/docs/config.md b/docs/config.md
index fba8a3a21d..2ac7aba6b7 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -370,9 +370,8 @@ API_KEY = "value"
experimental_use_rmcp_client = true
[mcp_servers.figma]
url = "https://mcp.linear.app/mcp"
-# Optional bearer token to be passed into an `Authorization: Bearer <token>` header
-# Use this with caution because the token is in plaintext and can be read by Codex itself.
-bearer_token = "<token>"
+# Optional environment variable containing a bearer token to use for auth
+bearer_token_env_var = "<token>"
```
For oauth login, you must enable `experimental_use_rmcp_client = true` and then run `codex mcp login server_name`