GitHub MCP Server
GitHub MCP CLI with Ollama
터미널 기반 프로젝트로, Model Context Protocol(MCP)과 로컬 LLM(Ollama를 통해)을 사용하여 GitHub 데이터를 조회하고 요약합니다.
개요
이 프로젝트는 두 가지 구성 요소로 나뉩니다:
MCP 서버(
server.py):fastmcp로 구축되었으며, GitHub 저장소 세부 정보, 최근 이슈, 최근 커밋을 가져오는 도구를 제공합니다.CLI 클라이언트(
client.py):rich와 LangChain를 사용하는 대화형 터미널 인터페이스로, 로컬 Ollama 모델과 대화하여 MCP 도구와 상호작용합니다.
Related MCP server: GitHub MCP Server
설정
의존성 설치:
pip install -r requirements.txtGitHub 액세스 구성: 더 높은 속도 제한과 비공개 저장소 접근을 위해 GitHub 개인 액세스 토큰(PAT)을 환경 변수로 내보내세요(또는
.env파일에 넣으세요):export GITHUB_TOKEN="your_personal_access_token_here"Ollama 시작: Ollama가 도구 지원 모델(예:
llama3.2)로 로컬에서 실행 중인지 확인하세요:ollama run llama3.2클라이언트 실행:
python client.py
개발
현재 server.py와 client.py 모두 완전히 작동합니다. 클라이언트는 MultiServerMCPClient와 LangChain의 React Agent를 사용하여 도구에 원활하게 연결하고 질문을 Ollama로 라우팅합니다.
MCP 서버가 노출하는 도구:
get_repo(owner, repo): 저장소에 대한 기본 세부 정보를 가져옵니다.list_issues(owner, repo, state, limit): 최근 이슈를 가져옵니다.list_commits(owner, repo, limit): 최근 커밋을 가져옵니다.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityAmaintenanceMCP server that exposes GitHub operations as tools for AI agents, enabling code search, issue management, and PR review.12MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides tools for interacting with the GitHub API, enabling AI assistants to query repositories, pull requests, issues, commits, users, and more.441ISC
- AlicenseBqualityCmaintenanceA comprehensive MCP server that exposes 73 GitHub API tools for managing repositories, pull requests, issues, actions, releases, search, and more, enabling natural language control of GitHub.73MIT
- AlicenseAqualityCmaintenanceA lightweight MCP server that enables fetching public GitHub user profiles, repository stats, recent events, and pull request insights through simple tool calls.21111MIT
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
A MCP server built for developers enabling Git based project management with project and personal…
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/dhirendra1729/git_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server