File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -163,15 +163,18 @@ Context Protocol (MCP) server, which provides access to GitHub tools like
163163repository management, issue tracking, and pull request operations.
164164
165165# ### Authentication
166+
166167You can authenticate the MCP server with **either** :
168+
1671691. **Personal Access Token (PAT)** – user-scoped token
1681702. **GitHub App Installation Token** (`ghs_…`) – short-lived, app-scoped token
169- > The built-in `GITHUB_TOKEN` is **not** accepted by the MCP server.
170- Using a **GitHub App installation token** is recommended in most CI environments because it is short-lived and least-privilege by design.
171+ > The built-in `GITHUB_TOKEN` is **not** accepted by the MCP server.
172+ > Using a **GitHub App installation token** is recommended in most CI environments because it is short-lived and least-privilege by design.
171173
172174# ### Enabling MCP in the action
175+
173176Set `enable-github-mcp : true` and provide a token via `github-mcp-token`.
174-
177+
175178` ` ` yaml
176179steps:
177180 - name: AI Inference with GitHub Tools
You can’t perform that action at this time.
0 commit comments