BigHugger
GH Repository · knowsuchagency

mcp2cli

Turn any MCP, OpenAPI, or GraphQL server into a CLI — at runtime, with zero codegen

stars
2,399
30-day movement
+52/day
Related entries
61
Connections
1
python/uvpythonPythonopenapimcpmcp-servercligraphqlai

mcp2cli is a Python tool that wraps MCP, OpenAPI, or GraphQL servers as command-line interfaces at runtime, without code generation. It is packaged with uv and released under the MIT license.

Use it when you want to interact with an MCP, OpenAPI, or GraphQL server from the terminal without writing client code or generating an SDK.

Use it to

  • Expose an MCP server's tools as shell commands
  • Call an OpenAPI API from the CLI
  • Query a GraphQL endpoint from the terminal
  • Script API interactions without codegen

For Developers working with MCP, OpenAPI, or GraphQL servers

Role
mcp-server
Language
Python
Licence
MIT
Forks
177
Open issues
1
Last push
2026-09-12
Skills shipped
1
topicsmcpopenapigraphqlclipythonai