GitHub MCP Agent Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GITHUB_TOKEN | Yes | GitHub personal access token with repo scope |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_codeC | Search for code in GitHub repositories. |
| list_issuesC | List issues in a GitHub repository. |
| get_pr_diffC | Get the diff for a pull request. |
| review_pr_diffB | Review a PR diff using ruff + legacy regex rules. Returns structured findings. |
| comment_pr_reviewB | Fetch PR diff, run code review, and post findings as review comments. |
| get_file_contentsB | Read a file from a GitHub repository. |
| create_issueA | Create a new issue in a GitHub repository. |
| create_prC | Create a new pull request. |
| create_or_update_fileB | Create or update a single file in a GitHub repository. |
| push_filesC | Push multiple files as a single commit. |
| add_issue_commentB | Add a comment to a GitHub issue or pull request. |
| merge_pull_requestC | Merge a pull request. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/FMorgan-111/github-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server