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.
mcp-cli is a feature-rich CLI tool, especially suited for AI agents and terminal users, providing script-friendly access to MCP servers.
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.
curl -fsSL https://raw.githubusercontent.com/philschmid/mcp-cli/main/install.sh | bash or bun install -g https://github.com/philschmid/mcp-cli. 2. Create config file mcp_servers.json (see above). 3. Use mcp-cli commands.{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"."
]
},
"deepwiki": {
"url": "https://mcp.deepwiki.com/mcp"
}
}
}