[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4647":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":16,"starSnapshotCount":16,"syncStatus":31,"lastSyncTime":32,"discoverSource":33},4647,"github-mcp-server","github\u002Fgithub-mcp-server","github","GitHub's official MCP Server","",null,"Go",30579,4366,340,161,0,18,155,850,101,45,"MIT License",false,"main",[7,26,27],"mcp","mcp-server","2026-06-12 02:01:03","[![Go Report Card](https:\u002F\u002Fgoreportcard.com\u002Fbadge\u002Fgithub.com\u002Fgithub\u002Fgithub-mcp-server)](https:\u002F\u002Fgoreportcard.com\u002Freport\u002Fgithub.com\u002Fgithub\u002Fgithub-mcp-server)\n\n# GitHub MCP Server\n\nThe GitHub MCP Server connects AI tools directly to GitHub's platform. This gives AI agents, assistants, and chatbots the ability to read repositories and code files, manage issues and PRs, analyze code, and automate workflows. All through natural language interactions.\n\n### Use Cases\n\n- Repository Management: Browse and query code, search files, analyze commits, and understand project structure across any repository you have access to.\n- Issue & PR Automation: Create, update, and manage issues and pull requests. Let AI help triage bugs, review code changes, and maintain project boards.\n- CI\u002FCD & Workflow Intelligence: Monitor GitHub Actions workflow runs, analyze build failures, manage releases, and get insights into your development pipeline.\n- Code Analysis: Examine security findings, review Dependabot alerts, understand code patterns, and get comprehensive insights into your codebase.\n- Team Collaboration: Access discussions, manage notifications, analyze team activity, and streamline processes for your team.\n\nBuilt for developers who want to connect their AI tools to GitHub context and capabilities, from simple natural language queries to complex multi-step agent workflows.\n\n---\n\n## Remote GitHub MCP Server\n\n[![Install in VS Code](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FVS_Code-Install_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https:\u002F\u002Finsiders.vscode.dev\u002Fredirect\u002Fmcp\u002Finstall?name=github&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2F%22%7D) [![Install in VS Code Insiders](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FVS_Code_Insiders-Install_Server-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https:\u002F\u002Finsiders.vscode.dev\u002Fredirect\u002Fmcp\u002Finstall?name=github&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2F%22%7D&quality=insiders)\n\nThe remote GitHub MCP Server is hosted by GitHub and provides the easiest method for getting up and running. If your MCP host does not support remote MCP servers, don't worry! You can use the [local version of the GitHub MCP Server](https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgithub-mcp-server?tab=readme-ov-file#local-github-mcp-server) instead.\n\n### Prerequisites\n\n1. A compatible MCP host with remote server support (VS Code 1.101+, Claude Desktop, Cursor, Windsurf, etc.)\n2. Any applicable [policies enabled](https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgithub-mcp-server\u002Fblob\u002Fmain\u002Fdocs\u002Fpolicies-and-governance.md)\n\n### Install in VS Code\n\nFor quick installation, use one of the one-click install buttons above. Once you complete that flow, toggle Agent mode (located by the Copilot Chat text input) and the server will start. Make sure you're using [VS Code 1.101](https:\u002F\u002Fcode.visualstudio.com\u002Fupdates\u002Fv1_101) or [later](https:\u002F\u002Fcode.visualstudio.com\u002Fupdates) for remote MCP and OAuth support.\n\nAlternatively, to manually configure VS Code, choose the appropriate JSON block from the examples below and add it to your host configuration:\n\n\u003Ctable>\n\u003Ctr>\u003Cth>Using OAuth\u003C\u002Fth>\u003Cth>Using a GitHub PAT\u003C\u002Fth>\u003C\u002Ftr>\n\u003Ctr>\u003Cth align=left colspan=2>VS Code (version 1.101 or greater)\u003C\u002Fth>\u003C\u002Ftr>\n\u003Ctr valign=top>\n\u003Ctd>\n\n```json\n{\n  \"servers\": {\n    \"github\": {\n      \"type\": \"http\",\n      \"url\": \"https:\u002F\u002Fapi.githubcopilot.com\u002Fmcp\u002F\"\n    }\n  }\n}\n```\n\n\u003C\u002Ftd>\n\u003Ctd>\n\n```json\n{\n  \"servers\": {\n    \"github\": {\n      \"type\": \"http\",\n      \"url\": \"https:\u002F\u002Fapi.githubcopilot.com\u002Fmcp\u002F\",\n      \"headers\": {\n        \"Authorization\": \"Bearer ${input:github_mcp_pat}\"\n      }\n    }\n  },\n  \"inputs\": [\n    {\n      \"type\": \"promptString\",\n      \"id\": \"github_mcp_pat\",\n      \"description\": \"GitHub Personal Access Token\",\n      \"password\": true\n    }\n  ]\n}\n```\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n### Install in other MCP hosts\n\n- **[Copilot CLI](\u002Fdocs\u002Finstallation-guides\u002Finstall-copilot-cli.md)** - Installation guide for GitHub Copilot CLI\n- **[GitHub Copilot in other IDEs](\u002Fdocs\u002Finstallation-guides\u002Finstall-other-copilot-ides.md)** - Installation for JetBrains, Visual Studio, Eclipse, and Xcode with GitHub Copilot\n- **[Claude Applications](\u002Fdocs\u002Finstallation-guides\u002Finstall-claude.md)** - Installation guide for Claude Desktop and Claude Code CLI\n- **[Codex](\u002Fdocs\u002Finstallation-guides\u002Finstall-codex.md)** - Installation guide for OpenAI Codex\n- **[Cursor](\u002Fdocs\u002Finstallation-guides\u002Finstall-cursor.md)** - Installation guide for Cursor IDE\n- **[Windsurf](\u002Fdocs\u002Finstallation-guides\u002Finstall-windsurf.md)** - Installation guide for Windsurf IDE\n- **[Rovo Dev CLI](\u002Fdocs\u002Finstallation-guides\u002Finstall-rovo-dev-cli.md)** - Installation guide for Rovo Dev CLI\n\n> **Note:** Each MCP host application needs to configure a GitHub App or OAuth App to support remote access via OAuth. Any host application that supports remote MCP servers should support the remote GitHub server with PAT authentication. Configuration details and support levels vary by host. Make sure to refer to the host application's documentation for more info.\n\n### Configuration\n\n#### Toolset configuration\n\nSee [Remote Server Documentation](docs\u002Fremote-server.md) for full details on remote server configuration, toolsets, headers, and advanced usage. This file provides comprehensive instructions and examples for connecting, customizing, and installing the remote GitHub MCP Server in VS Code and other MCP hosts.\n\nWhen no toolsets are specified, [default toolsets](#default-toolset) are used.\n\n#### Insiders Mode\n\n> **Try new features early!** The remote server offers an insiders version with early access to new features and experimental tools.\n\n\u003Ctable>\n\u003Ctr>\u003Cth>Using URL Path\u003C\u002Fth>\u003Cth>Using Header\u003C\u002Fth>\u003C\u002Ftr>\n\u003Ctr valign=top>\n\u003Ctd>\n\n```json\n{\n  \"servers\": {\n    \"github\": {\n      \"type\": \"http\",\n      \"url\": \"https:\u002F\u002Fapi.githubcopilot.com\u002Fmcp\u002Finsiders\"\n    }\n  }\n}\n```\n\n\u003C\u002Ftd>\n\u003Ctd>\n\n```json\n{\n  \"servers\": {\n    \"github\": {\n      \"type\": \"http\",\n      \"url\": \"https:\u002F\u002Fapi.githubcopilot.com\u002Fmcp\u002F\",\n      \"headers\": {\n        \"X-MCP-Insiders\": \"true\"\n      }\n    }\n  }\n}\n```\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\nSee [Remote Server Documentation](docs\u002Fremote-server.md#insiders-mode) for more details and examples, and [Insiders Features](docs\u002Finsiders-features.md) for a full list of what's available.\n\n#### GitHub Enterprise\n\n##### GitHub Enterprise Cloud with data residency (ghe.com)\n\nGitHub Enterprise Cloud can also make use of the remote server.\n\nExample for `https:\u002F\u002Foctocorp.ghe.com` with GitHub PAT token:\n\n```\n{\n    ...\n    \"github-octocorp\": {\n      \"type\": \"http\",\n      \"url\": \"https:\u002F\u002Fcopilot-api.octocorp.ghe.com\u002Fmcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer ${input:github_mcp_pat}\"\n      }\n    },\n    ...\n}\n```\n\n> **Note:** When using OAuth with GitHub Enterprise with VS Code and GitHub Copilot, you also need to configure your VS Code settings to point to your GitHub Enterprise instance - see [Authenticate from VS Code](https:\u002F\u002Fdocs.github.com\u002Fen\u002Fenterprise-cloud@latest\u002Fcopilot\u002Fhow-tos\u002Fconfigure-personal-settings\u002Fauthenticate-to-ghecom)\n\n##### GitHub Enterprise Server\n\nGitHub Enterprise Server does not support remote server hosting. Please refer to [GitHub Enterprise Server and Enterprise Cloud with data residency (ghe.com)](#github-enterprise-server-and-enterprise-cloud-with-data-residency-ghecom) from the local server configuration.\n\n---\n\n## Local GitHub MCP Server\n\n[![Install with Docker in VS Code](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FVS_Code-Install_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https:\u002F\u002Finsiders.vscode.dev\u002Fredirect\u002Fmcp\u002Finstall?name=github&inputs=%5B%7B%22id%22%3A%22github_token%22%2C%22type%22%3A%22promptString%22%2C%22description%22%3A%22GitHub%20Personal%20Access%20Token%22%2C%22password%22%3Atrue%7D%5D&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22--rm%22%2C%22-e%22%2C%22GITHUB_PERSONAL_ACCESS_TOKEN%22%2C%22ghcr.io%2Fgithub%2Fgithub-mcp-server%22%5D%2C%22env%22%3A%7B%22GITHUB_PERSONAL_ACCESS_TOKEN%22%3A%22%24%7Binput%3Agithub_token%7D%22%7D%7D) [![Install with Docker in VS Code Insiders](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FVS_Code_Insiders-Install_Server-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https:\u002F\u002Finsiders.vscode.dev\u002Fredirect\u002Fmcp\u002Finstall?name=github&inputs=%5B%7B%22id%22%3A%22github_token%22%2C%22type%22%3A%22promptString%22%2C%22description%22%3A%22GitHub%20Personal%20Access%20Token%22%2C%22password%22%3Atrue%7D%5D&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22--rm%22%2C%22-e%22%2C%22GITHUB_PERSONAL_ACCESS_TOKEN%22%2C%22ghcr.io%2Fgithub%2Fgithub-mcp-server%22%5D%2C%22env%22%3A%7B%22GITHUB_PERSONAL_ACCESS_TOKEN%22%3A%22%24%7Binput%3Agithub_token%7D%22%7D%7D&quality=insiders)\n\n### Prerequisites\n\n1. To run the server in a container, you will need to have [Docker](https:\u002F\u002Fwww.docker.com\u002F) installed.\n2. Once Docker is installed, you will also need to ensure Docker is running. The Docker image is available at `ghcr.io\u002Fgithub\u002Fgithub-mcp-server`. The image is public; if you get errors on pull, you may have an expired token and need to `docker logout ghcr.io`.\n3. Lastly you will need to [Create a GitHub Personal Access Token](https:\u002F\u002Fgithub.com\u002Fsettings\u002Fpersonal-access-tokens\u002Fnew).\nThe MCP server can use many of the GitHub APIs, so enable the permissions that you feel comfortable granting your AI tools (to learn more about access tokens, please check out the [documentation](https:\u002F\u002Fdocs.github.com\u002Fen\u002Fauthentication\u002Fkeeping-your-account-and-data-secure\u002Fmanaging-your-personal-access-tokens)).\n\n\u003Cdetails>\u003Csummary>\u003Cb>Handling PATs Securely\u003C\u002Fb>\u003C\u002Fsummary>\n\n### Environment Variables (Recommended)\n\nTo keep your GitHub PAT secure and reusable across different MCP hosts:\n\n1. **Store your PAT in environment variables**\n\n   ```bash\n   export GITHUB_PAT=your_token_here\n   ```\n\n   Or create a `.env` file:\n\n   ```env\n   GITHUB_PAT=your_token_here\n   ```\n\n2. **Protect your `.env` file**\n\n   ```bash\n   # Add to .gitignore to prevent accidental commits\n   echo \".env\" >> .gitignore\n   ```\n\n3. **Reference the token in configurations**\n\n   ```bash\n   # CLI usage\n   claude mcp update github -e GITHUB_PERSONAL_ACCESS_TOKEN=$GITHUB_PAT\n\n   # In config files (where supported)\n   \"env\": {\n     \"GITHUB_PERSONAL_ACCESS_TOKEN\": \"$GITHUB_PAT\"\n   }\n   ```\n\n> **Note**: Environment variable support varies by host app and IDE. Some applications (like Windsurf) require hardcoded tokens in config files.\n\n### Token Security Best Practices\n\n- **Minimum scopes**: Only grant necessary permissions\n  - `repo` - Repository operations\n  - `read:packages` - Docker image access\n  - `read:org` - Organization team access\n- **Separate tokens**: Use different PATs for different projects\u002Fenvironments\n- **Regular rotation**: Update tokens periodically\n- **Never commit**: Keep tokens out of version control\n- **File permissions**: Restrict access to config files containing tokens\n\n  ```bash\n  chmod 600 ~\u002F.your-app\u002Fconfig.json\n  ```\n\n\u003C\u002Fdetails>\n\n### GitHub Enterprise Server and Enterprise Cloud with data residency (ghe.com)\n\nThe flag `--gh-host` and the environment variable `GITHUB_HOST` can be used to set\nthe hostname for GitHub Enterprise Server or GitHub Enterprise Cloud with data residency.\n\n- For GitHub Enterprise Server, prefix the hostname with the `https:\u002F\u002F` URI scheme, as it otherwise defaults to `http:\u002F\u002F`, which GitHub Enterprise Server does not support.\n- For GitHub Enterprise Cloud with data residency, use `https:\u002F\u002FYOURSUBDOMAIN.ghe.com` as the hostname.\n\n``` json\n\"github\": {\n    \"command\": \"docker\",\n    \"args\": [\n    \"run\",\n    \"-i\",\n    \"--rm\",\n    \"-e\",\n    \"GITHUB_PERSONAL_ACCESS_TOKEN\",\n    \"-e\",\n    \"GITHUB_HOST\",\n    \"ghcr.io\u002Fgithub\u002Fgithub-mcp-server\"\n    ],\n    \"env\": {\n        \"GITHUB_PERSONAL_ACCESS_TOKEN\": \"${input:github_token}\",\n        \"GITHUB_HOST\": \"https:\u002F\u002F\u003Cyour GHES or ghe.com domain name>\"\n    }\n}\n```\n\n## Installation\n\n### Install in GitHub Copilot on VS Code\n\nFor quick installation, use one of the one-click install buttons above. Once you complete that flow, toggle Agent mode (located by the Copilot Chat text input) and the server will start.\n\nMore about using MCP server tools in VS Code's [agent mode documentation](https:\u002F\u002Fcode.visualstudio.com\u002Fdocs\u002Fcopilot\u002Fchat\u002Fmcp-servers).\n\nInstall in GitHub Copilot on other IDEs (JetBrains, Visual Studio, Eclipse, etc.)\n\nAdd the following JSON block to your IDE's MCP settings.\n\n```json\n{\n  \"mcp\": {\n    \"inputs\": [\n      {\n        \"type\": \"promptString\",\n        \"id\": \"github_token\",\n        \"description\": \"GitHub Personal Access Token\",\n        \"password\": true\n      }\n    ],\n    \"servers\": {\n      \"github\": {\n        \"command\": \"docker\",\n        \"args\": [\n          \"run\",\n          \"-i\",\n          \"--rm\",\n          \"-e\",\n          \"GITHUB_PERSONAL_ACCESS_TOKEN\",\n          \"ghcr.io\u002Fgithub\u002Fgithub-mcp-server\"\n        ],\n        \"env\": {\n          \"GITHUB_PERSONAL_ACCESS_TOKEN\": \"${input:github_token}\"\n        }\n      }\n    }\n  }\n}\n```\n\nOptionally, you can add a similar example (i.e. without the mcp key) to a file called `.vscode\u002Fmcp.json` in your workspace. This will allow you to share the configuration with other host applications that accept the same format.\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Example JSON block without the MCP key included\u003C\u002Fb>\u003C\u002Fsummary>\n\u003Cbr>\n\n```json\n{\n  \"inputs\": [\n    {\n      \"type\": \"promptString\",\n      \"id\": \"github_token\",\n      \"description\": \"GitHub Personal Access Token\",\n      \"password\": true\n    }\n  ],\n  \"servers\": {\n    \"github\": {\n      \"command\": \"docker\",\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"GITHUB_PERSONAL_ACCESS_TOKEN\",\n        \"ghcr.io\u002Fgithub\u002Fgithub-mcp-server\"\n      ],\n      \"env\": {\n        \"GITHUB_PERSONAL_ACCESS_TOKEN\": \"${input:github_token}\"\n      }\n    }\n  }\n}\n```\n\n\u003C\u002Fdetails>\n\n### Install in Other MCP Hosts\n\nFor other MCP host applications, please refer to our installation guides:\n\n- **[Copilot CLI](docs\u002Finstallation-guides\u002Finstall-copilot-cli.md)** - Installation guide for GitHub Copilot CLI\n- **[GitHub Copilot in other IDEs](\u002Fdocs\u002Finstallation-guides\u002Finstall-other-copilot-ides.md)** - Installation for JetBrains, Visual Studio, Eclipse, and Xcode with GitHub Copilot\n- **[Claude Code & Claude Desktop](docs\u002Finstallation-guides\u002Finstall-claude.md)** - Installation guide for Claude Code and Claude Desktop\n- **[Cursor](docs\u002Finstallation-guides\u002Finstall-cursor.md)** - Installation guide for Cursor IDE\n- **[Google Gemini CLI](docs\u002Finstallation-guides\u002Finstall-gemini-cli.md)** - Installation guide for Google Gemini CLI\n- **[Windsurf](docs\u002Finstallation-guides\u002Finstall-windsurf.md)** - Installation guide for Windsurf IDE\n\nFor a complete overview of all installation options, see our **[Installation Guides Index](docs\u002Finstallation-guides)**.\n\n> **Note:** Any host application that supports local MCP servers should be able to access the local GitHub MCP server. However, the specific configuration process, syntax and stability of the integration will vary by host application. While many may follow a similar format to the examples above, this is not guaranteed. Please refer to your host application's documentation for the correct MCP configuration syntax and setup process.\n\n### Build from source\n\nIf you don't have Docker, you can use `go build` to build the binary in the\n`cmd\u002Fgithub-mcp-server` directory, and use the `github-mcp-server stdio` command with the `GITHUB_PERSONAL_ACCESS_TOKEN` environment variable set to your token. To specify the output location of the build, use the `-o` flag. You should configure your server to use the built executable as its `command`. For example:\n\n```JSON\n{\n  \"mcp\": {\n    \"servers\": {\n      \"github\": {\n        \"command\": \"\u002Fpath\u002Fto\u002Fgithub-mcp-server\",\n        \"args\": [\"stdio\"],\n        \"env\": {\n          \"GITHUB_PERSONAL_ACCESS_TOKEN\": \"\u003CYOUR_TOKEN>\"\n        }\n      }\n    }\n  }\n}\n```\n\n### CLI utilities\n\nThe `github-mcp-server` binary includes a few CLI subcommands that are helpful for debugging and exploring the server.\n\n- `github-mcp-server tool-search \"\u003Cquery>\"` searches tools by name, description, and input parameter names. Use `--max-results` to return more matches.\nExample (color output requires a TTY; use `docker run -t` (or `-it`) when running in Docker):\n```bash\ndocker run -it --rm ghcr.io\u002Fgithub\u002Fgithub-mcp-server tool-search \"issue\" --max-results 5\ngithub-mcp-server tool-search \"issue\" --max-results 5\n```\n\n## Tool Configuration\n\nThe GitHub MCP Server supports enabling or disabling specific groups of functionalities via the `--toolsets` flag. This allows you to control which GitHub API capabilities are available to your AI tools. Enabling only the toolsets that you need can help the LLM with tool choice and reduce the context size.\n\n_Toolsets are not limited to Tools. Relevant MCP Resources and Prompts are also included where applicable._\n\nWhen no toolsets are specified, [default toolsets](#default-toolset) are used.\n\n> **Looking for examples?** See the [Server Configuration Guide](.\u002Fdocs\u002Fserver-configuration.md) for common recipes like minimal setups, read-only mode, and combining tools with toolsets.\n\n#### Specifying Toolsets\n\nTo specify toolsets you want available to the LLM, you can pass an allow-list in two ways:\n\n1. **Using Command Line Argument**:\n\n   ```bash\n   github-mcp-server --toolsets repos,issues,pull_requests,actions,code_security\n   ```\n\n2. **Using Environment Variable**:\n\n   ```bash\n   GITHUB_TOOLSETS=\"repos,issues,pull_requests,actions,code_security\" .\u002Fgithub-mcp-server\n   ```\n\nThe environment variable `GITHUB_TOOLSETS` takes precedence over the command line argument if both are provided.\n\n#### Specifying Individual Tools\n\nYou can also configure specific tools using the `--tools` flag. Tools can be used independently or combined with toolsets and dynamic toolsets discovery for fine-grained control.\n\n1. **Using Command Line Argument**:\n\n   ```bash\n   github-mcp-server --tools get_file_contents,issue_read,create_pull_request\n   ```\n\n2. **Using Environment Variable**:\n\n   ```bash\n   GITHUB_TOOLS=\"get_file_contents,issue_read,create_pull_request\" .\u002Fgithub-mcp-server\n   ```\n\n3. **Combining with Toolsets** (additive):\n\n   ```bash\n   github-mcp-server --toolsets repos,issues --tools get_gist\n   ```\n\n   This registers all tools from `repos` and `issues` toolsets, plus `get_gist`.\n\n4. **Combining with Dynamic Toolsets** (additive):\n\n   ```bash\n   github-mcp-server --tools get_file_contents --dynamic-toolsets\n   ```\n\n   This registers `get_file_contents` plus the dynamic toolset tools (`enable_toolset`, `list_available_toolsets`, `get_toolset_tools`).\n\n**Important Notes:**\n\n- Tools, toolsets, and dynamic toolsets can all be used together\n- Read-only mode takes priority: write tools are skipped if `--read-only` is set, even if explicitly requested via `--tools`\n- Tool names must match exactly (e.g., `get_file_contents`, not `getFileContents`). Invalid tool names will cause the server to fail at startup with an error message\n- When tools are renamed, old names are preserved as aliases for backward compatibility. See [Tool Renaming](docs\u002Ftool-renaming.md) for details.\n\n### Using Toolsets With Docker\n\nWhen using Docker, you can pass the toolsets as environment variables:\n\n```bash\ndocker run -i --rm \\\n  -e GITHUB_PERSONAL_ACCESS_TOKEN=\u003Cyour-token> \\\n  -e GITHUB_TOOLSETS=\"repos,issues,pull_requests,actions,code_security\" \\\n  ghcr.io\u002Fgithub\u002Fgithub-mcp-server\n```\n\n### Using Tools With Docker\n\nWhen using Docker, you can pass specific tools as environment variables. You can also combine tools with toolsets:\n\n```bash\n# Tools only\ndocker run -i --rm \\\n  -e GITHUB_PERSONAL_ACCESS_TOKEN=\u003Cyour-token> \\\n  -e GITHUB_TOOLS=\"get_file_contents,issue_read,create_pull_request\" \\\n  ghcr.io\u002Fgithub\u002Fgithub-mcp-server\n\n# Tools combined with toolsets (additive)\ndocker run -i --rm \\\n  -e GITHUB_PERSONAL_ACCESS_TOKEN=\u003Cyour-token> \\\n  -e GITHUB_TOOLSETS=\"repos,issues\" \\\n  -e GITHUB_TOOLS=\"get_gist\" \\\n  ghcr.io\u002Fgithub\u002Fgithub-mcp-server\n```\n\n### Special toolsets\n\n#### \"all\" toolset\n\nThe special toolset `all` can be provided to enable all available toolsets regardless of any other configuration:\n\n```bash\n.\u002Fgithub-mcp-server --toolsets all\n```\n\nOr using the environment variable:\n\n```bash\nGITHUB_TOOLSETS=\"all\" .\u002Fgithub-mcp-server\n```\n\n#### \"default\" toolset\n\nThe default toolset `default` is the configuration that gets passed to the server if no toolsets are specified.\n\nThe default configuration is:\n\n- context\n- repos\n- issues\n- pull_requests\n- users\n\nTo keep the default configuration and add additional toolsets:\n\n```bash\nGITHUB_TOOLSETS=\"default,stargazers\" .\u002Fgithub-mcp-server\n```\n\n### Insiders Mode\n\nThe local GitHub MCP Server offers an insiders version with early access to new features and experimental tools.\n\n1. **Using Command Line Argument**:\n\n   ```bash\n   .\u002Fgithub-mcp-server --insiders\n   ```\n\n2. **Using Environment Variable**:\n\n   ```bash\n   GITHUB_INSIDERS=true .\u002Fgithub-mcp-server\n   ```\n\nWhen using Docker:\n\n```bash\ndocker run -i --rm \\\n  -e GITHUB_PERSONAL_ACCESS_TOKEN=\u003Cyour-token> \\\n  -e GITHUB_INSIDERS=true \\\n  ghcr.io\u002Fgithub\u002Fgithub-mcp-server\n```\n\n### Available Toolsets\n\nThe following sets of tools are available:\n\n\u003C!-- START AUTOMATED TOOLSETS -->\n|     | Toolset                 | Description                                                   |\n| --- | ----------------------- | ------------------------------------------------------------- |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fperson-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fperson-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fperson-light.png\" width=\"20\" height=\"20\" alt=\"person\">\u003C\u002Fpicture> | `context`               | **Strongly recommended**: Tools that provide context about the current user and GitHub context you are operating in |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fworkflow-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fworkflow-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fworkflow-light.png\" width=\"20\" height=\"20\" alt=\"workflow\">\u003C\u002Fpicture> | `actions` | GitHub Actions workflows and CI\u002FCD operations |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fcodescan-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fcodescan-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fcodescan-light.png\" width=\"20\" height=\"20\" alt=\"codescan\">\u003C\u002Fpicture> | `code_security` | Code security related tools, such as GitHub Code Scanning |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fcopilot-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fcopilot-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fcopilot-light.png\" width=\"20\" height=\"20\" alt=\"copilot\">\u003C\u002Fpicture> | `copilot` | Copilot related tools |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fdependabot-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fdependabot-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fdependabot-light.png\" width=\"20\" height=\"20\" alt=\"dependabot\">\u003C\u002Fpicture> | `dependabot` | Dependabot tools |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fcomment-discussion-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fcomment-discussion-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fcomment-discussion-light.png\" width=\"20\" height=\"20\" alt=\"comment-discussion\">\u003C\u002Fpicture> | `discussions` | GitHub Discussions related tools |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Flogo-gist-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Flogo-gist-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Flogo-gist-light.png\" width=\"20\" height=\"20\" alt=\"logo-gist\">\u003C\u002Fpicture> | `gists` | GitHub Gist related tools |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fgit-branch-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fgit-branch-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fgit-branch-light.png\" width=\"20\" height=\"20\" alt=\"git-branch\">\u003C\u002Fpicture> | `git` | GitHub Git API related tools for low-level Git operations |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fissue-opened-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fissue-opened-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fissue-opened-light.png\" width=\"20\" height=\"20\" alt=\"issue-opened\">\u003C\u002Fpicture> | `issues` | GitHub Issues related tools |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Ftag-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Ftag-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Ftag-light.png\" width=\"20\" height=\"20\" alt=\"tag\">\u003C\u002Fpicture> | `labels` | GitHub Labels related tools |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fbell-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fbell-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fbell-light.png\" width=\"20\" height=\"20\" alt=\"bell\">\u003C\u002Fpicture> | `notifications` | GitHub Notifications related tools |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Forganization-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Forganization-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Forganization-light.png\" width=\"20\" height=\"20\" alt=\"organization\">\u003C\u002Fpicture> | `orgs` | GitHub Organization related tools |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fproject-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fproject-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fproject-light.png\" width=\"20\" height=\"20\" alt=\"project\">\u003C\u002Fpicture> | `projects` | GitHub Projects related tools |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fgit-pull-request-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fgit-pull-request-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fgit-pull-request-light.png\" width=\"20\" height=\"20\" alt=\"git-pull-request\">\u003C\u002Fpicture> | `pull_requests` | GitHub Pull Request related tools |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Frepo-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Frepo-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Frepo-light.png\" width=\"20\" height=\"20\" alt=\"repo\">\u003C\u002Fpicture> | `repos` | GitHub Repository related tools |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fshield-lock-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fshield-lock-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fshield-lock-light.png\" width=\"20\" height=\"20\" alt=\"shield-lock\">\u003C\u002Fpicture> | `secret_protection` | Secret protection related tools, such as GitHub Secret Scanning |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fshield-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fshield-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fshield-light.png\" width=\"20\" height=\"20\" alt=\"shield\">\u003C\u002Fpicture> | `security_advisories` | Security advisories related tools |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fstar-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fstar-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fstar-light.png\" width=\"20\" height=\"20\" alt=\"star\">\u003C\u002Fpicture> | `stargazers` | GitHub Stargazers related tools |\n| \u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fpeople-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fpeople-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fpeople-light.png\" width=\"20\" height=\"20\" alt=\"people\">\u003C\u002Fpicture> | `users` | GitHub User related tools |\n\u003C!-- END AUTOMATED TOOLSETS -->\n\n### Additional Toolsets in Remote GitHub MCP Server\n\n| Toolset                 | Description                                                   |\n| ----------------------- | ------------------------------------------------------------- |\n| `copilot` | Copilot related tools (e.g. Copilot Coding Agent) |\n| `copilot_spaces` | Copilot Spaces related tools |\n| `github_support_docs_search` | Search docs to answer GitHub product and support questions |\n\n## Tools\n\n\u003C!-- START AUTOMATED TOOLS -->\n\u003Cdetails>\n\n\u003Csummary>\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fworkflow-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fworkflow-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fworkflow-light.png\" width=\"20\" height=\"20\" alt=\"workflow\">\u003C\u002Fpicture> Actions\u003C\u002Fsummary>\n\n- **actions_get** - Get details of GitHub Actions resources (workflows, workflow runs, jobs, and artifacts)\n  - **Required OAuth Scopes**: `repo`\n  - `method`: The method to execute (string, required)\n  - `owner`: Repository owner (string, required)\n  - `repo`: Repository name (string, required)\n  - `resource_id`: The unique identifier of the resource. This will vary based on the \"method\" provided, so ensure you provide the correct ID:\n    - Provide a workflow ID or workflow file name (e.g. ci.yaml) for 'get_workflow' method.\n    - Provide a workflow run ID for 'get_workflow_run', 'get_workflow_run_usage', and 'get_workflow_run_logs_url' methods.\n    - Provide an artifact ID for 'download_workflow_run_artifact' method.\n    - Provide a job ID for 'get_workflow_job' method.\n     (string, required)\n\n- **actions_list** - List GitHub Actions workflows in a repository\n  - **Required OAuth Scopes**: `repo`\n  - `method`: The action to perform (string, required)\n  - `owner`: Repository owner (string, required)\n  - `page`: Page number for pagination (default: 1) (number, optional)\n  - `per_page`: Results per page for pagination (default: 30, max: 100) (number, optional)\n  - `repo`: Repository name (string, required)\n  - `resource_id`: The unique identifier of the resource. This will vary based on the \"method\" provided, so ensure you provide the correct ID:\n    - Do not provide any resource ID for 'list_workflows' method.\n    - Provide a workflow ID or workflow file name (e.g. ci.yaml) for 'list_workflow_runs' method, or omit to list all workflow runs in the repository.\n    - Provide a workflow run ID for 'list_workflow_jobs' and 'list_workflow_run_artifacts' methods.\n     (string, optional)\n  - `workflow_jobs_filter`: Filters for workflow jobs. **ONLY** used when method is 'list_workflow_jobs' (object, optional)\n  - `workflow_runs_filter`: Filters for workflow runs. **ONLY** used when method is 'list_workflow_runs' (object, optional)\n\n- **actions_run_trigger** - Trigger GitHub Actions workflow actions\n  - **Required OAuth Scopes**: `repo`\n  - `inputs`: Inputs the workflow accepts. Only used for 'run_workflow' method. (object, optional)\n  - `method`: The method to execute (string, required)\n  - `owner`: Repository owner (string, required)\n  - `ref`: The git reference for the workflow. The reference can be a branch or tag name. Required for 'run_workflow' method. (string, optional)\n  - `repo`: Repository name (string, required)\n  - `run_id`: The ID of the workflow run. Required for all methods except 'run_workflow'. (number, optional)\n  - `workflow_id`: The workflow ID (numeric) or workflow file name (e.g., main.yml, ci.yaml). Required for 'run_workflow' method. (string, optional)\n\n- **get_job_logs** - Get GitHub Actions workflow job logs\n  - **Required OAuth Scopes**: `repo`\n  - `failed_only`: When true, gets logs for all failed jobs in the workflow run specified by run_id. Requires run_id to be provided. (boolean, optional)\n  - `job_id`: The unique identifier of the workflow job. Required when getting logs for a single job. (number, optional)\n  - `owner`: Repository owner (string, required)\n  - `repo`: Repository name (string, required)\n  - `return_content`: Returns actual log content instead of URLs (boolean, optional)\n  - `run_id`: The unique identifier of the workflow run. Required when failed_only is true to get logs for all failed jobs in the run. (number, optional)\n  - `tail_lines`: Number of lines to return from the end of the log (number, optional)\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\n\u003Csummary>\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fcodescan-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fcodescan-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fcodescan-light.png\" width=\"20\" height=\"20\" alt=\"codescan\">\u003C\u002Fpicture> Code Security\u003C\u002Fsummary>\n\n- **get_code_scanning_alert** - Get code scanning alert\n  - **Required OAuth Scopes**: `security_events`\n  - **Accepted OAuth Scopes**: `repo`, `security_events`\n  - `alertNumber`: The number of the alert. (number, required)\n  - `owner`: The owner of the repository. (string, required)\n  - `repo`: The name of the repository. (string, required)\n\n- **list_code_scanning_alerts** - List code scanning alerts\n  - **Required OAuth Scopes**: `security_events`\n  - **Accepted OAuth Scopes**: `repo`, `security_events`\n  - `owner`: The owner of the repository. (string, required)\n  - `ref`: The Git reference for the results you want to list. (string, optional)\n  - `repo`: The name of the repository. (string, required)\n  - `severity`: Filter code scanning alerts by severity (string, optional)\n  - `state`: Filter code scanning alerts by state. Defaults to open (string, optional)\n  - `tool_name`: The name of the tool used for code scanning. (string, optional)\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\n\u003Csummary>\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fperson-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fperson-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fperson-light.png\" width=\"20\" height=\"20\" alt=\"person\">\u003C\u002Fpicture> Context\u003C\u002Fsummary>\n\n- **get_me** - Get my user profile\n  - No parameters required\n\n- **get_team_members** - Get team members\n  - **Required OAuth Scopes**: `read:org`\n  - **Accepted OAuth Scopes**: `admin:org`, `read:org`, `write:org`\n  - `org`: Organization login (owner) that contains the team. (string, required)\n  - `team_slug`: Team slug (string, required)\n\n- **get_teams** - Get teams\n  - **Required OAuth Scopes**: `read:org`\n  - **Accepted OAuth Scopes**: `admin:org`, `read:org`, `write:org`\n  - `user`: Username to get teams for. If not provided, uses the authenticated user. (string, optional)\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\n\u003Csummary>\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fcopilot-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fcopilot-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fcopilot-light.png\" width=\"20\" height=\"20\" alt=\"copilot\">\u003C\u002Fpicture> Copilot\u003C\u002Fsummary>\n\n- **assign_copilot_to_issue** - Assign Copilot to issue\n  - **Required OAuth Scopes**: `repo`\n  - `base_ref`: Git reference (e.g., branch) that the agent will start its work from. If not specified, defaults to the repository's default branch (string, optional)\n  - `custom_instructions`: Optional custom instructions to guide the agent beyond the issue body. Use this to provide additional context, constraints, or guidance that is not captured in the issue description (string, optional)\n  - `issue_number`: Issue number (number, required)\n  - `owner`: Repository owner (string, required)\n  - `repo`: Repository name (string, required)\n\n- **request_copilot_review** - Request Copilot review\n  - **Required OAuth Scopes**: `repo`\n  - `owner`: Repository owner (string, required)\n  - `pullNumber`: Pull request number (number, required)\n  - `repo`: Repository name (string, required)\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\n\u003Csummary>\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fdependabot-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fdependabot-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fdependabot-light.png\" width=\"20\" height=\"20\" alt=\"dependabot\">\u003C\u002Fpicture> Dependabot\u003C\u002Fsummary>\n\n- **get_dependabot_alert** - Get dependabot alert\n  - **Required OAuth Scopes**: `security_events`\n  - **Accepted OAuth Scopes**: `repo`, `security_events`\n  - `alertNumber`: The number of the alert. (number, required)\n  - `owner`: The owner of the repository. (string, required)\n  - `repo`: The name of the repository. (string, required)\n\n- **list_dependabot_alerts** - List dependabot alerts\n  - **Required OAuth Scopes**: `security_events`\n  - **Accepted OAuth Scopes**: `repo`, `security_events`\n  - `owner`: The owner of the repository. (string, required)\n  - `repo`: The name of the repository. (string, required)\n  - `severity`: Filter dependabot alerts by severity (string, optional)\n  - `state`: Filter dependabot alerts by state. Defaults to open (string, optional)\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\n\u003Csummary>\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fcomment-discussion-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fcomment-discussion-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fcomment-discussion-light.png\" width=\"20\" height=\"20\" alt=\"comment-discussion\">\u003C\u002Fpicture> Discussions\u003C\u002Fsummary>\n\n- **get_discussion** - Get discussion\n  - **Required OAuth Scopes**: `repo`\n  - `discussionNumber`: Discussion Number (number, required)\n  - `owner`: Repository owner (string, required)\n  - `repo`: Repository name (string, required)\n\n- **get_discussion_comments** - Get discussion comments\n  - **Required OAuth Scopes**: `repo`\n  - `after`: Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs. (string, optional)\n  - `discussionNumber`: Discussion Number (number, required)\n  - `owner`: Repository owner (string, required)\n  - `perPage`: Results per page for pagination (min 1, max 100) (number, optional)\n  - `repo`: Repository name (string, required)\n\n- **list_discussion_categories** - List discussion categories\n  - **Required OAuth Scopes**: `repo`\n  - `owner`: Repository owner (string, required)\n  - `repo`: Repository name. If not provided, discussion categories will be queried at the organisation level. (string, optional)\n\n- **list_discussions** - List discussions\n  - **Required OAuth Scopes**: `repo`\n  - `after`: Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs. (string, optional)\n  - `category`: Optional filter by discussion category ID. If provided, only discussions with this category are listed. (string, optional)\n  - `direction`: Order direction. (string, optional)\n  - `orderBy`: Order discussions by field. If provided, the 'direction' also needs to be provided. (string, optional)\n  - `owner`: Repository owner (string, required)\n  - `perPage`: Results per page for pagination (min 1, max 100) (number, optional)\n  - `repo`: Repository name. If not provided, discussions will be queried at the organisation level. (string, optional)\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\n\u003Csummary>\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Flogo-gist-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Flogo-gist-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Flogo-gist-light.png\" width=\"20\" height=\"20\" alt=\"logo-gist\">\u003C\u002Fpicture> Gists\u003C\u002Fsummary>\n\n- **create_gist** - Create Gist\n  - **Required OAuth Scopes**: `gist`\n  - `content`: Content for simple single-file gist creation (string, required)\n  - `description`: Description of the gist (string, optional)\n  - `filename`: Filename for simple single-file gist creation (string, required)\n  - `public`: Whether the gist is public (boolean, optional)\n\n- **get_gist** - Get Gist Content\n  - `gist_id`: The ID of the gist (string, required)\n\n- **list_gists** - List Gists\n  - `page`: Page number for pagination (min 1) (number, optional)\n  - `perPage`: Results per page for pagination (min 1, max 100) (number, optional)\n  - `since`: Only gists updated after this time (ISO 8601 timestamp) (string, optional)\n  - `username`: GitHub username (omit for authenticated user's gists) (string, optional)\n\n- **update_gist** - Update Gist\n  - **Required OAuth Scopes**: `gist`\n  - `content`: Content for the file (string, required)\n  - `description`: Updated description of the gist (string, optional)\n  - `filename`: Filename to update or create (string, required)\n  - `gist_id`: ID of the gist to update (string, required)\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\n\u003Csummary>\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fgit-branch-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fgit-branch-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fgit-branch-light.png\" width=\"20\" height=\"20\" alt=\"git-branch\">\u003C\u002Fpicture> Git\u003C\u002Fsummary>\n\n- **get_repository_tree** - Get repository tree\n  - **Required OAuth Scopes**: `repo`\n  - `owner`: Repository owner (username or organization) (string, required)\n  - `path_filter`: Optional path prefix to filter the tree results (e.g., 'src\u002F' to only show files in the src directory) (string, optional)\n  - `recursive`: Setting this parameter to true returns the objects or subtrees referenced by the tree. Default is false (boolean, optional)\n  - `repo`: Repository name (string, required)\n  - `tree_sha`: The SHA1 value or ref (branch or tag) name of the tree. Defaults to the repository's default branch (string, optional)\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\n\u003Csummary>\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fissue-opened-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fissue-opened-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fissue-opened-light.png\" width=\"20\" height=\"20\" alt=\"issue-opened\">\u003C\u002Fpicture> Issues\u003C\u002Fsummary>\n\n- **add_issue_comment** - Add comment to issue\n  - **Required OAuth Scopes**: `repo`\n  - `body`: Comment content (string, required)\n  - `issue_number`: Issue number to comment on (number, required)\n  - `owner`: Repository owner (string, required)\n  - `repo`: Repository name (string, required)\n\n- **get_label** - Get a specific label from a repository.\n  - **Required OAuth Scopes**: `repo`\n  - `name`: Label name. (string, required)\n  - `owner`: Repository owner (username or organization name) (string, required)\n  - `repo`: Repository name (string, required)\n\n- **issue_read** - Get issue details\n  - **Required OAuth Scopes**: `repo`\n  - `issue_number`: The number of the issue (number, required)\n  - `method`: The read operation to perform on a single issue.\n    Options are:\n    1. get - Get details of a specific issue.\n    2. get_comments - Get issue comments.\n    3. get_sub_issues - Get sub-issues of the issue.\n    4. get_labels - Get labels assigned to the issue.\n     (string, required)\n  - `owner`: The owner of the repository (string, required)\n  - `page`: Page number for pagination (min 1) (number, optional)\n  - `perPage`: Results per page for pagination (min 1, max 100) (number, optional)\n  - `repo`: The name of the repository (string, required)\n\n- **issue_write** - Create or update issue.\n  - **Required OAuth Scopes**: `repo`\n  - `assignees`: Usernames to assign to this issue (string[], optional)\n  - `body`: Issue body content (string, optional)\n  - `duplicate_of`: Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'. (number, optional)\n  - `issue_number`: Issue number to update (number, optional)\n  - `labels`: Labels to apply to this issue (string[], optional)\n  - `method`: Write operation to perform on a single issue.\n    Options are:\n    - 'create' - creates a new issue.\n    - 'update' - updates an existing issue.\n     (string, required)\n  - `milestone`: Milestone number (number, optional)\n  - `owner`: Repository owner (string, required)\n  - `repo`: Repository name (string, required)\n  - `state`: New state (string, optional)\n  - `state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional)\n  - `title`: Issue title (string, optional)\n  - `type`: Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter. (string, optional)\n\n- **list_issue_types** - List available issue types\n  - **Required OAuth Scopes**: `read:org`\n  - **Accepted OAuth Scopes**: `admin:org`, `read:org`, `write:org`\n  - `owner`: The organization owner of the repository (string, required)\n\n- **list_issues** - List issues\n  - **Required OAuth Scopes**: `repo`\n  - `after`: Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs. (string, optional)\n  - `direction`: Order direction. If provided, the 'orderBy' also needs to be provided. (string, optional)\n  - `labels`: Filter by labels (string[], optional)\n  - `orderBy`: Order issues by field. If provided, the 'direction' also needs to be provided. (string, optional)\n  - `owner`: Repository owner (string, required)\n  - `perPage`: Results per page for pagination (min 1, max 100) (number, optional)\n  - `repo`: Repository name (string, required)\n  - `since`: Filter by date (ISO 8601 timestamp) (string, optional)\n  - `state`: Filter by state, by default both open and closed issues are returned when not provided (string, optional)\n\n- **search_issues** - Search issues\n  - **Required OAuth Scopes**: `repo`\n  - `order`: Sort order (string, optional)\n  - `owner`: Optional repository owner. If provided with repo, only issues for this repository are listed. (string, optional)\n  - `page`: Page number for pagination (min 1) (number, optional)\n  - `perPage`: Results per page for pagination (min 1, max 100) (number, optional)\n  - `query`: Search query using GitHub issues search syntax (string, required)\n  - `repo`: Optional repository name. If provided with owner, only issues for this repository are listed. (string, optional)\n  - `sort`: Sort field by number of matches of categories, defaults to best match (string, optional)\n\n- **sub_issue_write** - Change sub-issue\n  - **Required OAuth Scopes**: `repo`\n  - `after_id`: The ID of the sub-issue to be prioritized after (either after_id OR before_id should be specified) (number, optional)\n  - `before_id`: The ID of the sub-issue to be prioritized before (either after_id OR before_id should be specified) (number, optional)\n  - `issue_number`: The number of the parent issue (number, required)\n  - `method`: The action to perform on a single sub-issue\n    Options are:\n    - 'add' - add a sub-issue to a parent issue in a GitHub repository.\n    - 'remove' - remove a sub-issue from a parent issue in a GitHub repository.\n    - 'reprioritize' - change the order of sub-issues within a parent issue in a GitHub repository. Use either 'after_id' or 'before_id' to specify the new position.\n    \t\t\t\t (string, required)\n  - `owner`: Repository owner (string, required)\n  - `replace_parent`: When true, replaces the sub-issue's current parent issue. Use with 'add' method only. (boolean, optional)\n  - `repo`: Repository name (string, required)\n  - `sub_issue_id`: The ID of the sub-issue to add. ID is not the same as issue number (number, required)\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\n\u003Csummary>\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Ftag-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Ftag-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Ftag-light.png\" width=\"20\" height=\"20\" alt=\"tag\">\u003C\u002Fpicture> Labels\u003C\u002Fsummary>\n\n- **get_label** - Get a specific label from a repository.\n  - **Required OAuth Scopes**: `repo`\n  - `name`: Label name. (string, required)\n  - `owner`: Repository owner (username or organization name) (string, required)\n  - `repo`: Repository name (string, required)\n\n- **label_write** - Write operations on repository labels.\n  - **Required OAuth Scopes**: `repo`\n  - `color`: Label color as 6-character hex code without '#' prefix (e.g., 'f29513'). Required for 'create', optional for 'update'. (string, optional)\n  - `description`: Label description text. Optional for 'create' and 'update'. (string, optional)\n  - `method`: Operation to perform: 'create', 'update', or 'delete' (string, required)\n  - `name`: Label name - required for all operations (string, required)\n  - `new_name`: New name for the label (used only with 'update' method to rename) (string, optional)\n  - `owner`: Repository owner (username or organization name) (string, required)\n  - `repo`: Repository name (string, required)\n\n- **list_label** - List labels from a repository\n  - **Required OAuth Scopes**: `repo`\n  - `owner`: Repository owner (username or organization name) - required for all operations (string, required)\n  - `repo`: Repository name - required for all operations (string, required)\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\n\u003Csummary>\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fbell-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fbell-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fbell-light.png\" width=\"20\" height=\"20\" alt=\"bell\">\u003C\u002Fpicture> Notifications\u003C\u002Fsummary>\n\n- **dismiss_notification** - Dismiss notification\n  - **Required OAuth Scopes**: `notifications`\n  - `state`: The new state of the notification (read\u002Fdone) (string, required)\n  - `threadID`: The ID of the notification thread (string, required)\n\n- **get_notification_details** - Get notification details\n  - **Required OAuth Scopes**: `notifications`\n  - `notificationID`: The ID of the notification (string, required)\n\n- **list_notifications** - List notifications\n  - **Required OAuth Scopes**: `notifications`\n  - `before`: Only show notifications updated before the given time (ISO 8601 format) (string, optional)\n  - `filter`: Filter notifications to, use default unless specified. Read notifications are ones that have already been acknowledged by the user. Participating notifications are those that the user is directly involved in, such as issues or pull requests they have commented on or created. (string, optional)\n  - `owner`: Optional repository owner. If provided with repo, only notifications for this repository are listed. (string, optional)\n  - `page`: Page number for pagination (min 1) (number, optional)\n  - `perPage`: Results per page for pagination (min 1, max 100) (number, optional)\n  - `repo`: Optional repository name. If provided with owner, only notifications for this repository are listed. (string, optional)\n  - `since`: Only show notifications updated after the given time (ISO 8601 format) (string, optional)\n\n- **manage_notification_subscription** - Manage notification subscription\n  - **Required OAuth Scopes**: `notifications`\n  - `action`: Action to perform: ignore, watch, or delete the notification subscription. (string, required)\n  - `notificationID`: The ID of the notification thread. (string, required)\n\n- **manage_repository_notification_subscription** - Manage repository notification subscription\n  - **Required OAuth Scopes**: `notifications`\n  - `action`: Action to perform: ignore, watch, or delete the repository notification subscription. (string, required)\n  - `owner`: The account owner of the repository. (string, required)\n  - `repo`: The name of the repository. (string, required)\n\n- **mark_all_notifications_read** - Mark all notifications as read\n  - **Required OAuth Scopes**: `notifications`\n  - `lastReadAt`: Describes the last point that notifications were checked (optional). Default: Now (string, optional)\n  - `owner`: Optional repository owner. If provided with repo, only notifications for this repository are marked as read. (string, optional)\n  - `repo`: Optional repository name. If provided with owner, only notifications for this repository are marked as read. (string, optional)\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\n\u003Csummary>\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Forganization-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Forganization-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Forganization-light.png\" width=\"20\" height=\"20\" alt=\"organization\">\u003C\u002Fpicture> Organizations\u003C\u002Fsummary>\n\n- **search_orgs** - Search organizations\n  - **Required OAuth Scopes**: `read:org`\n  - **Accepted OAuth Scopes**: `admin:org`, `read:org`, `write:org`\n  - `order`: Sort order (string, optional)\n  - `page`: Page number for pagination (min 1) (number, optional)\n  - `perPage`: Results per page for pagination (min 1, max 100) (number, optional)\n  - `query`: Organization search query. Examples: 'microsoft', 'location:california', 'created:>=2025-01-01'. Search is automatically scoped to type:org. (string, required)\n  - `sort`: Sort field by category (string, optional)\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\n\u003Csummary>\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fproject-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fproject-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fproject-light.png\" width=\"20\" height=\"20\" alt=\"project\">\u003C\u002Fpicture> Projects\u003C\u002Fsummary>\n\n- **projects_get** - Get details of GitHub Projects resources\n  - **Required OAuth Scopes**: `read:project`\n  - **Accepted OAuth Scopes**: `project`, `read:project`\n  - `field_id`: The field's ID. Required for 'get_project_field' method. (number, optional)\n  - `fields`: Specific list of field IDs to include in the response when getting a project item (e.g. [\"102589\", \"985201\", \"169875\"]). If not provided, only the title field is included. Only used for 'get_project_item' method. (string[], optional)\n  - `item_id`: The item's ID. Required for 'get_project_item' method. (number, optional)\n  - `method`: The method to execute (string, required)\n  - `owner`: The owner (user or organization login). The name is not case sensitive. (string, optional)\n  - `owner_type`: Owner type (user or org). If not provided, will be automatically detected. (string, optional)\n  - `project_number`: The project's number. (number, optional)\n  - `status_update_id`: The node ID of the project status update. Required for 'get_project_status_update' method. (string, optional)\n\n- **projects_list** - List GitHub Projects resources\n  - **Required OAuth Scopes**: `read:project`\n  - **Accepted OAuth Scopes**: `project`, `read:project`\n  - `after`: Forward pagination cursor from previous pageInfo.nextCursor. (string, optional)\n  - `before`: Backward pagination cursor from previous pageInfo.prevCursor (rare). (string, optional)\n  - `fields`: Field IDs to include when listing project items (e.g. [\"102589\", \"985201\"]). CRITICAL: Always provide to get field values. Without this, only titles returned. Only used for 'list_project_items' method. (string[], optional)\n  - `method`: The action to perform (string, required)\n  - `owner`: The owner (user or organization login). The name is not case sensitive. (string, required)\n  - `owner_type`: Owner type (user or org). If not provided, will automatically try both. (string, optional)\n  - `per_page`: Results per page (max 50) (number, optional)\n  - `project_number`: The project's number. Required for 'list_project_fields', 'list_project_items', and 'list_project_status_updates' methods. (number, optional)\n  - `query`: Filter\u002Fquery string. For list_projects: filter by title text and state (e.g. \"roadmap is:open\"). For list_project_items: advanced filtering using GitHub's project filtering syntax. (string, optional)\n\n- **projects_write** - Modify GitHub Project items\n  - **Required OAuth Scopes**: `project`\n  - `body`: The body of the status update (markdown). Used for 'create_project_status_update' method. (string, optional)\n  - `issue_number`: The issue number (use when item_type is 'issue' for 'add_project_item' method). Provide either issue_number or pull_request_number. (number, optional)\n  - `item_id`: The project item ID. Required for 'update_project_item' and 'delete_project_item' methods. (number, optional)\n  - `item_owner`: The owner (user or organization) of the repository containing the issue or pull request. Required for 'add_project_item' method. (string, optional)\n  - `item_repo`: The name of the repository containing the issue or pull request. Required for 'add_project_item' method. (string, optional)\n  - `item_type`: The item's type, either issue or pull_request. Required for 'add_project_item' method. (string, optional)\n  - `method`: The method to execute (string, required)\n  - `owner`: The project owner (user or organization login). The name is not case sensitive. (string, required)\n  - `owner_type`: Owner type (user or org). If not provided, will be automatically detected. (string, optional)\n  - `project_number`: The project's number. (number, required)\n  - `pull_request_number`: The pull request number (use when item_type is 'pull_request' for 'add_project_item' method). Provide either issue_number or pull_request_number. (number, optional)\n  - `start_date`: The start date of the status update in YYYY-MM-DD format. Used for 'create_project_status_update' method. (string, optional)\n  - `status`: The status of the project. Used for 'create_project_status_update' method. (string, optional)\n  - `target_date`: The target date of the status update in YYYY-MM-DD format. Used for 'create_project_status_update' method. (string, optional)\n  - `updated_field`: Object consisting of the ID of the project field to update and the new value for the field. To clear the field, set value to null. Example: {\"id\": 123456, \"value\": \"New Value\"}. Required for 'update_project_item' method. (object, optional)\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\n\u003Csummary>\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fgit-pull-request-dark.png\">\u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"pkg\u002Focticons\u002Ficons\u002Fgit-pull-request-light.png\">\u003Cimg src=\"pkg\u002Focticons\u002Ficons\u002Fgit-pull-request-light.png\" width=\"20\" height=\"20\" alt=\"git-pull-request\">\u003C\u002Fpicture> Pull Requests\u003C\u002Fsummary>\n\n- **add_comment_to_pending_review** - Add review comment to the requester's latest pending pull request review\n  - **Required OAuth Scopes**: `repo`\n  - `body`: The text of the review comment (string, required)\n  - `line`: The line of the blob in the pull request diff that the comment applies to. For multi-line comments, the last line of the range (number, optional)\n  - `owner`: Repository owner (string, required)\n  - `path`: The relative path to the file that necessitates a comment (string, required)\n  - `pullNumber`: Pull request number (number, required)\n  - `repo`: Repository name (string, required)\n  - `side`: The side of the diff to comment on. LEFT indicates the previous state, RIGHT indicates the new state (string, optional)\n  - `startLine`: For multi-line comments, the first line of the range that the comment applies to (number, optional)\n  - `startSide`: For multi-line comments, the starting side of the diff that the comment applies to. LEFT indicates the previous state, RIGHT indicates the new state (string, optional)\n  - `subjectType`: The level at which the comment is targeted (string, required)\n\n- **add_reply_to_pull_request_comment** - Add reply to pull request comment\n  - **Required OAuth Scopes**: `repo`\n  - `body`: The text of the reply (string, required)\n  - `commentId`: The ID of the comment to reply to (number, required)\n  - `owner`: Repository owner (string, required)\n  - `pullNumber`: Pull request number (number, required)\n  - `repo`: Repository name (string, required)\n\n- **create_pull_request** - Open new pull request\n  - **Required OAuth Scopes**: `repo`\n  - `base`: Branch to merge into (string, required)\n  - `body`: PR description (string, optional)\n  - `draft`: Create as draft PR (boolean, optional)\n  - `head`: Branch containing changes (string, required)\n  - `maintainer_can_modify`: Allow maintainer edits (boolean, optional)\n  - `owner`: Repository owner (string, required)\n  - `repo`: Repository name (string, required)\n  - `title`: PR title (string, required)\n\n- **list_pull_requests** - List pull requests\n  - **Required OAuth Scopes**: `repo`\n  - `base`: Filter by base branch (string, optional)\n  - `direction`: Sort direction (string, optional)\n  - `head`: Filter by head user\u002Forg and branch (string, optional)\n  - `owner`: Repository owner (string, required)\n  - `page`: Page number for pagination (min 1) (number, optional)\n  - `perPage`: Results per page for pagination (min 1, max 100) (number, optional)\n  - `repo`: Repository name (string, required)\n  - `sort`: Sort by (string, optional)\n  - `state`: Filter by state (string, optional)\n\n- **merge_pull_request** - Merge pull request\n  - **Required OAuth Scopes**: `repo`\n  - `commit_message`: Extra detail for merge commit (string, optional)\n  - `commit_title`: Title for merge commit (string, optional)\n  - `merge_method`: Merge method (string, optional)\n  - `owner`: Repository owner (string, required)\n  - `pullNumber`: Pull request number (number, required)\n  - `repo`: Repository name (string, required)\n\n- **pull_request_read** - Get details for a single pull request\n  - **Required OAuth Scopes**: `repo`\n  - `method`: Action to specify what pull request data needs to be retrieved from GitHub. \n    Possible options: \n     1. get - Get details of a specific pull request.\n     2. get_diff - Get the diff of a pull request.\n     3. get_status - Get combined commit status of a head commit in a pull request.\n     4. get_files - Get the list of files changed in a pull request. Use with pagination parameters to control the number of results returned.\n     5. get_review_comments - Get review threads on a pull request. Each thread contains logically grouped review comments made on the same code location during pull request reviews. Returns threads with metadata (isResolved, isOutdated, isCollapsed) and their associated comments. Use cursor-based pagination (perPage, after) to control results.\n     6. get_reviews - Get the reviews on a pull request. When asked for review comments, use get_review_comments method.\n     7. get_comments - Get comments on a pull request. Use this if user doesn't specifically want review comments. Use with pagination parameters to control the number of results returned.\n     8. get_check_runs - Get check runs for the head commit of a pull request. Check runs are the individual CI\u002FCD jobs and checks that run on the PR.\n     (string, required)\n  - `owner`: Repository owner (string, required)\n  - `page`: Page number for pagination (min 1) (number, optional)\n  - `perPage`: Results per page for pagination (min 1, max 100) (number, optional)\n  - `pullNumber`: Pull request number (number, required)\n  - `repo`: Repository name (string, required)\n\n- **pull_request_review_write** - Write operations (create, submit, delete) on pull request reviews.\n  - **Required OAuth Scopes**: `repo`\n  - `body`: Review comment text (string, optional)\n  - `commitID`: SHA of commit to review (string, optional)\n  - `event`: Review action to perform. (string, optional)\n  - `method`: The write operation to perform on pull request review. (string, required)\n  - `owner`: Repository owner (string, required)\n  - `pullNumber`: Pull request number (number, required)\n  - `repo`: Repository name (string, required)\n  - `threadId`: The node ID of the review thread (e.g., PRRT_kwDOxxx). Required for resolve_thread and unresolve_thread methods. Get thread IDs from pull_request_read with method get_review_comments. (string, optional)\n\n- **search_pull_requests** - Search pull requests\n  - **Required OAuth Scopes**: `repo`\n  - `order`: Sort order (string, optional)\n  - `owner`: Optional repository owner. If provided with repo, only pull requests for this repository are listed. (string, optional)\n  - `page`: Page number for pagination (min 1) (number, optional)\n  - `perPage`: Results per page for pagination (min 1, max 100) (number, optional)\n  - `query`: Search query using GitHub pull request search syntax (string, required)\n  - `repo`: Optional repository name. If provided with owner, only pull requests for this repository are listed. (string, optional)\n  - `sort`: Sort field by number of matches of categories, defaults to best match (string, optional)\n\n- **update_pull_request** - Edit pull request\n  - **Required OAuth Scopes**: `repo`\n  - `base`: New base branch name (string, optional)\n  - `body`: New description (string, optional)\n  - `draft`: Mark pull request as draft (true) or ready for review (false) (boolean, optional)\n  - `maintainer_can_modify`: Allow maintainer edits (boolean, optional)\n  - `owner`: Repository owner (string, required)\n  - `pullNumber`: Pull request number to update (number, required)\n  - `repo`: Repository name (string, required)\n  - `reviewers`: GitHub usernames to request reviews from (string[], optional)\n  - `state`: New state (string, optional)\n  - `title`: New title (string, optional)\n\n- **update_pull_request_branch** - Update pull request branch\n  - **Required OAuth Scopes**: `repo`\n  - `expectedHeadSha`: The expected SHA of the pull request's HEAD ref (string, optional)\n  - `owner`: Repository owner (string, required)\n  - `pullNumber`: Pull request number (number, required)\n  - `repo`: Repository name (string, required)\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\n\u003Csummary","GitHub MCP Server 项目旨在将AI工具直接连接到GitHub平台，使AI代理、助手和聊天机器人能够通过自然语言交互来读取仓库和代码文件、管理问题和PR、分析代码以及自动化工作流程。该项目使用Go语言编写，具备强大的代码库浏览与查询、问题及拉取请求自动化处理、CI\u002FCD与工作流智能监控、代码安全性检查等核心功能。适用于需要利用AI技术提升开发效率、优化团队协作流程或希望在日常工作中引入更智能化操作的开发者场景中。无论是简单的自然语言查询还是复杂的多步骤代理工作流，该服务器都能为用户提供全面的支持。",2,"2026-06-11 02:59:57","top_language"]