github-to-mcp-guide

github-to-mcp-guide is a skill for Claude Code, Codex from nirholas/three.ws. It costs 68 tokens per session (830 once invoked), scanned A, original, Apache-2.0.

A tool that examines a GitHub repository and creates an MCP server from its APIs or exported functions. An MCP server exposes these capabilities as tools that AI applications can call.

In plain words
What is it for?
Use it to generate TypeScript or Python MCP servers from GitHub projects, with tool definitions, input checks, and error handling.
Why use it?
It removes much of the manual work needed to connect an existing repository’s REST, GraphQL, OpenAPI, or framework routes to an AI agent.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for cline. Also seen: built for cline.

Good fit Use it to generate TypeScript or Python MCP servers from GitHub projects, with tool definitions, input checks, and error handling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nirholas/three.ws/github-to-mcp-guide
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nirholas/three.ws --skill github-to-mcp-guide
Clone the repo
git clone --depth 1 https://github.com/nirholas/three.ws

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github-to-mcp-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/three.ws/github-to-mcp-guide/github.svg)](https://agentmods.dev/skills/nirholas/three.ws/github-to-mcp-guide)
Your own site
<a href="https://agentmods.dev/skills/nirholas/three.ws/github-to-mcp-guide"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/github-to-mcp-guide/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for github-to-mcp-guide

Your own site · 80×15
<a href="https://agentmods.dev/skills/nirholas/three.ws/github-to-mcp-guide"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/github-to-mcp-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 830 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 45
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.00830
Opus 5.5 $0.00027 $0.00332
Sonnet 5.5 $0.00014 $0.00166
Haiku 4.5 $0.00007 $0.00083

Measured 2mo ago against content hash add2eda174e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github-to-mcp-guide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

data/skills/development/github-to-mcp-guide/SKILL.md · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on 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.

Read the full file on GitHub · 114 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 114 lines · 68 tokens per session scan A add2eda174e9

Subscribe to this mod's changes

github-to-mcp-guide is a skill published in the GitHub repository nirholas/three.ws (287 stars, last pushed yesterday), licensed Apache-2.0. It adds 68 tokens to every session and 830 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

github-to-mcp-guide compared with skills from other repositories

github-to-mcp-guide next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-to-mcp-guidenirholas/three.wsSkill287yesterdayApache-2.0A68Claude Code, Codex
tech-specsgriddynamics/rosettaSkill3825d agoApache-2.0A23Claude Code
orchardcore-site-settingsCrestApps/CrestApps.AgentSkillsSkill148d agoMITA185Claude Code
orchardcore-media-galleryCrestApps/CrestApps.AgentSkillsSkill148d agoMITA210Claude Code
scraperapi-ruby-sdkscraperapi/scraperapi-skillsSkill105d agoMITA150Claude Code
orchardcore-github-authenticationCrestApps/CrestApps.AgentSkillsSkill148d agoMITA122Claude Code
weave-api-callingTyox-all/Weave_ProtocolSkill17d agoApache-2.0A36Claude Code, Codex