Skip to content

Commit 332d9e4

Browse files
Add comment about GH_TOKEN.
1 parent 96bc382 commit 332d9e4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ export AI_API_TOKEN=<your_github_token>
4444

4545
Or, if you are using GitHub Codespaces, then you can [add a Codespace secret](https://github.com/settings/codespaces/secrets/new) so that `AI_API_TOKEN` is automatically available when working in a Codespace.
4646

47+
Many of the MCP servers in the [seclab-taskflow](https://github.com/GitHubSecurityLab/seclab-taskflows) repo also need an environment variable named `GH_TOKEN` for accessing the GitHub API. You can use two separate PATs if you want, or you can use one PAT for both purposes, like this:
48+
49+
```sh
50+
export GH_TOKEN=$AI_API_TOKEN
51+
```
52+
4753
We do not recommend storing secrets on disk, but you can persist non-sensitive environment variables by adding a `.env` file in the project root.
4854

4955
Example:

0 commit comments

Comments
 (0)