Skip to content
mcp-converter logo

MCP-to-Skill Converter Skill

mcp-converter

Converts MCP servers to Claude Skills with 90%+ context savings using progressive disclosure pattern. Supports automatic detection and on-demand conversion.

mattnigh/skills_collection0installs24stars

SKILL.md

Full skill instructions

MCP-to-Skill Converter Skill

Identity

MCP-to-Skill Converter - Transforms MCP servers into Claude Skills using progressive disclosure to achieve 90%+ context savings while maintaining full functionality.

Capabilities

  • MCP Server Introspection: Analyze MCP servers to discover tools and capabilities
  • Skill Generation: Generate complete Skill structure (SKILL.md, executor.py, config)
  • Progressive Disclosure: Create Skills with metadata-only loading (~100 tokens)
  • Automatic Detection: Monitor and detect new MCP servers for conversion
  • Validation: Validate generated Skills before installation
  • Installation: Install converted Skills to user's Skills directory

The Problem

MCP servers load all tool definitions into context at startup:

  • 20+ tools = 30-50k tokens consumed immediately
  • Context fills before Claude does any work
  • Hard to scale beyond ~100 tools
  • Most tools unused in each conversation

The Solution

Convert MCP servers to Skills with progressive disclosure:

  • Startup: ~100 tokens (metadata only)
  • When used: ~5k tokens (full instructions)
  • Executing: 0 tokens (runs externally)
  • Savings: 90%+ context reduction

How It Works

  1. Introspection: Connect to MCP server and discover all tools
  2. Analysis: Calculate token usage and conversion eligibility
  3. Generation: Create Skill structure with progressive disclosure
  4. Validation: Verify Skill structure and functionality
  5. Installation: Install to ~/​.claude/​skills/

Usage Patterns

On-Demand Conversion

When to Use:

  • You have an MCP server with 10+ tools
  • Context space is critical
  • Most tools aren't used in every conversation
  • You want maximum context efficiency

How to Invoke:

"Convert the github MCP server to a Skill"
"Convert all MCP servers with more than 10 tools"
"Convert the custom-server MCP to a Skill"

What It Does:

  • Reads MCP server configuration
  • Introspects server to discover tools
  • Generates Skill structure
  • Validates and installs Skill

Automatic Detection

When Enabled:

  • Monitor .claude/​.mcp.json for changes
  • Detect new MCP servers
  • Analyze tool count and token usage
  • Auto-convert based on rules

Configuration:

auto_convert:
  enabled: true
  threshold:
    tool_count: 10
    estimated_tokens: 5000
  exceptions:
    - github  # Keep as MCP
    - memory  # Keep as MCP

Skill Structure

Generated Skills follow this structure:

skill-name/
├── SKILL.md          # Metadata and instructions (~100 tokens)
├── executor.py       # Dynamic MCP tool execution
└── config.json       # MCP server configuration

SKILL.md (Progressive Disclosure)

Metadata Only (~100 tokens):

  • Skill name and description
  • Tool categories
  • When to use guidance
  • Quick reference

Full Instructions (~5k tokens, loaded when used):

  • Complete tool documentation
  • Usage examples
  • Error handling
  • Best practices

executor.py

Handles MCP tool calls dynamically:

  • Connects to MCP server
  • Executes tool calls
  • Returns results
  • Handles errors

Integration

With Tool Search

Skills work alongside Tool Search:

  • Tool Search: Semantic discovery of tools
  • Skills: On-demand tool loading with minimal context
  • Combined: Optimal context usage for large tool libraries

With Skill Builder

Uses Skill Builder plugin for:

  • Validation of generated Skills
  • Template-based generation
  • Testing and verification
  • Installation management

With Marketplace

Integrates with superpowers-marketplace:

  • Install marketplace plugins
  • Auto-detect MCP servers in plugins
  • Convert plugin MCP servers to Skills
  • Manage plugin ecosystem

Best Practices

When to Convert

Convert to Skill When:

  • MCP server has 10+ tools
  • Most tools unused in each conversation
  • Context space is critical
  • Tools are independent

Keep as MCP When:

  • 1-5 tools (minimal context impact)
  • Complex OAuth flows required
  • Persistent connections needed
  • Cross-platform compatibility critical

Critical Tools to Keep as MCP

Keep these as MCP (always loaded):

  • Core file operations: read_file, write_file, search_code
  • Essential integrations: create_pull_request, get_issue
  • Frequently used: take_screenshot, navigate_page

Hybrid Approach

Best Strategy: Use both MCP and Skills

  • MCP: Core tools (1-5 tools, always loaded)
  • Skills: Extended toolset (10+ tools, on-demand)
  • Tool Search: Discovery and semantic matching

Examples

Example 1: Convert GitHub MCP

# On-demand conversion
"Convert the github MCP server to a Skill"

# Result: Creates ~/​.claude/​skills/​github/
# - SKILL.md (100 tokens metadata)
# - executor.py (dynamic tool calls)
# - config.json (MCP configuration)

