Mcp2cli — Development skill for Claude Code
MCP -> CLI + SKILLs.
How to install Mcp2cli
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open makabakaxy/mcp2cli and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Mcp2cli does
MCP -> CLI + SKILLs. Maintain SKILL pararllel with MCP Server.
Alternatives in Development
- Mempalace Init — Set up MemPalace — install the package, initialize a palace, register the MCP server with Cursor, and verify e 58.6k ★
- Claude Context Mode — An MCP server that sits between Claude Code and these outputs 5.3k ★
- Google Ads Meta Ads MCP — Google Ads MCP server + Meta Ads MCP (Facebook Ads MCP) + GA4 + Search Console in one hosted remote MCP for Cl 3.2k ★
README
mcp2cli/mcp2skill
Also known as: **mcp2skill** · **mcp-to-cli** · **mcp-to-skill** · **mcpcli** Convert MCP servers into CLI and Agent SKILLs.
Why
For example, install [zereight/gitlab-mcp](https://github.com/zereight/gitlab-mcp) — it exposes **122 tools** across 14 categories (merge requests, issues, pipelines, wikis, etc.). Every tool schema gets injected into your AI conversation context on every request. We measured this directly against the Claude API:
| Per-request input tokens | Before (raw MCP) | After (mcp2cli) |
|---|---|---|
| Your message | 20 | 20 |
| Tool definitions (122 tools) | 27,969 | — |
| Skill file (1 file) | — | ~800 |
| Total | 27,989 | ~820 |
| Reduction | ~97% |
After `mcp2cli convert`, your AI agent stops seeing 122 tool definitions. Instead, it reads one small skill file, and calls CLI commands like `mcp2cli gitlab mr create --project-id 123 --title "Fix bug"` to get the job done.
Beyond token savings, some projects maintain both a CLI and an MCP server in parallel (e.g. the GitLab MCP server vs. the `glab` CLI). Keeping two interfaces in sync is a maintenance burden and inevitably leads to feature drift. mcp2cli eliminates the need — one MCP server, one generated CLI, always consistent.
Quick Start
pip install mcp-to-cli
If you already have an MCP server configured in Claude, Cursor, or Codex:
mcp2cli list # See which MCP servers are available
mcp2cli convert gitlab-mcp
That's it. Your MCP server is now a CLI, and the compressed skill files are synced to your AI clients.
**Tip:** After install or convert, you can edit `~/.agents/mcp2cli/servers.yaml` to update env vars (API keys, endpoints, etc.) without re-running the full setup.
How It Works
`mcp2cli convert gitlab-mcp` runs a 3-phase pipeline:
┌──────────────┐ ┌──────────────┐
Related Skills
Storybloq
Cross-session context for Claude Code. CLI + MCP server + /story skill that tracks tickets, issues, handovers,
Bm Doctor
Diagnose and recover basemind when it isn't working (MCP tools missing/erroring, "no index", dead server) — ru
Bm Scan
Build or refresh the basemind index by running basemind scan via the CLI — works without the MCP server (use i
Frankensonos
Memory-safe Rust controller for your own Sonos speakers on your own LAN — reliable SSDP/UPnP-SOAP/GENA interop
Shim MCP
WordPress MCP server plugin, live on WordPress.org. Connect Claude Code, Cursor, or any MCP client to WordPres
Sessiongrep
Local-first memory layer for CLI agents. Indexes Claude Code, Codex CLI, Cursor, Antigravity, and Pi sessions
Related Agents
Intellij Debugger Maintainer
Fix issues, add features, and maintain quality in intellij-debugger. MCP server that lets Claude control Intel
Backlog MCP Validator
Validate the backlog FastMCP server against the CLI. Calls MCP tools natively via the agent-scoped backlog ser
Core Owner
Catch-all owner for claude-code-vault's core modules — MCP server, indexer (chunks/embeddings/graph), CLI, and