mcp2cli
Turn any MCP, OpenAPI, or GraphQL server into a CLI — at runtime, with zero codegen
- 2.4k estrellas
- 183 forks
- 3 issues abiertos
- Lenguaje: Python
- Licencia: MIT
- actualizado
Instalación
local · uvx (python)claude mcp add mcp2cli -- uvx mcp2cli{
"mcpServers": {
"mcp2cli": {
"command": "uvx",
"args": ["mcp2cli"]
}
}
}{
"mcpServers": {
"mcp2cli": {
"command": "uvx",
"args": ["mcp2cli"]
}
}
}- Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
- Replace any <placeholder> values with your API keys or paths.
- Restart Claude. The MCP server and its tools appear automatically.
Package name inferred from the repository name. Verify it exists on PyPI, or clone https://github.com/knowsuchagency/mcp2cli and follow its README.
Nota editorial
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.
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.4k estrellas en GitHub y su última actualización registrada es del 2026-10-12.
¿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 97/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 del 2026-10-12, 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.