MCP-CLI-HOST

@vincent-pli Claim

Basic information

Runtime
Python
Category
License
Apache-2.0
Author
vincent-pli
Submitted by
Community
Quality
25
Stars
21

About MCP-CLI-HOST

A CLI host application that enables Large Language Models (LLMs) to interact with external tools through the Model Context Protocol (MCP).

MCP-CLI-HOST is a MCP client in the Agent Framework category listed in the AddMCP.net directory, published by vincent-pli. Runtime: Python. License: Apache-2.0. The repository has 21 GitHub stars. Source code is hosted on github.com.

MCP-CLI-HOST config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

MCP-CLI-HOST tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP-CLI-HOST?

MCP-CLI-HOST is a command-line host application that enables Large Language Models (LLMs) to interact with external tools through the Model Context Protocol (MCP). It runs in the terminal and supports models from OpenAI, Azure OpenAI, Deepseek, and Ollama, making it suitable for developers and LLM users who want to extend AI capabilities with external tools.

How to use MCP-CLI-HOST?

Install via pip install mcp-cli-host. Set environment variables for API keys (e.g., OPENAI_API_KEY) or for Azure OpenAI (e.g., AZURE_OPENAI_DEPLOYMENT). For Ollama, install and run the Ollama service. Configure MCP servers in ~/.mcp.json or a custom path using the --config flag, then run mcpclihost -m \x3Cprovider:model> to start an interactive session.

Key features of MCP-CLI-HOST

  • Interactive conversations with multiple LLM models
  • Support for multiple concurrent MCP servers
  • Dynamic tool discovery and integration
  • Configurable message history window for context management
  • Tool calling capabilities for both model types
  • Monitor and trace errors from server side

Use cases of MCP-CLI-HOST

  • Querying a SQLite database through an LLM-powered chat interface
  • Managing filesystem operations via a conversational AI assistant
  • Combining multiple MCP servers (e.g., database and web scraping) in one session
  • Experimenting with different LLMs (OpenAI, Deepseek, Ollama) while retaining the same tooling environment

Frequently asked questions

1 Which LLM models does MCP-CLI-HOST support?

It supports OpenAI, Azure OpenAI, Deepseek, and Ollama models. Use the -m flag with the format provider:model, for example deepseek:deepseek-chat or ollama:qwen2.5:3b.

2 How do I configure MCP servers?

Create a JSON configuration file (default ~/.mcp.json) with entries for each server, specifying the command and arguments. Use the --config flag to point to a custom location.

3 Does MCP-CLI-HOST work with any MCP server?

Yes, it can work with any MCP-compliant server. The README references the official MCP Servers Repository for examples.

4 What is the license for MCP-CLI-HOST?

This project is licensed under the Apache 2.0 License.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