github-to-mcp-guide
БесплатноБез исполняемых скриптовНе проверенGuide to converting GitHub repositories into MCP servers automatically. Extract tools from OpenAPI, GraphQL, and REST APIs for Claude Desktop, Cursor…
от nirholas★ 289 звёзд на GitHubОб этом скилле
GitHub-to-MCP Conversion Guide
Convert any GitHub repository into an MCP server automatically. The tool analyzes the repo's API surface (OpenAPI specs, GraphQL schemas, REST endpoints) and generates a working MCP server with type-safe tools.
How It Works
GitHub Repo URL
│
▼
1. Clone & analyze repo
│
▼
2. Detect API surface
├── OpenAPI/Swagger specs
├── GraphQL schemas
├── REST route definitions
└── Function exports
│
▼
3. Generate MCP server
├── TypeScript or Python
├── Type-safe tool definitions
├── Parameter validation
└── Error handling
│
▼
4. Ready-to-use MCP server
Quick Start
npx github-to-mcp https://github.com/owner/repo
This generates a ready-to-use MCP server in ./mcp-output/.
Supported API Formats
| Format | Detection | Example |
|---|---|---|
| OpenAPI 3.x | openapi.json, swagger.yaml |
REST APIs with full schema |
| GraphQL | schema.graphql, introspection |
Query/mutation → tools |
| Express/Fastify | Route scanning | app.get('/api/...') → tools |
| Next.js API | Route file detection | app/api/*/route.ts → tools |
| Function exports | Named export analysis | export function doThing() → tools |
Output Options
TypeScript MCP Server
github-to-mcp https://github.com/owner/repo --lang typescript
Generates a Node.js MCP server with full TypeScript types.
Python MCP Server
github-to-mcp https://github.com/owner/repo --lang python
Generates a Python MCP server using the official MCP SDK.
AI-Powered Generation
When the API surface is ambiguous, the tool uses AI (GPT-4 or Claude) to:
- Infer parameter types from usage patterns
- Generate meaningful tool descriptions
- Create example inputs for each tool
- Handle edge cases in API design
Use Cases
Turn a DeFi Protocol into MCP Tools
github-to-mcp https://github.com/aave/aave-v3-core
# → Generates MCP tools for supply, borrow, repay, liquidate, etc.
Convert a Data API
github-to-mcp https://github.com/nirholas/crypto-data-aggregator
# → Generates MCP tools for price queries, portfolio tracking, alerts
Make Internal Tools AI-Accessible
github-to-mcp https://github.com/your-company/internal-api
# → Your internal API is now accessible to AI agents
Integration with SperaxOS
github-to-mcp is particularly useful for the SperaxOS ecosystem:
- Convert DeFi protocol repos into MCP tools
- Auto-generate tool manifests for the skill marketplace
- Create agent tools from any Sperax ecosystem repo
Links
- GitHub: https://github.com/nirholas/github-to-mcp
- MCP Specification: https://modelcontextprotocol.io
- SperaxOS: https://github.com/nirholas/sperax
Установить github-to-mcp-guide в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл github-to-mcp-guide?
Guide to converting GitHub repositories into MCP servers automatically. Extract tools from OpenAPI, GraphQL, and REST APIs for Claude Desktop, Cursor, Windsurf, Cline, and VS Code. AI-powered code generation creates type-safe TypeScript/Python MCP servers. Zero config — just paste a repo URL.
Как установить скилл github-to-mcp-guide?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл github-to-mcp-guide запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic