MCP Configs2026年4月6日·1 分钟阅读

mcp2cli — Turn MCP Servers into CLI Tools, Zero Codegen

Convert any MCP server, OpenAPI spec, or GraphQL endpoint into a full CLI at runtime. Saves 96-99% of tokens wasted on tool schemas every turn.

介绍

mcp2cli is a developer tool that turns any MCP server, OpenAPI spec, or GraphQL endpoint into a command-line interface at runtime — no code generation needed. With 1,900+ GitHub stars and an MIT license, it saves 96–99% of token overhead per conversation through usage-aware tool ordering. Works with Claude Code, Cursor, and other MCP-compatible tools.


mcp2cli — Runtime CLI Generation for Any API

Core Features

  • Zero code generation: MCP tools become CLI commands on the fly
  • Multi-protocol support: MCP servers (stdio/SSE), OpenAPI specs, and GraphQL endpoints
  • Token savings: usage-aware ordering saves 96–99% of schema token overhead
  • Built-in OAuth: OAuth auth for all API types
  • Bake mode: save connection configs for reuse

🙏

来源与感谢

Created by Stephan Fitzpatrick. Licensed under MIT.

mcp2cli — ⭐ 1,900+

讨论

登录后参与讨论。
还没有评论,来写第一条吧。