NG

nirholas/github-to-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

34 stars 5 forks 品質 82 トレンド 32NOASSERTION

Convert GitHub repositories to MCP servers automatically. Extract tools from OpenAPI, GraphQL & REST APIs for Claude Desktop, Cursor, Windsurf, Cline & VS Code.

概要

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 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. The is an open standard developed by Anthropic that defines how AI assistants communicate with external tools and data sources.

README

以下は原文 README の抜粋です。原文を見る。

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

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     │
GitHub で README 全文を見る

インストール

npx @nirholas/github-to-mcp https://github.com/stripe/stripe-node
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "my-repo": { "command": "node", "args": ["/absolute/path/to/generated/server.mjs"], "env": { "GITHUB_TOKEN": "ghp_xxxx" } } } }