GitHub Context MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| REPOS_FILE | No | Custom path to the repos.json file for persisting repository list. Defaults to 'dist/repos.json' next to the built script. | dist/repos.json |
| GITHUB_TOKEN | Yes | GitHub personal access token with repo scope (or public_repo for public repos only). Required for authentication. |
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 | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_reposA | List all GitHub repositories currently saved in the repo list. |
| add_repoA | Add a GitHub repository to the saved list. The repo will be accessible in this and all future sessions. Use "owner/repo" format. The server will verify the repo exists and is accessible with your token. |
| remove_repoA | Remove a GitHub repository from the saved list. |
| get_repo_infoA | Get metadata for a repository (description, language, stars, default branch, etc.). |
| list_filesA | List files and directories at a given path inside a repository. |
| get_fileA | Get the content of a file from a repository. |
| search_codeA | Search for code within a specific repository using the GitHub code search API. |
| get_commitsB | Get recent commits for a branch or file path. |
| get_branchesB | List branches for a repository. |
| get_pull_requestsC | List pull requests for a repository. |
| get_issuesB | List issues for a repository. |
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/Haavi97/github-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server