π¬π§ 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.
- 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
- Node.js
>=22.14.0 - npm
>=10 - A GitHub token available as
MCP_GITPRO_GITHUB_TOKEN
The setup below is for a local checkout of this repository.
Preferred repo-local setup:
bash ./scripts/install-local.shThis installs dependencies, builds the server, and runs npm test once.
The commands below assume you are running from a clone of this repository, where scripts/install-local.sh and mcp-gitpro.config.json are available.
- Install and build once:
bash ./scripts/install-local.sh- Launch the local stdio server:
export MCP_GITPRO_GITHUB_TOKEN=YOUR_GITHUB_TOKEN
node ./dist/index.js --config ./mcp-gitpro.config.json- Optional pre-host verification:
npm run ci:checkCommon host values:
- 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
Each guide follows the same pattern:
- run
bash ./scripts/install-local.sh - point the host to
dist/index.js - pass
--config /absolute/path/to/mcp-gitpro/mcp-gitpro.config.json - provide
MCP_GITPRO_GITHUB_TOKEN
| 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 |
contextrepossearchissuespull_requestsactions
github_contextrepository_readrepository_comparesearch_githubissue_readissue_writepull_request_readpull_request_writeactions_readactions_write
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
mcp-gitpro/
|- src/
| |- config/
| |- core/
| |- github/
| |- shared/
| |- tools/
|- tests/
| |- unit/
| |- protocol/
|- docs/
| |- en/
| |- tr/
|- scripts/
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
- English docs index:
docs/en/index.md - Turkish docs index:
docs/tr/index.md - Quick start:
docs/en/quick-start.md - Usage:
docs/en/usage.md - English configuration:
docs/en/configuration.md - Turkish configuration:
docs/tr/configuration.md - Security policy:
SECURITY.md - Contributing:
CONTRIBUTING.md - Support:
SUPPORT.md
npm run build
npm run typecheck
npm run test
npm run test:coverage
npm run test:protocol
npm run ci:checkThis 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.
MIT - see LICENSE.
Last updated: 2026-03-10