github-to-mcp docs
nirholas / github-to-mcp

github-to-mcp

Convert any GitHub repository into an MCP server

v1.0.0SEE LICENSE IN LICENSETypeScript
npm install github-to-mcp-monorepo

What it does

Capabilities documented in this repository.

Introduction

See the full documentation for details.

What is MCP

See the full documentation for details.

Web UI Easiest

See the full documentation for details.

CLI One Command

See the full documentation for details.

Programmatic For Automation

See the full documentation for details.

Features

See the full documentation for details.

Get started

Install it, then run your first command.

npm install github-to-mcp-monorepo
CommandRuns
npm run devpnpm --filter web dev
npm run buildpnpm -r build
npm run lintpnpm -r lint
npm run testvitest run
npm run typecheckpnpm -r typecheck

Read the full getting started guide

Examples

Taken directly from this repository's documentation.

┌─────────────────────────────────────────────────────────────┐
│                     GitHub Repository                       │
└─────────────────────────────────────────────────────────────┘
                              ↓
┌─────────────────────────────────────────────────────────────┐
│  1. Fetch & Classify  →  Detect repo type (API/CLI/Lib)     │
│  2. Extract Tools     →  OpenAPI, GraphQL, Code, README     │
│  3. Generate Server   →  TypeScript or Python MCP server    │
│  4. Bundle Output     →  Complete package with dependencies │
└─────────────────────────────────────────────────────────────┘
                              ↓
┌─────────────────────────────────────────────────────────────┐
│              Ready-to-use MCP Server + Config               │
└─────────────────────────────────────────────────────────────┘
npx @nirholas/github-to-mcp https://github.com/stripe/stripe-node
git clone https://github.com/nirholas/github-to-mcp.git
cd github-to-mcp
pnpm install
pnpm build

More examples

Reference