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
Atera all-in-one platform IT management software with AI agents Icon
Atera all-in-one platform IT management software with AI agents

Ideal for internal IT departments or managed service providers (MSPs)

Atera’s AI agents don’t just assist, they act. From detection to resolution, they handle incidents and requests instantly, taking your IT management from automated to autonomous.
Learn More
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