We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d661abf commit 001f5e3Copy full SHA for 001f5e3
1 file changed
docs/installation-guides/install-codex.md
@@ -21,9 +21,11 @@ bearer_token_env_var = "GITHUB_PAT_TOKEN"
21
You can also add it via the Codex CLI:
22
23
```cli
24
-codex mcp add github --url https://api.githubcopilot.com/mcp/
+codex mcp add github --url https://api.githubcopilot.com/mcp/ --bearer-token-env-var GITHUB_PAT_TOKEN
25
```
26
27
+The `--bearer-token-env-var` option is required for PAT-authenticated access to the hosted GitHub MCP server.
28
+
29
<details>
30
<summary><b>Storing Your PAT Securely</b></summary>
31
<br>
0 commit comments