Lint fix
This commit is contained in:
Sevil
2025-11-29 21:15:11 +01:00
committed by GitHub
parent 2d03946378
commit 9e60aa0a3f
+6 -3
View File
@@ -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