PurePromptOpen workspace

Ready-to-use resource

Copied 0 times

GitHub

Connect an AI assistant to a GitHub account to read and act on repos, issues, and pull requests.

Preview full content

Lets an AI assistant read repository contents, issues, and pull requests, and (depending on the token's scope) create or comment on them — useful for having an assistant triage issues, draft PR descriptions, or answer questions about a codebase's history directly. ```json { "mcpServers": { "github": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-github"], "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_GITHUB_TOKEN>" } } } } ``` Generate a token with only the scopes you actually need (read-only if you just want it answering questions; add repo write scope only if you want it opening issues/PRs on your behalf) — this token is exactly as powerful as whatever scopes you grant it, so don't over-grant out of convenience. Treat the token like any other credential: don't commit the config file with the token filled in to a public repo. Check the server's current documentation for the exact package name and available scopes before use, since MCP servers are updated frequently.

Shared by Parshu · Published Aug 1, 2026

mcp-config

Discussion

Sign in to leave feedback.

No comments yet — be the first to weigh in.

You may also like

MCP ConfigGit (local repository)Give an AI assistant the ability to inspect and operate on a local git repository's history.MCP ConfigSlackConnect an AI assistant to a Slack workspace to read and post messages on your behalf.MCP ConfigPostgresConnect an AI assistant to a Postgres database for read access to schema and data.

Advertisement

PurePrompt
AboutContact usPrivacy

Before you begin

How to use this resource

You're opening GitHub. Here's the quickest way to get a useful result.

  1. 1Review the complete instructions after closing this guide.
  2. 2Use Copy or Download when that option is available.
  3. 3Follow the setup notes in the AI tool the resource is designed for.