github-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_PORT | No | Port for the streamable HTTP transport when MCP_TRANSPORT=http. Example: 3102. | |
| MCP_TRANSPORT | No | Transport mode: 'stdio' (default) or 'http'. | stdio |
| GITHUB_PERSONAL_ACCESS_TOKEN | Yes | A fine-grained PAT with permissions: Issues r/w, Pull requests r/w, Contents r, Checks r, Metadata r (auto-granted). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| 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 |
|---|---|
| get_meA | Get the authenticated GitHub user (login, name, profile URL). |
| list_issuesB | List issues in a repository. |
| search_issuesA | Search issues and pull requests with GitHub search syntax. |
| get_issueA | Get a single issue with its body and (optionally) its comments. |
| create_issueC | Create an issue. |
| update_issueA | Update an issue's title, body, or state. Title/body replace in full. |
| add_issue_commentB | Comment on an issue. Also works on pull requests. |
| list_pull_requestsB | List pull requests in a repository. |
| get_pull_requestA | Get a pull request with its changed files and CI check summary. Files are capped at the first 100; files_truncated is true when the PR has more. Checks summarize GitHub Actions runs on the head commit. |
| create_pull_requestC | Create a pull request. |
| add_pr_commentA | Comment on a pull request (general conversation, not a code review). |
| search_repositoriesA | Search repositories, sorted by popularity (stars) descending. Use this to explore existing repos and projects, e.g. find the most starred implementations of a tool or library. |
| get_repoA | Get a repository's summary card (stars, forks, language, topics). Use with search_repositories to evaluate repos found by popularity. |
| get_file_contentsA | Get the raw text contents of a file in a repository. Files larger than 100,000 characters are refused to protect the context window; fetch a narrower path instead. |
| search_codeB | Search code with GitHub code search syntax. |
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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/awernick/github-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server