Prepare the server locally
Run this once before adding it to Claude Code.
git clone https://github.com/vaur94/mcp-gitpro
cd mcp-gitproThen follow the repository README for any remaining dependency or build steps.
Register it in Claude Code
claude mcp add -e "MCP_GITPRO_GITHUB_TOKEN=${MCP_GITPRO_GITHUB_TOKEN}" mcp-gitpro -- node /absolute/path/to/mcp-gitpro/dist/index.js --config /absolute/path/to/mcp-gitpro/mcp-gitpro.config.jsonReplace any placeholder paths in the command with the real path on your machine.
MCP_GITPRO_GITHUB_TOKENMake your agent remember this setup
mcp-gitpro's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.
npx conare@latestFree · one command · indexes the sessions already on disk. Set up in the browser instead →
What it does
- GitHub-focused tool surface for repositories, issues, pull requests, search, and Actions
- Read-only mode and toolset allowlists to reduce token waste
- Built on the @vaur94/mcpbase package for reliable stdio communication
- Comprehensive read and write coverage without requiring a local Git CLI
Tools 10
github_contextRetrieves current GitHub context information.repository_readReads repository information.repository_compareCompares repository branches or commits.search_githubSearches across GitHub repositories.issue_readReads details of a specific GitHub issue.issue_writeCreates or updates a GitHub issue.pull_request_readReads details of a specific pull request.pull_request_writeCreates or updates a pull request.actions_readReads GitHub Actions workflow information.actions_writeTriggers or manages GitHub Actions workflows.Environment Variables
MCP_GITPRO_GITHUB_TOKENrequiredGitHub personal access token for authenticationTry it
Original README from vaur94/mcp-gitpro
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
- 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.sh
This installs dependencies, builds the server, and runs npm test once.
⚡ Quick Start
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:check
Common 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
🔌 Integration Guides
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 |
🧰 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/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`
🧪 Quality Gates
npm run build
npm run typecheck
npm run test
npm run test:coverage
npm r