nirholas/github-to-mcp
Turn any GitHub repository into an MCP server for AI assistants
What it solves
Without it, you must manually describe APIs or paste code snippets into chat, and assistants get no structured access to the repository.
- Extracts tools from OpenAPI and GraphQL
- Generates TypeScript or Python servers
- Read files, search code, call APIs
Works with
- claude-desktop
- cursor
- vscode
- cline
- windsurf
- cli
Install
npx @nirholas/github-to-mcp https://github.com/stripe/stripe-node npx tsc --noEmit Copy-ready config
{
"mcpServers": {
"my-repo": {
"command": "node",
"args": [
"/absolute/path/to/generated/server.mjs"
],
"env": {
"GITHUB_TOKEN": "ghp_xxxx"
}
}
}
} {
"mcpServers": {
"github-to-mcp": {
"type": "http",
"url": "https://modelcontextprotocol.name/mcp/github-to-mcp"
}
}
} Security flags
- Needs API key: Yes
- Runs locally: Yes
- Network access: Yes
- Needs root: No
Maintenance
| Last commit | 2026-12-06(0d) |
|---|---|
| Stars | 35 |
| Open issues | 0 |
| License | — |
| Archived | No |
| Data fetched | 2026-12-06 |
Source excerpt
Verbatim README excerpt, unedited, so you can check the summary above.
Convert any GitHub repository into an MCP server in seconds