
Description
MCP CLI is a command-line client for the Model Context Protocol, used to test and interact with MCP servers and to chat with a language model that calls their tools. It is built with the CHUK Tool Processor and CHUK-LLM, and it supports tool usage, conversation management and several operating modes. By default it uses Ollama with the gpt-oss reasoning model, so you can run it locally without an API key. Version 0.16 adds an experimental virtual memory feature for conversation context, with a token budget, eviction, and passive, relaxed and strict modes, plus a memory command that shows the page table and working set. Execution plans let you create and run reproducible tool call graphs, with parallel execution of independent steps, variable references, a dry-run mode, checkpointing and resume, and an ASCII view of the dependency graph. A model-driven planning option lets the model create and run a plan on its own during a conversation when a task needs several steps. The release also includes MCP Apps support following a protocol proposal, and production hardening. Guards keep budgets, per-tool limits and runaway detection in force. The repository is on GitHub under IBM/mcp-cli, though the project URL in the scan is chrishayuk/mcp-cli.…
Highlights
- Tests and chats with MCP servers from the terminal
- Defaults to a local Ollama model
- Experimental virtual memory for context
- Execution plans with parallel steps and resume
- Model-driven planning and guards
Ratings & Reviews
No ratings yet
Be the first to rate chrishayuk/mcp-cli.
People also visit
chrishayuk/mcp-cli FAQ
What is MCP CLI?
A command-line interface for testing Model Context Protocol servers and chatting with a model that uses their tools.
Do I need an API key?
No, by default. It uses Ollama with the gpt-oss model, which runs locally.
What are execution plans?
Reproducible tool call graphs that run in batches, support variables, dry runs, checkpoints and resume.
What is the virtual memory feature?
An experimental option that manages conversation context with a token budget and paging modes, shown by a memory command.
Can the model plan on its own?
Yes, with a planning option that lets the model create and run a plan during a conversation.
Where is the source?
On GitHub under IBM/mcp-cli.
What are the best chrishayuk/mcp-cli alternatives?
Popular alternatives to chrishayuk/mcp-cli include mcp-developer, activeing123/mcptoon and Outline MCP Server. See all chrishayuk/mcp-cli alternatives




















