You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<summary><b>Storing Your PAT Securely</b></summary>
10
29
<br>
@@ -22,19 +41,6 @@ echo -e ".env" >> .gitignore
22
41
```
23
42
</details>
24
43
25
-
> The remote GitHub MCP server is hosted by GitHub at `https://api.githubcopilot.com/mcp/` and supports Streamable HTTP.
26
-
27
-
## Remote Configuration
28
-
29
-
Edit `~/.codex/config.toml` (shared by CLI and IDE extension) and add:
30
-
31
-
```toml
32
-
[mcp_servers.github]
33
-
url = "https://api.githubcopilot.com/mcp/"
34
-
# Replace with your real PAT (least-privilege scopes). Do NOT commit this.
35
-
bearer_token_env_var = "GITHUB_PAT_TOKEN"
36
-
```
37
-
38
44
## Local Docker Configuration
39
45
40
46
Use this if you prefer a local, self-hosted instance instead of the remote HTTP server, please refer to the [OpenAI documentation for configuration](https://developers.openai.com/codex/mcp).
@@ -88,7 +94,7 @@ Use the principle of least privilege: add scopes only when a tool request fails
0 commit comments