ghcontext: Supercharge Your LLMs with Real-time GitHub Context
@MarcoMuellner
ghcontext: Supercharge Your LLMs with Real-time GitHub Context について
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"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is ghcontext?
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.
How to use ghcontext?
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.
Key features of ghcontext
- API documentation extraction from READMEs and doc files
- Repository structure analysis for a codebase map
- README content retrieval directly from GitHub
- File content search for specific files or snippets
- Repository search to discover matching repositories
- Intelligent caching to reduce API calls while keeping info fresh
Use cases of ghcontext
- Providing LLMs with the latest API docs and READMEs for any repository
- Helping AI assistants understand private repository structure and design principles
- Keeping AI assistants informed about recent changes and updates in a codebase
- Assisting with code review by fetching current file contents and architecture
FAQ from ghcontext
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).
Can ghcontext access private repositories?
Yes, provided the GitHub token has the necessary scopes to read those private repos.
What tools does ghcontext expose?
It provides tools such as get-repository-info, get-repository-readme, get-repository-api-docs, search-repository-files, and get-file-content.
How does ghcontext integrate with LLMs?
It uses the standard MCP protocol, so any MCP‑enabled model (including Claude and GPT) can connect to its HTTP endpoint.
Does ghcontext cache GitHub API responses?
Yes, an intelligent caching system improves performance and reduces API load while keeping information fresh.
「バージョン管理」の他のコンテンツ
MCP Atlassian
soopersetMCP server for Atlassian tools (Confluence, Jira)
MCP Atlassian Server (by phuc-nt)
phuc-ntMCP server connecting AI assistants with Jira & Confluence for smart project management.
MCP GitHub Project Manager
kunwarViveka mcp server to manage github project's functionality
AIO-MCP Server
athapong🚀 All-in-one MCP server with AI search, RAG, and multi-service integrations (GitLab/Jira/Confluence/YouTube) for AI-enhanced development workflows. Folk from https://github.com/nguyenvanduocit/all-in-one-model-context-protocol
Atlassian Jira MCP Server
aashariNode.js/TypeScript MCP server for Atlassian Jira. Equips AI systems (LLMs) with tools to list/get projects, search/get issues (using JQL/ID), and view dev info (commits, PRs). Connects AI capabilities directly into Jira project management and issue tracking workflows.
コメント