プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

GitHub to MCP Converter

作者:nirholasバージョン 1.0.0i★ –i–
レジストリ名io.github.nirholas/github-to-mcp

インストール

概要

作者による説明(英語の原文)

Convert any GitHub repo to MCP server - automatic tool generation API wrap

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: –
  • トランスポート:
  • カテゴリ: 開発者ツール

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

作者はレジストリにインストール情報を載せていません。下にある作者のREADMEをご覧ください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント nirholas で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

開発者ツールのほかのサーバーとの比較i

  • このカテゴリのほかの1385件のうち0%よりスターが多い
  • このカテゴリのほかの1385件のうち3%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1385件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

GitHub to MCP Converterは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.0.0)がレジストリに届いたのは10 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。

代わりに使えるものは?

同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

パソコンでもクラウドでも★ 34,245MIT3 日前更新
インストール

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

パソコンで動く★ 10,225MIT15 日前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

GitHub to MCP

Convert any GitHub repository into an MCP server in seconds

Give Claude, ChatGPT, Cursor, Windsurf, Cline, and any AI assistant instant access to any codebase.

🌐 Web App • 🚀 Quick Start • ✨ Features • 📖 Docs


📋 Table of Contents

  • Introduction
  • What is MCP
  • Quick Start
  • Features
  • Installation
  • Usage
  • How It Works
  • Generated Tools
  • Configuration
  • Integrating with AI Assistants
  • Interactive Playground
  • Project Structure
  • Development
  • Architecture Overview
  • Supported Input Formats
  • Output Formats
  • Limitations
  • Troubleshooting
  • Contributing
  • License

📖 Introduction

GitHub to MCP bridges the gap between code repositories and AI assistants. Instead of manually describing APIs or copying code snippets into chat windows, this tool generates a standardized interface that allows AI systems to programmatically explore, read, and interact with any GitHub repository.

The generated MCP servers provide tools that AI assistants can invoke to read files, search code, list directory structures, and call API endpoints discovered within the repository. This enables AI assistants to have deep, structured access to codebases without requiring manual context management.

┌─────────────────────────────────────────────────────────────┐

│ 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 │ └─────────────────────────────────────────────────────────────┘


🔌 What is MCP

The Model Context Protocol (MCP) is an open standard developed by Anthropic that defines how AI assistants communicate with external tools and data sources. MCP servers expose "tools" that AI models can invoke, along with "resources" that provide context and "prompts" that guide interactions.

When you connect an MCP server to an AI assistant like Claude Desktop, the assistant gains the ability to call the tools defined by that server. For example, a GitHub MCP server might expose tools like read_file, search_code, or list_pull_requests, which the AI can invoke to gather information needed to answer questions or complete tasks.

This project generates MCP servers from GitHub repositories, automatically creating tools based on the repository's contents, APIs, and documentation.


🚀 Quick Start

🌐 Web UI (Easiest)

