macOS
brew install mcphostlocal Homebrew formula metadata
安装
brew install mcphostlocal Homebrew formula metadata
nix profile install nixpkgs#mcphostnixpkgs package indexes · pkgs/by-name/mc/mcphost/package.nix · 来源: api.github.com
sudo zypper install mcphostopenSUSE Tumbleweed package metadata · mcphost · 来源: download.opensuse.org
概览
CLI host for LLMs to interact with tools via MCP
历史
MCPHost is a command-line host application that lets large language models use external tools through the Model Context Protocol. In package terms it is a local, installable MCP client/host: the user configures MCP servers once, chooses a model provider, and interacts with tools from a terminal.
The project was created publicly on GitHub in December 2024, soon after MCP became a common protocol for connecting tools to LLM clients. Its README describes MCPHost as a CLI that supports interactive chat, non-interactive prompts, YAML-based scripts, configurable MCP servers, hooks, multiple model providers, and multiple MCP transports.
MCPHost's configuration story evolved around home-directory YAML or JSON files. The current README says it prefers `.mcphost.yml` or `.mcphost.json`, while retaining `.mcp.yml` and `.mcp.json` for backwards compatibility, which reflects the fast-moving naming conventions of early MCP tooling.
By July 2026, GitHub metadata showed about 1.6k stars and more than 200 forks, enough to make it one of the better-known standalone terminal hosts for MCP workflows. Its release history on GitHub starts with v0.4.3 in January 2025 and reaches v0.34.0 by February 2026.
The project's adoption comes from users who want a model-and-tool terminal rather than a specific desktop app. The README documents providers such as Anthropic, OpenAI, Google, Ollama, and OpenAI-compatible endpoints, which helped it fit mixed local and hosted model setups.
A typical user installs `mcphost`, places MCP server definitions in `~/.mcphost.yml` or a compatible JSON/YAML file, and starts an interactive session with `mcphost`. The same binary can also run one-shot prompts with `-p`, choose models with `--model`, override provider URLs and API keys with flags, or execute script files with YAML front matter.
For MCP configuration, the README documents local, remote, and builtin server types mapped to stdio, streamable HTTP, and in-process transports. It also supports environment-variable substitution in config files, which is the documented way to keep API keys out of committed configuration.
MCPHost is package-nerd interesting because it packages the host side of MCP as a single CLI rather than requiring a GUI client. That makes it useful in shell scripts, CI jobs, demos, and reproducible examples where a Homebrew or Nix install is easier to explain than editor-specific setup.
Its backwards-compatible config filenames also show a common early-ecosystem pattern: tools stabilized around MCP names while retaining older generic `.mcp` files so existing users did not have to rewrite local setups.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.mcphost.yml~/.mcphost.json~/.mcp.yml~/.mcp.json%USERPROFILE%\.mcphost.yml%USERPROFILE%\.mcphost.json%USERPROFILE%\.mcp.yml%USERPROFILE%\.mcp.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mcphost | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/mark3labs/mcphost
安装元数据
| 软件包键 | brew:mcphost |
|---|---|
| 版本 | 0.34.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/mcphost |
| 主页 | https://github.com/mark3labs/mcphost |
| 仓库 | https://github.com/mark3labs/mcphost |
| 上游文档 | https://github.com/mark3labs/mcphost#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/mark3labs/mcphost/archive/refs/tags/v0.34.0.tar.gz |
| 最后更新 | 2026-07-17T17:20:41+09:00 |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mcphost |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
mcphost
nix profile install nixpkgs#mcphostmcphost 0.34.0-8.1
A CLI host application for the Model Context Protocol (MCP)
https://github.com/mark3labs/mcphost
sudo zypper install mcphostmcphost-bash-completion 0.34.0-8.1
Bash Completion for mcphost
https://github.com/mark3labs/mcphost
sudo zypper install mcphost-bash-completionmcphost-fish-completion 0.34.0-8.1
Fish Completion for mcphost
https://github.com/mark3labs/mcphost
sudo zypper install mcphost-fish-completionmcphost-zsh-completion 0.34.0-8.1
ZSH Completion for mcphost
https://github.com/mark3labs/mcphost
sudo zypper install mcphost-zsh-completion来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.