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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.