独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
V

vincent-pli/mcp-cli-host

CLI host that connects a model to external MCP tools

装之前:有可直接复制的命令 · 许可证未标注 · 链接可访问

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
  1. 复制上面的命令
  2. 粘成 claude_desktop_config.json 里 mcpServers 的一项(本地服务器用 command + args,示例见 客户端接法)
  3. 重启客户端
取自该仓库的安装命令
pip install mcp-cli-host

解析自我们于 2026-11-07 抓取的该仓库 README;我们未执行过。

这条是仓库自己写的安装方式,不是 MCP 客户端配置,所以不生成 JSON。
配置项的键名以你的客户端为准:客户端与 CLI
来源明细
收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 10 个来源 · mcp
安装
pip install mcp-cli-host
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是 pip install mcp-cli-host。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# MCPCLIHost 🤖

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A CLI host application that enables Large Language Models (LLMs) to interact with external tools through the Model Context Protocol (MCP). Currently supports Openai, Azure Openai, Deepseek and Ollama models.
English | 简体中文
## What it looks like: 🤠
## Features ✨
Interactive conversations with multipe LLM models
Support for multiple concurrent MCP servers
Dynamic tool discovery and integration
Configurable MCP server locations and arguments
Configurable message history window for context management
Monitor/trace error from server side
Support Sampling, Roots, Elicitation, retrievling Resource, Prompts
Support runtime exclude specific tool
Show MCP server card when connected
display image from tool call output
## Latest Update 💌
[2025-11-26] Support display image from tool call output
[2025-07-18] Support Streamable HTTP mcp server, OAuth process not support yet
[2025-07-02] Support Elicitation
[2025-06-27] Deal with Prompts in MCP server: Link
[2025-06-20] Deal with Resources in MCP server: Link
## Environment Setup 🔧
1. For Openai and Deepseek:
bash
export OPENAI_API_KEY='your-api-key'
By default for Openai the base_url is "https://api.openai.com/v1"
For deepseek it's "https://api.deepseek.com", you can change it by --base-url
2. For Ollama, need setup firstly:
Install Ollama from https://ollama.ai
Pull your desired model:
bash
ollama pull mistral
Ensure Ollama is running:
bash
ollama serve
3. For Azure Openai:
bash
export AZURE_OPENAI_DEPLOYMENT='your-azure-deployment'
export AZURE_OPENAI_API_KEY='your-azure-openai-api-key'
export AZURE_OPENAI_API_VERSION='your-azure-openai-api-version'
export AZURE_OPENAI_ENDPOINT='your-azure-openai-endpoint'
4. For Google Gemini
bash
export GEMINI_API_KEY='your-gemini-api-token'
## Installation 📦
bash
pip install mcp-cli-host
## Configuration ⚙️
MCPCLIHost will automatically find configuration file at ~/.mcp.json. You can also specify a custom location using the --config flag:
### STDIO mcp server
json
"mcpServers": {
"sqlite": {
"command": "uvx",
"args": [
"mcp-server-sqlite",
"--db-path",
"/tmp/foo.db"
},
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/tmp"
Each MCP server entry requires:
command: The command to run (e.g., uvx, npx)
args: Array of arguments for the command:
For SQLite server: mcp-server-sqlite with database path
For filesystem server: @modelcontextprotocol/server-filesystem with directory path
### Remote mcp server(only support Streamable HTTP)
json
"mcpServers": {
"github": {
"url": "https://api.githubcopilot.com/mcp/",
"headers": {"Authorization": "Bearer "}
## Usage 🚀
MCPCLIHost is a CLI tool that allows you to interact with various AI models through a unified interface. It supports various tools through MCP servers.
### Available Models
Models can be specified using the --model (-m) flag:
Deepseek: deepseek:deepseek-chat
OpenAI: openai:gpt-4
Ollama models: ollama:modelname
Azure Openai: azure:gpt-4-0613
Gemini: gemini:gemini-2.5-flash
### Examples
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/vincent-pli-mcp-cli-host/)
来源
awesome · https://github.com/vincent-pli/mcp-cli-host
按领域浏览
MCP 服务
收录来源
10 个独立来源
收录于
今天

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引