mcp-gitpro
A context-efficient GitHub MCP server designed for AI agents to manage repositories, issues, pull requests, and actions directly via cloud workflows. It focuses on a compact tool surface to minimize context waste while providing comprehensive read and write coverage without requiring a local Git CLI.
README
mcp-gitpro
🇬🇧 English | 🇹🇷 Turkce
✨ A production-ready, stdio-first GitHub MCP server built on
@vaur94/mcpbase.
mcp-gitpro gives AI agents a compact GitHub tool surface without drifting into local git, filesystem mutation, shell execution, or browser automation. The goal is simple: high-value GitHub workflows, low context waste, and clear safety boundaries.
✨ Why mcp-gitpro
- GitHub-focused tool surface for repositories, issues, pull requests, search, and Actions
- Read-only mode, toolset allowlists, and exact-tool allowlists to reduce token waste
- Strict TypeScript, stdio-first runtime, protocol tests, and release automation
- Bilingual documentation with clearly separated English and Turkish doc trees
- Built on the published
@vaur94/mcpbasepackage instead of a local fork
📦 Installation
Requirements
- Node.js
>=22.14.0 - npm
>=10 - A GitHub token available as
MCP_GITPRO_GITHUB_TOKEN
Local install script
bash ./scripts/install-local.sh
The script installs dependencies, builds the server, and runs the test suite.
Manual setup
npm install
npm run build
npm test
Use mcp-gitpro.config.json for repo defaults and behavior flags, and keep secrets out of source control.
⚡ Quick Start
Minimal local launch
export MCP_GITPRO_GITHUB_TOKEN=YOUR_GITHUB_TOKEN
node ./dist/index.js --config ./mcp-gitpro.config.json
Quality gate before connecting a host
npm run ci:check
Common stdio values across hosts
- launcher:
node - entrypoint:
/absolute/path/to/mcp-gitpro/dist/index.js - config flag:
--config /absolute/path/to/mcp-gitpro/mcp-gitpro.config.json - token:
MCP_GITPRO_GITHUB_TOKEN=... - protocol rule: stdout is reserved for MCP; logs belong on stderr
🔌 Integration Guides
| Host | Integration model | Guide |
|---|---|---|
| OpenCode | opencode.json local MCP entry with command array |
OpenCode |
| Codex CLI / IDE | config.toml with [mcp_servers.<name>] |
Codex |
| VS Code | workspace MCP JSON with command, args, and env |
VS Code |
| Antigravity | mcpServers JSON entry with absolute executable paths |
Antigravity |
🧰 Tool Surface
Toolsets
contextrepossearchissuespull_requestsactions
Tools
github_contextrepository_readrepository_comparesearch_githubissue_readissue_writepull_request_readpull_request_writeactions_readactions_write
⚙️ Configuration
Configuration precedence:
- built-in defaults
mcp-gitpro.config.jsonMCP_GITPRO_*environment variables- CLI flags handled by
mcpbase
Important fields:
auth.githubTokendefaults.ownerdefaults.repodefaults.apiBaseUrlcontext.readOnlycontext.toolsetscontext.toolsoutput.pageSizeoutput.maxFileLinesoutput.maxDiffLinesoutput.maxBodyChars
🏗️ Project Shape
mcp-gitpro/
|- src/
| |- config/
| |- core/
| |- github/
| |- shared/
| |- tools/
|- tests/
| |- unit/
| |- protocol/
|- docs/
| |- en/
| |- tr/
|- scripts/
🔗 mcpbase Integration
mcp-gitprodepends on the published@vaur94/mcpbasepackage from npm- startup is wired with
ApplicationRuntime,createMcpServer, andstartStdioServer - config loading extends
mcpbasethroughcreateRuntimeConfigSchemaandloadConfig - execution context extends
BaseToolExecutionContextwithGitHubClient - streamable HTTP and telemetry remain intentionally unused in this GitHub-specific stdio product
📚 Documentation
- English docs index:
docs/en/README.md - Turkish docs index:
docs/tr/README.md - English configuration:
docs/en/configuration.md - Turkish configuration:
docs/tr/configuration.md - Security policy:
.github/SECURITY.md
🧪 Quality Gates
npm run build
npm run typecheck
npm run test
npm run test:coverage
npm run test:protocol
npm run ci:check
🛡️ Scope and Non-goals
This repository intentionally excludes:
- local git CLI workflows
- filesystem editing or patch application
- shell execution
- browser automation
- HTTP transport in v1
Security controls include token-based auth, read-only mode, tool allowlists, output caps, and out-of-band Actions log delivery.
📄 License
MIT - see LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。