
nirholas/github-to-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
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
- 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 │
インストール
npx @nirholas/github-to-mcp https://github.com/stripe/stripe-node設定
{
"mcpServers": {
"my-repo": {
"command": "node",
"args": ["/absolute/path/to/generated/server.mjs"],
"env": {
"GITHUB_TOKEN": "ghp_xxxx"
}
}
}
}