Best for
- AI coding agents that need lightweight MCP server integration.
- Developers who prefer terminal-based interactions.
- Users needing efficient, scriptable access to MCP tools.
This is not a typical connect-and-use MCP server; read the source repository before using it.
mcp-cli is a feature-rich CLI tool, especially suited for AI agents and terminal users, providing script-friendly access to MCP servers.
Strongest · Documentation 15/20 Weakest · Reliability 10/20
Static review · not runListed 2026-08-07
Read the FMRS scoring method →Runtime:Bun 1.0.0+ · Prebuilt binary
MCP_CONFIG_PATH
Path to the config file, overriding the built-in search order for mcp_servers.
MCP_DEBUG
Set to 1 to enable debug output (including daemon debug)
MCP_TIMEOUT
Request timeout in seconds, default 1800
MCP_CONCURRENCY
Number of servers processed in parallel, default 5
MCP_MAX_RETRIES
Retry attempts for transient errors, default 3; 0 disables
MCP_RETRY_DELAY
Base retry delay in milliseconds, default 1000
MCP_STRICT_ENV
Default true; errors on missing ${VAR} in config, set to false to use empty values
MCP_NO_DAEMON
Set to 1 to disable connection caching and force fresh connections
MCP_DAEMON_TIMEOUT
Idle timeout in seconds for cached connections, default 60
curl -fsSL https://raw.githubusercontent.com/philschmid/mcp-cli/main/install.sh | bash or bun install -g https://github.com/philschmid/mcp-cli.mcp_servers.json (see above).mcp-cli commands.{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"."
]
},
"deepwiki": {
"url": "https://mcp.deepwiki.com/mcp"
}
}
}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"."
]
},
"deepwiki": {
"url": "https://mcp.deepwiki.com/mcp"
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem . claude mcp add --transport http deepwiki https://mcp.deepwiki.com/mcp
Run it in a terminal; replace any <…> placeholders with your own values first.
After installing, run `mcp-cli` (or `mcp-cli -d`); the output should list the configured servers (e.g. filesystem, deepwiki) and their tools, confirming the connection works.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
mcp-cli is a lightweight, Bun-based CLI for interacting with Model Context Protocol (MCP) servers. It supports servers over stdio and HTTP transports, offering tool discovery, schema viewing, invocation, and is optimized for AI coding agents.
Upstash's official server providing up-to-date third-party library docs for AI coding assistants
AI-powered NPM package analysis MCP server
An independent control layer that gives AI coding agents budgets, brakes, and receipts
GitHub's official MCP server for managing repos, issues, PRs, and workflows via natural language
Source revision d77672a1ce80 Data synced 2026-10-12 Read the FMRS scoring method