mirror of
https://github.com/openai/codex.git
synced 2026-09-13 11:47:17 +00:00
Fixes #5011: Document bearer_token_env_var for streamable HTTP
This commit is contained in:
@@ -370,9 +370,11 @@ 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: set `bearer_token_env_var` to the name of an environment variable whose
|
||||
# value should be passed into an `Authorization: Bearer <token>` header.
|
||||
# Export the environment variable before launching Codex so the MCP client can read it.
|
||||
# (Inline `bearer_token` values are no longer supported.)
|
||||
bearer_token_env_var = "FIGMA_MCP_TOKEN"
|
||||
```
|
||||
|
||||
For oauth login, you must enable `experimental_use_rmcp_client = true` and then run `codex mcp login server_name`
|
||||
|
||||
Reference in New Issue
Block a user