.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/knowsuchagency/mcp2cli
home/mcp-servers/knowsuchagency/mcp2cli
knowsuchagency avatar

mcp2cli

byknowsuchagency· 1 MCP server

Installs

6.1k

Stars

2.3k

Forks

169

Category

DevOps & CI/CD

View on GitHub

TL;DR

mcp2cli ships with an installable skill that teaches AI coding agents (Claude Code, Cursor, Codex) how to use it. Once installed, your agent can discover and call any MCP server or OpenAPI endpoint — and even generate new skills from APIs.

How to install mcp2cli?

knowsuchagency/mcp2cli
$git clone https://github.com/knowsuchagency/mcp2cli

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install mcp2cli by running `git clone https://github.com/knowsuchagency/mcp2cli`, then use it for the current task and follow its documentation at https://github.com/knowsuchagency/mcp2cli.

Files · 1

View on GitHub
README.md
1<p align="center">
2 <img src="https://raw.githubusercontent.com/knowsuchagency/mcp2cli/main/assets/hero.png" alt="mcp2cli — one CLI for every API" width="700">
3</p>
4 
5<h1 align="center">mcp2cli</h1>
6 
7<p align="center">
8 Turn any MCP server, OpenAPI spec, or GraphQL endpoint into a CLI — at runtime, with zero codegen.<br>
9 <strong>Save 96–99% of the tokens wasted on tool schemas every turn.</strong><br><br>
10 <a href="https://www.orangecountyai.com/blog/mcp2cli-one-cli-for-every-api-zero-wasted-tokens"><strong>Read the full writeup →</strong></a>
11</p>
12 
13## Install
14 
15```bash
16# Run directly without installing
17uvx mcp2cli --help
18 
19# Or install globally
20uv tool install mcp2cli
21```
22 
23## AI Agent Skill
24 
25mcp2cli ships with an installable [skill](https://skills.sh) that teaches AI coding agents (Claude Code, Cursor, Codex) how to use it. Once installed, your agent can discover and call any MCP server or OpenAPI endpoint — and even generate new skills from APIs.
26 
27```bash
28npx skills add knowsuchagency/mcp2cli --skill mcp2cli
29```
30 
31After installing, try prompts like:
32- `mcp2cli --mcp https://mcp.example.com/sse` — interact with an MCP server
33- `mcp2cli create a skill for https://api.example.com/openapi.json` — generate a skill from an API
34 
35## Usage
36 
37### MCP HTTP/SSE mode
38 
39```bash
40# Connect to an MCP server over HTTP
41mcp2cli --mcp https://mcp.example.com/sse --list
42 
43# Call a tool
44mcp2cli --mcp https://mcp.example.com/sse search --query "test"
45 
46# With auth header
47mcp2cli --mcp https://mcp.example.com/sse --auth-header "x-api-key:sk-..." \
48 query --sql "SELECT 1"
49 
50# Force a specific transport (skip streamable HTTP fallback dance)
51mcp2cli --mcp https://mcp.example.com/sse --transport sse --list
52 
53# Search tools by name or description (case-insensitive substring match)
54mcp2cli --mcp https://mcp.example.com/sse --search "task"
55```
56 
57`--search` implies `--list` and works across all modes (`--mcp`, `--spec`, `--graphql`, `--mcp-stdio`).
58 
59### OAuth authentication
60 
61APIs that require OAuth are supported out of the box — across MCP, OpenAPI, and GraphQL modes.
62mcp2cli handles token acquisition, caching, and refresh automatically.
63 
64```bash
65# Authorization code + PKCE flow (opens browser for login)
66mcp2cli --mcp https://mcp.example.com/sse --oauth --list
67mcp2cli --spec https://api.example.com/openapi.json --oauth --list
68mcp2cli --graphql https://api.example.com/graphql --oauth --list
69 
70# Client credentials flow (machine-to-machine, no browser)
71mcp2cli --spec https://api.example.com/openapi.json \
72 --oauth-client-id "my-client-id" \
73 --oauth-client-secret "my-secret" \
74 list-pets
75 
76# With specific scopes
77mcp2cli --graphql https://api.example.com/graphql --oauth --oauth-scope "read write" users
78 
79# Local spec file — use --base-url for OAuth discovery
80mcp2cli --spec ./openapi.json --base-url https://api.example.com --oauth --list
81```
82 
83Tokens are persisted in `~/.cache/mcp2cli/oauth/` so subsequent calls reuse existing tokens
84and refresh automatically when they expire.
85 
86### Secrets from environment or files
87 
88Sensitive values (`--auth-header` values, `--oauth-client-id`, `--oauth-client-secret`) support
89`env:` and `file:` prefixes to avoid passing secrets as CLI arguments (which are visible in
90process listings):
91 
92```bash
93# Read from environment variable
94mcp2cli --mcp https://mcp.example.com/sse \
95 --auth-header "Authorization:env:MY_API_TOKEN" \
96 --list
97 
98# Read from file
99mcp2cli --mcp https://mcp.example.com/sse \
100 --oauth-client-secret "file:/run/secrets/client_secret" \
101 --oauth-client-id "my-client-id" \
102 --list
103 
104# Works with secret managers that inject env vars
105fnox exec -- mcp2cli --mcp https://mcp.example.com/sse \
106 --oauth-client-id "env:OAUTH_CLIENT_ID" \
107 --oauth-client-secret "env:OAUTH_CLIENT_SECRET" \
108 --list
109```
110 
111### MCP stdio mode
112 
113```bash
114# List tools from an MCP server
115mcp2cli --mcp-stdio "npx @modelcontextprotocol/server-filesystem /tmp" --list
116 
117# Call a tool
118mcp2cli --mcp-stdio "npx @modelcontextprotocol/server-filesystem /tmp" \
119 rea

Preview

knowsuchagency/mcp2cliknowsuchagency/mcp2cli
Repoknowsuchagency/mcp2cli
TypeMCP Servers
CategoryDevOps & CI/CD
UpdatedJun 2026
LicenseMIT
First seenJul 27, 2026

Tags

MCPaicli

Related

6 picks
Type
  1. circleci-public avatarmcp-server-circleciA Model Context Protocol (MCP) server implementation for CircleCI, enabling natural language interactions with CircleCI functionality through MCP-enabled clientsMCP ServersJul 2026141k86
  2. argoproj-labs avatarmcp-for-argocdArgo CD MCP ServerMCP ServersJul 202690k547
  3. flux159 avatarmcp-server-kubernetesMCP server for interacting with Kubernetes clusters via kubectlMCP ServersJul 202664k1.5k
  4. hookdeck avatarhookdeck-cliCLI for Hookdeck: forward webhooks to localhost (ngrok alternative), manage and query Event Gateway resources (sources, connections, destinations, events), run the MCP server for AI agents. Free for dev.MCP ServersJul 202647k358
  5. heroku avatarheroku-mcp-serverHeroku Platform MCP ServerMCP ServersJul 202626k80
  6. tiberriver256 avatarmcp-server-azure-devopsAzure DevOps reference server for the Model Context Protocol (MCP)MCP ServersJul 202624k381