Example 2: Batch Conversion

# Convert multiple MCP servers
"Convert all MCP servers with more than 10 tools to Skills"

# Analyzes all MCP servers
# Converts eligible servers
# Installs all generated Skills

Example 3: Automatic Detection

# .claude/​skills/​mcp-converter/​conversion_rules.yaml
auto_convert:
  enabled: true
  threshold:
    tool_count: 10
  exceptions:
    - github
    - memory

Error Handling

Common Issues:

  • MCP server not responding: Check configuration and environment variables
  • Tool introspection fails: Verify MCP server is accessible
  • Skill generation errors: Check templates and validation
  • Installation fails: Verify Skills directory permissions

Recovery:

  • Retry with verbose logging
  • Validate MCP configuration
  • Check Skill Builder integration
  • Review conversion rules

Context Savings

Before (MCP):

20 tools = 30k tokens always loaded
Context available: 170k / 200k = 85%

After (Skills):

20 skills = 2k tokens metadata
When 1 skill active: 7k tokens
Context available: 193k / 200k = 96.5%

Dependencies

  • mcp Python package (for MCP server introspection)
  • Skill Builder plugin (for validation)
  • Existing MCP configuration (.claude/​.mcp.json)

Related Skills

  • tool-search: Semantic tool discovery
  • marketplace-manager: Plugin installation and management
  • memory-manager: Context persistence

More skills from mattnigh

spring-framework-patterns logo
mattnigh/skills_collection

spring-framework-patterns

Comprehensive Spring Framework and Spring Boot best practices including dependency injection patterns, bean lifecycle and scopes, REST API development, Spring Data JPA, service layer design, Spring Security, testing strategies, caching, AOP, async processing, error handling, and common anti-patte...

24 0
View

TypeScript厳格モードによる型安全性設計を専門とするスキル。 📖 参照書籍: - 『Effective TypeScript』(Dan Vanderkam): 型設計 📚 リソース参照: - `resources/Level1_basics.md`: レベル1の基礎ガイド - `resources/Level2_intermediate.md`: レベル2の実務ガイド - `resources/Level3_advanced.md`: レベル3の応用ガイド - `resources/Level4_expert.md`: レベル4の専門ガイド - `resources/di...

24 0
View
deploying-cloud-k8s logo
mattnigh/skills_collection

deploying-cloud-k8s

Deploys applications to cloud Kubernetes (AKS/GKE/DOKS) with CI/CD pipelines. Use when deploying to production, setting up GitHub Actions, troubleshooting deployments. Covers build-time vs runtime vars, architecture matching, and battle-tested debugging.

24 0
View
moai-alfred-agent-guide logo
mattnigh/skills_collection

moai-alfred-agent-guide

19-agent team structure, decision trees for agent selection, Haiku vs Sonnet model selection, and agent collaboration principles. Use when deciding which sub-agent to invoke, understanding team responsibilities, or learning multi-agent orchestration.

24 0
View
mermaid-diagram-generator logo
mattnigh/skills_collection

mermaid-diagram-generator

Converts architecture descriptions, module specs, or workflow docs into Mermaid diagrams. Use when visualizing brick module relationships, workflows (DDD, investigation), or system architecture. Supports: flowcharts, sequence diagrams, class diagrams, state machines, entity relationship diagrams,...

24 0
View
pre-flight-check logo
mattnigh/skills_collection

pre-flight-check

INVOKE FIRST before any code work. Validates git workflow (branch, issue, worklog) and checks approach. Use at START of every task and END before completing. Prevents skipped steps.

24 0
View
browser-dev-tools logo
mattnigh/skills_collection

browser-dev-tools

This skill should be used when working with browser-rendered artifacts (i.e. Bun, React/React Native) to proactively validate that development work on localhost is being built appropriately and to support debugging browser-rendered content. Use this skill after making frontend changes to verify t...

24 0
View
lead-dev logo
mattnigh/skills_collection

lead-dev

Lead Développeur - Coordination technique opérationnelle, code review, mentoring et livraison. Pair de web-dev-process au niveau OPÉRATIONS.

24 0
View
worker-monitor logo
mattnigh/skills_collection

worker-monitor

Monitor Docker workers, RQ queue health, and auto-scale workers (max 4). Use when: checking job progress, monitoring queue depth, scaling workers up/down, diagnosing slow processing, or waiting for jobs to complete. Referenced by data-quality skill during reprocessing.

24 0
View
quality-advisor logo
mattnigh/skills_collection

quality-advisor

Proactive quality guidance system that monitors artifact creation and provides real-time feedback on documentation quality

24 0
View
bump-version logo
mattnigh/skills_collection

bump-version

This skill should be used when the user wants to bump the version number in the workspace. It updates versions across all pyproject.toml files (root, tde, and tda packages) and the CHANGELOG.md to keep them synchronized.

24 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View