From 6e0d8949d894f36d2a1f831c06e9ce0fa517de21 Mon Sep 17 00:00:00 2001 From: FidelusAleksander Date: Fri, 15 Aug 2025 07:52:22 +0200 Subject: [PATCH 1/3] docs: update documentation on mcp usage --- README.md | 3 +++ action.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 88cd34b..0ff6fbc 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 diff --git a/action.yml b/action.yml index b5b6731..08d5179 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). Use a separate PAT for tighter security. required: false default: '' From a1d07305b705516635c7c08be4cef7824bfcf9cb Mon Sep 17 00:00:00 2001 From: FidelusAleksander Date: Fri, 15 Aug 2025 08:22:55 +0200 Subject: [PATCH 2/3] docs: update github-mcp-token description --- README.md | 2 +- action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0ff6fbc..e3b31af 100644 --- a/README.md +++ b/README.md @@ -212,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 08d5179..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 the main token if not specified). Use a separate PAT for tighter security. + 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: '' From 7fa0024f13273c895a6bfe4ab12cd2a793051cbf Mon Sep 17 00:00:00 2001 From: FidelusAleksander Date: Mon, 18 Aug 2025 14:42:29 +0200 Subject: [PATCH 3/3] docs: run prettier --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e3b31af..d57c33e 100644 --- a/README.md +++ b/README.md @@ -212,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). This must be a PAT for MCP to work | `""` | +| `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