Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions docs/installation-guides/install-codex.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```

Expand All @@ -24,9 +23,7 @@ You can also add it via the Codex CLI:
codex mcp add github --url https://api.githubcopilot.com/mcp/
```

<details>
<summary><b>Storing Your PAT Securely</b></summary>
<br>
### Storing Your PAT Securely

For security, avoid hardcoding your token. One common approach:

Expand All @@ -39,7 +36,6 @@ GITHUB_PAT_TOKEN=ghp_your_token_here
```bash
echo -e ".env" >> .gitignore
```
</details>

## Local Docker Configuration

Expand Down