diff --git a/README.md b/README.md index b2823e1..4539529 100644 --- a/README.md +++ b/README.md @@ -163,15 +163,18 @@ Context Protocol (MCP) server, which provides access to GitHub tools like repository management, issue tracking, and pull request operations. #### Authentication + You can authenticate the MCP server with **either**: + 1. **Personal Access Token (PAT)** – user-scoped token 2. **GitHub App Installation Token** (`ghs_…`) – short-lived, app-scoped token -> The built-in `GITHUB_TOKEN` is **not** accepted by the MCP server. -Using a **GitHub App installation token** is recommended in most CI environments because it is short-lived and least-privilege by design. + > The built-in `GITHUB_TOKEN` is **not** accepted by the MCP server. + > Using a **GitHub App installation token** is recommended in most CI environments because it is short-lived and least-privilege by design. #### Enabling MCP in the action + Set `enable-github-mcp: true` and provide a token via `github-mcp-token`. - + ```yaml steps: - name: AI Inference with GitHub Tools