Turn any MCP, OpenAPI, or GraphQL server into a CLI — at runtime, with zero codegen
mcp2cli is a Python command-line tool that converts MCP servers, OpenAPI specs, and GraphQL endpoints into callable CLI commands at runtime, without generating any code. It supports three connection modes: HTTP/SSE or stdio for MCP servers, local or remote OpenAPI specs in JSON or YAML, and GraphQL endpoints via introspection. It integrates directly with Claude Code through an installable skill (via skills.sh), letting the agent discover and invoke tools from any supported API type. A standout feature is token efficiency: by exposing API tools as CLI subcommands rather than feeding full schema definitions to the model on every turn, the project claims a 96 to 99 percent reduction in tokens consumed by tool schemas. OAuth handling covers both browser-based PKCE flows and machine-to-machine client credentials, with tokens cached in ~/.cache/mcp2cli/oauth/. A bake mode lets users persist connection settings and auth flags into named configurations, avoiding repetitive flags. Developers building or testing agents that interact with external APIs are the primary audience.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add mcp2cli -- uvx mcp2cli{
"mcpServers": {
"mcp2cli": {
"command": "uvx",
"args": ["mcp2cli"]
}
}
}Resumen de MCP Servers
Lo que la gente pregunta sobre mcp2cli
¿Qué es knowsuchagency/mcp2cli?
+
knowsuchagency/mcp2cli es mcp servers para el ecosistema de Claude AI. Turn any MCP, OpenAPI, or GraphQL server into a CLI — at runtime, with zero codegen Tiene 2.2k estrellas en GitHub y se actualizó por última vez 13d ago.
¿Cómo se instala mcp2cli?
+
Puedes instalar mcp2cli clonando el repositorio (https://github.com/knowsuchagency/mcp2cli) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar knowsuchagency/mcp2cli?
+
Nuestro agente de seguridad ha analizado knowsuchagency/mcp2cli y le ha asignado un Trust Score de 100/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene knowsuchagency/mcp2cli?
+
knowsuchagency/mcp2cli es mantenido por knowsuchagency. La última actividad registrada en GitHub es de 13d ago, con 3 issues abiertos.
¿Hay alternativas a mcp2cli?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega mcp2cli en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/knowsuchagency-mcp2cli)<a href="https://claudewave.com/repo/knowsuchagency-mcp2cli"><img src="https://claudewave.com/api/badge/knowsuchagency-mcp2cli" alt="Featured on ClaudeWave: knowsuchagency/mcp2cli" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。