Skip to content

Commit 83bb5ca

Browse files
authored
Merge pull request #93 from FidelusAleksander/main
docs: update documentation on mcp usage
2 parents 7ba7530 + 4d2337d commit 83bb5ca

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ This action now supports **read-only** integration with the GitHub-hosted Model
162162
Context Protocol (MCP) server, which provides access to GitHub tools like
163163
repository management, issue tracking, and pull request operations.
164164

165+
> [!NOTE]
166+
> The GitHub MCP integration requires a Personal Access Token (PAT) and cannot use the built-in `GITHUB_TOKEN`.
167+
165168
```yaml
166169
steps:
167170
- name: AI Inference with GitHub Tools
@@ -209,7 +212,7 @@ the action:
209212
| `endpoint` | The endpoint to use for inference. If you're running this as part of an org, you should probably use the org-specific Models endpoint | `https://models.github.ai/inference` |
210213
| `max-tokens` | The max number of tokens to generate | 200 |
211214
| `enable-github-mcp` | Enable Model Context Protocol integration with GitHub tools | `false` |
212-
| `github-mcp-token` | Token to use for GitHub MCP server (defaults to the main token if not specified). Use a separate PAT for tighter security | `""` |
215+
| `github-mcp-token` | Token to use for GitHub MCP server (defaults to the main token if not specified). This must be a PAT for MCP to work | `""` |
213216

214217
## Outputs
215218

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ inputs:
5555
required: false
5656
default: 'false'
5757
github-mcp-token:
58-
description: The token to use for GitHub MCP server (defaults to GITHUB_TOKEN if not specified)
58+
description: The token to use for GitHub MCP server (defaults to the main token if not specified). This must be a PAT for MCP to work.
5959
required: false
6060
default: ''
6161

0 commit comments

Comments
 (0)