mcp-gitpro

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.

Category
Visit Server

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/mcpbase package 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

  • context
  • repos
  • search
  • issues
  • pull_requests
  • actions

Tools

  • github_context
  • repository_read
  • repository_compare
  • search_github
  • issue_read
  • issue_write
  • pull_request_read
  • pull_request_write
  • actions_read
  • actions_write

โš™๏ธ Configuration

Configuration precedence:

  1. built-in defaults
  2. mcp-gitpro.config.json
  3. MCP_GITPRO_* environment variables
  4. CLI flags handled by mcpbase

Important fields:

  • auth.githubToken
  • defaults.owner
  • defaults.repo
  • defaults.apiBaseUrl
  • context.readOnly
  • context.toolsets
  • context.tools
  • output.pageSize
  • output.maxFileLines
  • output.maxDiffLines
  • output.maxBodyChars

๐Ÿ—๏ธ Project Shape

mcp-gitpro/
|- src/
|  |- config/
|  |- core/
|  |- github/
|  |- shared/
|  |- tools/
|- tests/
|  |- unit/
|  |- protocol/
|- docs/
|  |- en/
|  |- tr/
|- scripts/

๐Ÿ”— mcpbase Integration

  • mcp-gitpro depends on the published @vaur94/mcpbase package from npm
  • startup is wired with ApplicationRuntime, createMcpServer, and startStdioServer
  • config loading extends mcpbase through createRuntimeConfigSchema and loadConfig
  • execution context extends BaseToolExecutionContext with GitHubClient
  • streamable HTTP and telemetry remain intentionally unused in this GitHub-specific stdio product

๐Ÿ“š Documentation

๐Ÿงช 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

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured