diff --git a/README.md b/README.md index 88cd34b..d57c33e 100644 --- a/README.md +++ b/README.md @@ -162,6 +162,9 @@ This action now supports **read-only** integration with the GitHub-hosted Model Context Protocol (MCP) server, which provides access to GitHub tools like repository management, issue tracking, and pull request operations. +> [!NOTE] +> The GitHub MCP integration requires a Personal Access Token (PAT) and cannot use the built-in `GITHUB_TOKEN`. + ```yaml steps: - name: AI Inference with GitHub Tools @@ -209,7 +212,7 @@ the action: | `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` | | `max-tokens` | The max number of tokens to generate | 200 | | `enable-github-mcp` | Enable Model Context Protocol integration with GitHub tools | `false` | -| `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 | `""` | +| `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 | `""` | ## Outputs diff --git a/action.yml b/action.yml index b5b6731..0f397a3 100644 --- a/action.yml +++ b/action.yml @@ -55,7 +55,7 @@ inputs: required: false default: 'false' github-mcp-token: - description: The token to use for GitHub MCP server (defaults to GITHUB_TOKEN if not specified) + 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. required: false default: ''