mcp-cli is a lightweight, Bun-based command-line interface (CLI) tool that simplifies how developers discover, inspect, and interact with Model Context Protocol (MCP) servers from the terminal. The Model Context Protocol is an emerging open standard for connecting language models and external tools, and mcp-cli helps mitigate common pain points like context window bloat by dynamically discovering MCP servers and reducing token load during interactions. It’s designed to be fast and shell-friendly, compiling to a single standalone binary and producing machine-readable output (e.g., JSON) that plays well with other CLI tooling like jq and standard piping. mcp-cli supports both stdio and HTTP-based MCP servers, connection pooling with a lazy-spawn daemon to keep connections warm, and flexible tool filtering via easy configuration options.

Features

  • Lightweight CLI for MCP server interaction
  • Compiles to a single standalone binary
  • JSON-friendly output for scripting
  • Supports both stdio and HTTP MCP servers
  • Connection pooling with lazy-spawn daemon
  • Configurable tool filtering by server

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow mcp-cli

mcp-cli Web Site

Other Useful Business Software
Vibes don’t ship, Retool does Icon
Vibes don’t ship, Retool does

Start from a prompt and build production-ready apps on your data—with security, permissions, and compliance built in.

Vibe coding tools create cool demos, but Retool helps you build software your company can actually use. Generate internal apps that connect directly to your data—deployed in your cloud with enterprise security from day one. Build dashboards, admin panels, and workflows with granular permissions already in place. Stop prototyping and ship on a platform that actually passes security review.
Build apps that ship
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of mcp-cli!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Command Line Tools

Registered

2 days ago