From 24604dff1e5983835e596b229374887c48b99154 Mon Sep 17 00:00:00 2001 From: Benny Wong Date: Sun, 4 Jan 2026 23:28:29 -0500 Subject: [PATCH 1/2] Update codex installation docs for clarity --- docs/installation-guides/install-codex.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/installation-guides/install-codex.md b/docs/installation-guides/install-codex.md index 5f92996bc..98cab3109 100644 --- a/docs/installation-guides/install-codex.md +++ b/docs/installation-guides/install-codex.md @@ -14,7 +14,6 @@ Edit `~/.codex/config.toml` (shared by CLI and IDE extension) and add: ```toml [mcp_servers.github] url = "https://api.githubcopilot.com/mcp/" -# Replace with your real PAT (least-privilege scopes). Do NOT commit this. bearer_token_env_var = "GITHUB_PAT_TOKEN" ``` @@ -24,9 +23,7 @@ You can also add it via the Codex CLI: codex mcp add github --url https://api.githubcopilot.com/mcp/ ``` -
-Storing Your PAT Securely -
+### Storing Your PAT Securely For security, avoid hardcoding your token. One common approach: @@ -39,7 +36,6 @@ GITHUB_PAT_TOKEN=ghp_your_token_here ```bash echo -e ".env" >> .gitignore ``` -
## Local Docker Configuration From 7a869426a0ff87e11650de29b69722e51b0bba2f Mon Sep 17 00:00:00 2001 From: Benny Wong Date: Tue, 6 Jan 2026 09:05:27 -0500 Subject: [PATCH 2/2] Update docs/installation-guides/install-codex.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- docs/installation-guides/install-codex.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation-guides/install-codex.md b/docs/installation-guides/install-codex.md index 98cab3109..20a09bdc6 100644 --- a/docs/installation-guides/install-codex.md +++ b/docs/installation-guides/install-codex.md @@ -23,7 +23,7 @@ You can also add it via the Codex CLI: codex mcp add github --url https://api.githubcopilot.com/mcp/ ``` -### Storing Your PAT Securely +### Storing Your PAT Securely For security, avoid hardcoding your token. One common approach: