CLI wrapper generator for MCP servers with progressive disclosure patterns
npx claudepluginhub brunogama/claude-mcp-wrapperGenerate efficient CLI wrappers for MCP servers following progressive disclosure and code API patterns
A Claude Code plugin specialized in wrapping MCP servers into efficient CLI tools following progressive disclosure and code API patterns.
Version: 1.0.0 Author: Bruno License: MIT Based on: Anthropic's "Code execution with MCP" article (November 2025)
This plugin helps you create production-ready CLI wrappers for MCP servers that achieve up to 98.7% token reduction through:
The plugin is located at:
/Users/bruno/.claude/plugins/claude-mcp-wrapper/
To enable it in Claude Code, it should auto-load from the plugins directory. If not:
# Verify plugin structure
ls -la /Users/bruno/.claude/plugins/claude-mcp-wrapper/
# Check plugin.json
cat /Users/bruno/.claude/plugins/claude-mcp-wrapper/.claude-plugin/plugin.json
Analyzes an MCP server and generates a wrapping strategy.
Usage:
/claude-mcp-wrapper:analyze <mcp-server-name> [json|markdown|summary]
Examples:
/claude-mcp-wrapper:analyze github
/claude-mcp-wrapper:analyze firecrawl json
/claude-mcp-wrapper:analyze ref summary
Output:
Generates production-ready CLI wrapper code.
Usage:
/claude-mcp-wrapper:generate <mcp-server-name> [python|typescript]
Options:
--output: Output file path--template: Template style (standard|fastmcp|sdk)Examples:
/claude-mcp-wrapper:generate github
/claude-mcp-wrapper:generate calendar typescript
/claude-mcp-wrapper:generate database python --template=fastmcp
/claude-mcp-wrapper:generate myapi --output=/path/to/cli.py
Output: Complete CLI wrapper with:
Creates complete project structure for a new MCP wrapper.
Usage:
/claude-mcp-wrapper:scaffold <project-name> [python|typescript]
Options:
--mcp-server: MCP server to wrap--with-tests: Include testing setup (default: true)--with-ci: Include CI/CD config (default: false)--output-dir: Parent directoryExamples:
/claude-mcp-wrapper:scaffold my-api-cli
/claude-mcp-wrapper:scaffold calendar-cli typescript --with-ci
/claude-mcp-wrapper:scaffold github-cli --mcp-server=github
Output: Complete project with:
Converts traditional tool calls to code API patterns.
Usage:
/claude-mcp-wrapper:convert <input-file>
Options:
--output: Output file path--estimate-only: Show savings without refactoring--preserve-comments: Keep original code as commentsExamples:
/claude-mcp-wrapper:convert workflow.py
/claude-mcp-wrapper:convert script.py --estimate-only
/claude-mcp-wrapper:convert legacy.py --preserve-comments
Output:
Analyzes MCP server structures and generates wrapping strategies.
Specializes in:
Tools: Read, Bash, Grep, Glob Permission Mode: acceptEdits Color: Blue
Generates production-ready CLI wrapper code.
Specializes in:
Tools: Read, Write, Edit, Bash, Glob Permission Mode: acceptEdits Color: Green
Optimizes tool schemas for maximum token efficiency.
Specializes in:
Tools: Read, Write, Edit Permission Mode: acceptEdits Color: Purple
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
No description available.
Code intelligence powered by a knowledge graph — execution flows, blast radius, and semantic search