Skip to main content
Glama
Haavi97

GitHub Context MCP Server

by Haavi97

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
REPOS_FILENoCustom path to the repos.json file for persisting repository list. Defaults to 'dist/repos.json' next to the built script.dist/repos.json
GITHUB_TOKENYesGitHub 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

CapabilityDetails
tools
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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