chrishayuk/mcp-cli logo

chrishayuk/mcp-cli

Free

用于测试 MCP 服务器的另一个 CLI 工具。

FreeFree tier
Type
Open Source
Company
IBM

About chrishayuk/mcp-cli

MCP CLI (Model Context Protocol Command Line Interface) is a powerful, feature-rich command-line client developed by IBM for interacting with Model Context Protocol servers. It enables seamless communication with LLMs through integration with the CHUK Tool Processor and CHUK-LLM, providing tool usage, conversation management, and multiple operational modes. Default configuration uses Ollama with the gpt-oss reasoning model for local, privacy-focused operation without requiring API keys. Recent updates include experimental AI Virtual Memory for conversation context management, Execution Plans (Tier 6) for creating and executing reproducible tool call graphs with DAG visualization and checkpointing, and MCP Apps (SEP-1865) for serving interactive HTML UIs in sandboxed iframes.

Key Features

Default configuration uses Ollama with gpt-oss reasoning model for local privacy-focused operation
AI Virtual Memory (Experimental) with /memory command, VM modes, and multimodal page_fault support
Execution Plans (Tier 6) with /plan command, model-driven planning, parallel batch execution, dry-run mode, checkpointing resumption, and DAG visualization
MCP Apps (SEP-1865) allowing MCP servers to serve interactive HTML UIs rendered in sandboxed iframes
Conversation management with multiple operational modes and tool usage
Guard integration respecting budget, per-tool limits, and runaway detection

Pros & Cons

Pros
  • Open source and free to use
  • Local-first with Ollama integration for privacy
  • Rich experimental features like virtual memory and execution plans
  • Supports both CLI and interactive HTML UIs
  • Includes guard mechanisms for safe tool execution
Cons
  • Experimental features may be unstable or change
  • Requires setup of MCP servers and optional LLM backends
  • Dependency on external LLM services for full functionality

Best For

Testing and interacting with MCP serversLocal AI tool orchestration and automationBuilding and executing multi-step tool call graphsVisualizing and managing conversation context with virtual memoryRunning interactive LLM-driven applications in terminal or browser

FAQ

What is MCP CLI?
MCP CLI is a command-line interface for interacting with Model Context Protocol servers, developed by IBM. It enables communication with LLMs and supports tool usage, conversation management, and multiple operational modes.
Does MCP CLI require an API key?
No, the default configuration uses Ollama with the gpt-oss reasoning model for local, privacy-focused operation without requiring API keys.
What is AI Virtual Memory in MCP CLI?
AI Virtual Memory is an experimental feature that provides OS-style virtual memory for conversation context management, with modes like passive, relaxed, and strict, and a /memory command to visualize VM state.
How do Execution Plans work?
Execution Plans allow creating, inspecting, and executing reproducible tool call graphs via the /plan command or model-driven planning. They support parallel batch execution, dry-run mode, checkpointing resume, and DAG visualization.