File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ Edit `~/.codex/config.toml` (shared by CLI and IDE extension) and add:
1414``` toml
1515[mcp_servers .github ]
1616url = " https://api.githubcopilot.com/mcp/"
17- # Replace with your real PAT (least-privilege scopes). Do NOT commit this.
1817bearer_token_env_var = " GITHUB_PAT_TOKEN"
1918```
2019
@@ -24,9 +23,7 @@ You can also add it via the Codex CLI:
2423codex mcp add github --url https://api.githubcopilot.com/mcp/
2524```
2625
27- <details >
28- <summary ><b >Storing Your PAT Securely</b ></summary >
29- <br >
26+ ### Storing Your PAT Securely
3027
3128For security, avoid hardcoding your token. One common approach:
3229
@@ -39,7 +36,6 @@ GITHUB_PAT_TOKEN=ghp_your_token_here
3936``` bash
4037echo -e " .env" >> .gitignore
4138```
42- </details >
4339
4440## Local Docker Configuration
4541
You can’t perform that action at this time.
0 commit comments