GitHub Discovery MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GITHUB_TOKEN | No | Optional GitHub personal access token to increase rate limits. Set in the env block of the Claude Desktop config or exported in the shell. No scopes needed; reads public data. |
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
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_github_reposA | Search GitHub for open-source repositories relevant to a research topic, technology, or project idea. Returns the top matching repos ranked by a blend of popularity (stars) and how recently they've been maintained, each with a short summary of what makes it useful. Good for requests like 'find me RAG implementation repos' or 'show me containerization examples in Go'. |
| search_by_topicA | Find GitHub repositories tagged with a specific topic label (GitHub's own categorization tags, e.g. 'machine-learning', 'llm-agent', 'containerization'). More precise than free-text search when you already know the ecosystem's term for what you want, since it matches curated tags rather than description text. |
| get_trending_reposA | Surface repos that are new and already gaining traction, as a proxy for 'what's trending' (GitHub's REST API has no official trending endpoint, so this approximates it: repos created within the chosen window, ranked by stars accumulated so far). Good for open-ended exploration like 'what's hot in agent frameworks right now', as opposed to search_github_repos which needs a specific query. |
| get_repo_overviewA | Get a snapshot of one specific GitHub repo: description, stars/forks/open issues, license, topics, primary languages, latest release, approximate contributor count, and a README preview. Use this after search_github_repos to understand a specific candidate before diving into its code. |
| get_repo_structureA | List the files and folders at a path inside a repo, like browsing a file tree one level at a time. Start with no path to see the root, then call again with a subdirectory's path (e.g. 'src') to go deeper. |
| get_file_contentA | Read the contents of one specific text file in a repo (source code, config, docs). Use get_repo_structure first if you're not sure of the exact path. Binary files (images, archives, etc.) are refused with a link instead. |
| get_recent_commitsA | Get the most recent commits to a repo (or one branch), to see what's actively being worked on. Each entry shows the short SHA, author, when it happened, and the commit message. |
| list_branchesA | List branches in a repo and the commit each currently points to. Useful for finding active feature branches or confirming the default branch name before calling other tools. |
| compare_reposA | Compare 2-4 GitHub repos side by side as a table: stars, forks, open issues, license, primary language, approximate contributor count, and how recently each was created/updated. Use this to help decide between finalists after search_github_repos, instead of eyeballing separate results. |
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/Hemanth-hexo/Git_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server