All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

mcp2cli: Convert MCP, OpenAPI, and GraphQL Servers to CLI Without Code Generation

By

knowsuchagency

2mo ago· 3 min readenCode

Summary

mcp2cli is a tool that converts MCP (Model Context Protocol), OpenAPI, or GraphQL servers into command-line interfaces at runtime without requiring code generation. It includes an AI agent skill that enables AI coding assistants like Claude Code and Cursor to discover and call MCP servers or OpenAPI endpoints, and can generate new skills from APIs. The tool supports various modes including MCP HTTP/SSE, OpenAPI specifications, and GraphQL, with built-in OAuth authentication handling token acquisition, caching, and refresh.

Key quotes

· 4 pulled
Turn any MCP, OpenAPI, or GraphQL server into a CLI — at runtime, with zero codegen
mcp2cli ships with an installable skill that teaches AI coding agents (Claude Code, Cursor, Codex) how to use it
APIs that require OAuth are supported out of the box — across MCP, OpenAPI, and GraphQL modes
mcp2cli handles token acquisition, caching, and refresh automatically
Snippet from the RSS feed
Turn any MCP, OpenAPI, or GraphQL server into a CLI — at runtime, with zero codegen - knowsuchagency/mcp2cli

You might also wanna read