# GitHub to MCP Converter

Turns any GitHub repository into an MCP server for Claude Code, Cursor, and other tools. It extracts API routes, schemas, and CLI commands into callable agent tools.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 34
- Author: nirholas
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/nirholas/github-to-mcp
- Updated: 2026-10-21
- HTML: https://affpapa.org/en/nevibecode/mcp/github-to-mcp-converter

## What it does

This utility inspects GitHub codebases to construct an MCP server. It scans repositories for OpenAPI definitions, GraphQL schemas, Protobuf services, and AsyncAPI specifications. Tool extraction happens automatically. Python functions decorated with `@mcp.tool` remain intact. CLI instructions from documentation also turn into executable tools.

Output servers run on TypeScript, Python, or Go with dependency configurations for various clients. For source builds, `pnpm` is mandatory. You can generate code directly via `npx` or open `https://github-to-mcp-web-lp642k3kpa-uc.a.run.app` in your browser.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Works with: GitHub

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- Turn GitHub repositories into runnable MCP servers by URL
- Convert OpenAPI endpoints and GraphQL operations into agent tools
- Package documented CLI commands into callable MCP functions
- Produce ready-to-run MCP server code in TypeScript, Python, or Go

## Example prompts
- Extract OpenAPI endpoints from https://github.com/stripe/stripe-node into an MCP server
- Build the generator locally with pnpm install and pnpm build

## Similar
- [github-ops](https://affpapa.org/en/nevibecode/skills/github-ops.md) — skill · 1500 installs
- [github-release-management](https://affpapa.org/en/nevibecode/skills/github-release-management.md) — skill · 1200 installs
- [github-search](https://affpapa.org/en/nevibecode/skills/github-search.md) — skill · 731 installs
- [mcp2cli](https://affpapa.org/en/nevibecode/skills/mcp2cli.md) — skill · 1400 installs
- [port-github-app-to-origin](https://affpapa.org/en/nevibecode/skills/port-github-app-to-origin.md) — skill · 337 installs
- [github-webhooks](https://affpapa.org/en/nevibecode/skills/github-webhooks.md) — skill · 488 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
