Does ghcontext require authentication?
Yes. A GitHub token is mandatory; you are responsible for managing it securely and should grant only the scopes needed (e.g., `public_repo` for public repos only).
@MarcoMuellner
基本情報
An MCP server providing real-time GitHub data to LLMs, enhancing their software development capabilities.
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"ghcontext": {
"command": "npx",
"args": [
"ghcontext",
"--GITHUB_TOKEN",
"your_github_token"
]
}
}
}Search for GitHub repositories by query
Get detailed information about a specific GitHub repository
Get the README content of a GitHub repository
Search for files in a GitHub repository
Get the content of a specific file from a GitHub repository
Get the directory structure of a GitHub repository
Extract API documentation from a GitHub repository README
Search for code within a GitHub repository
ghcontext is an MCP (Model Context Protocol) server that bridges GitHub and large language models, giving AI assistants real-time access to repository information – including private repos – via the standardized MCP protocol. It is designed for developers who want their LLMs to have accurate, up-to-date knowledge of codebases.
Install and run via npx ghcontext --GITHUB_TOKEN your_github_token or globally with npm install -g ghcontext then ghcontext --GITHUB_TOKEN your_github_token. After starting, connect your MCP‑compatible LLM to http://localhost:3000/api/mcp. The server exposes tools such as get-repository-info, get-repository-readme, and get-repository-api-docs.
Yes. A GitHub token is mandatory; you are responsible for managing it securely and should grant only the scopes needed (e.g., `public_repo` for public repos only).
Yes, provided the GitHub token has the necessary scopes to read those private repos.
It provides tools such as `get-repository-info`, `get-repository-readme`, `get-repository-api-docs`, `search-repository-files`, and `get-file-content`.
It uses the standard MCP protocol, so any MCP‑enabled model (including Claude and GPT) can connect to its HTTP endpoint.
Yes, an intelligent caching system improves performance and reduces API load while keeping information fresh.

Model Context Protocol Servers
MCP server connecting AI assistants with Jira & Confluence for smart project management.
MCP servers for the Atlassian products (Bitbucket, Confluence, JIRA) of the Data Center version
a private MCP server for accessing Linear
a mcp server to manage github project's functionality
コメント