Visit [github-to-mcp.modelcontextprotocol.name](https://github-to-mcp.modelcontextprotocol.name) — Paste any GitHub URL, click Generate, download your MCP server.

💻 CLI (One Command)
npx @nirholas/github-to-mcp https://github.com/stripe/stripe-node
📦 Programmatic (For Automation)
import { generateFromGithub } from '@nirholas/github-to-mcp';

const result = await generateFromGithub('https://github.com/stripe/stripe-node'); console.log(Generated ${result.tools.length} tools); await result.save('./my-mcp-server');


✨ Features

🔬 Repository Analysis
  • Automatic repository type classification (API, library, CLI tool, MCP server, documentation)
  • Detection and parsing of OpenAPI/Swagger specifications
  • GraphQL schema extraction and query/mutation tool generation
  • gRPC/Protobuf service definition parsing
  • AsyncAPI specification support for event-driven APIs
  • Source code analysis for function extraction
🌍 Multi-Language Support

Input repositories:

  • TypeScript and JavaScript
  • Python
  • Go
  • Java and Kotlin
  • Rust
  • Ruby
  • C# and F#

Output MCP servers:

  • TypeScript (using the official MCP SDK)
  • Python (using the MCP Python SDK)
  • Go (using community MCP libraries)
🔧 Tool Extraction
  • OpenAPI endpoints become callable tools with typed parameters
  • GraphQL queries and mutations become tools with input validation
  • Python functions decorated with @mcp.tool are preserved
  • CLI commands documented in READMEs become executable tools
  • HTTP route handlers from popular frameworks are detected
⚡ Code Generation
  • Complete, runnable MCP server code with all dependencies
  • Configuration files for Claude Desktop, Cursor, and other clients
  • Docker deployment templates
  • TypeScript type definitions for all generated tools

📥 Installation

From Source

Clone the repository and install dependencies:

git clone https://github.com/nirholas/github-to-mcp.git

cd github-to-mcp pnpm install pnpm build

Using the Web Interface

The web application is deployed at [github-to-mcp.modelcontextprotocol.name](https://github-to-mcp.modelcontextprotocol.name). Use the browser-based interface without any local installation.


📖 Usage

🌐 Web Interface

The web interface provides the simplest way to convert repositories:

  1. Navigate to the web application
  2. Enter a GitHub repository URL (e.g., https://github.com/owner/repo)
  3. Optionally configure extraction options
  4. Click "Generate" to analyze the repository
  5. Review the generated tools and code
  6. Download the MCP server package or copy the configuration

The web interface also provides an interactive playground where you can test generated tools before downloading.

💻 Command Line Interface

After building the project locally, you can use the CLI:

# Basic usage

node packages/core/dist/cli.mjs https://github.com/owner/repo

Specify output directory

node packages/core/dist/cli.mjs https://github.com/owner/repo --output ./my-mcp-server

Generate Python instead of TypeScript

node packages/core/dist/cli.mjs https://github.com/owner/repo --language python

Include only specific extraction sources

node packages/core/dist/cli.mjs https://github.com/owner/repo --sources openapi,readme

Use a GitHub token for private repos or higher rate limits

GITHUB_TOKEN=ghp_xxx node packages/core/dist/cli.mjs https://github.com/owner/repo

📦 Programmatic API

Import the generator in your own TypeScript or JavaScript code:

import { GithubToMcpGenerator } from '@nirholas/github-to-mcp';

const generator = new GithubToMcpGenerator({ githubToken: process.env.GITHUB_TOKEN, sources: ['openapi', 'readme', 'code'], outputLanguage: 'typescript' });

const result = await generator.generate('https://github.com/owner/repo');

console.log(Repository: ${result.name}); console.log(Classification: ${result.classification.type}); console.log(Generated ${result.tools.length} tools);

// Access the generated code console.log(result.code);

// Save to disk await result.save('./output-directory');

📋 Generator Options Interface

interface GithubToMcpOptions {

// GitHub personal access token for API authentication githubToken?: string;

// Which sources to extract tools from // Default: ['openapi', 'readme', 'code', 'graphql', 'mcp'] sources?: Array<'openapi' | 'readme' | 'code' | 'graphql' | 'grpc' | 'mcp'>;

// Output language for generated server // Default: 'typescript' outputLanguage?: 'typescript' | 'python' | 'go';

// Include universal tools (read_file, list_files, etc.) // Default: true includeUniversalTools?: boolean;

// Maximum number of tools to generate // Default: 100 maxTools?: number;

// Specific branch to analyze // Default: repository's default branch branch?: string; }


⚙️ How It Works

The conversion process follows these stages:

🏷️ Repository Classification

The generator first analyzes the repository to determine its type and structure:

  1. Fetch repository metadata from the GitHub API
  2. Download and parse the README file
  3. Examine package.json, setup.py, go.mod, or other manifest files
  4. Scan for API specification files (openapi.json, schema.graphql, etc.)
  5. Classify the repository as one of:
ClassificationDescription
mcp-serverAn existing MCP server implementation
api-sdkA client library for an API
cli-toolA command-line application
libraryA general-purpose code library
documentationPrimarily documentation content
dataData files or datasets
unknownUnclassified repository

Classification influences which extraction strategies are prioritized and how tools are named.

🔍 Tool Extraction

Tools are extracted from multiple sources within the repository:

📄 OpenAPI/Swagger Extraction

When an OpenAPI specification is found:

  1. Parse the specification (JSON or YAML, v2 or v3)
  2. Extract each endpoint as a potential tool
  3. Convert path parameters, query parameters, and request bodies to tool input schemas
  4. Generate descriptions from operation summaries and descriptions
  5. Map HTTP methods to appropriate tool semantics

🔷 GraphQL Extraction

When GraphQL schemas are found:

  1. Parse .graphql or .gql schema files
  2. Extract Query type fields as read-only tools
  3. Extract Mutation type fields as write tools
  4. Convert GraphQL input types to JSON Schema for tool inputs
  5. Handle nested types and custom scalars

📖 README Extraction

The README is analyzed for:

  1. Code blocks showing CLI usage patterns
  2. API endpoint examples with curl or fetch
  3. Function call examples with parameters
  4. Installation and usage instructions

Extracted examples become tools with inferred parameter schemas.

💻 Source Code Extraction

For supported languages, the source code is analyzed:

  1. Python: Functions decorated with @mcp.tool, @server.tool, or similar
  2. TypeScript: Exported functions with JSDoc annotations
  3. Go: HTTP handlers from Gin, Echo, Chi, Fiber, or Gorilla Mux
  4. Java/Kotlin: Methods annotated with @GetMapping, @PostMapping, etc.
  5. Rust: Route handl

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く