From 091dfe3bd872e613536b261184bfa696f6b48270 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 16 Oct 2025 14:07:04 +0000 Subject: [PATCH 1/2] Initial plan From 82cbd3b1a90d6cb7633a4c60dd13afd6ba40c175 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 16 Oct 2025 14:19:11 +0000 Subject: [PATCH 2/2] Fix incorrect environment variable name in GitHub remote mode docs Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- docs/src/content/docs/reference/tools.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/src/content/docs/reference/tools.md b/docs/src/content/docs/reference/tools.md index d9d9de3ad74..5e3d36da7c2 100644 --- a/docs/src/content/docs/reference/tools.md +++ b/docs/src/content/docs/reference/tools.md @@ -87,6 +87,8 @@ Configure GitHub API operations. ```yaml tools: github: # Default read-only access + + # OR with specific configuration: github: allowed: [create_issue, update_issue] # Specific permissions mode: remote # "local" (Docker) or "remote" (hosted) @@ -122,13 +124,13 @@ tools: allowed: [list_issues, create_issue] ``` -**Setup**: Create a Personal Access Token and set the `GITHUB_MCP_TOKEN` secret: +**Setup**: Create a Personal Access Token and set the `GH_AW_GITHUB_TOKEN` secret: ```bash -gh secret set GITHUB_MCP_TOKEN -a actions --body "" +gh secret set GH_AW_GITHUB_TOKEN -a actions --body "" ``` -**Note**: Remote mode requires `GITHUB_MCP_TOKEN` (standard `GITHUB_TOKEN` is not supported). +**Note**: Remote mode requires `GH_AW_GITHUB_TOKEN` (standard `GITHUB_TOKEN` is not supported). ### GitHub Read-Only Mode