Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, zypper 安装 mcphost

查看 mcphost 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install mcphost

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#mcphost

nixpkgs package indexes · pkgs/by-name/mc/mcphost/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install mcphost

openSUSE Tumbleweed package metadata · mcphost · 来源: download.opensuse.org

概览

软件包摘要

CLI host for LLMs to interact with tools via MCP

命令和别名

  • mcphost

历史

项目历史与用法

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.

时间线

  • 2024-12: GitHub repository created.
  • 2025-01: v0.4.3 release published.
  • 2025: README documents preferred `.mcphost` config files plus backwards-compatible `.mcp` config files.
  • 2026-02: v0.34.0 release published.

Related projects

  • MCPHost is related to MCP server packages such as MCP Toolbox for Databases and to inspection/interaction tools such as mcptools. It also overlaps with MCP-aware coding clients and agent CLIs, but its niche is hosting model conversations and MCP servers directly from the terminal.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.mcphost.yml~/.mcphost.json~/.mcp.yml~/.mcp.json
Windows
%USERPROFILE%\.mcphost.yml%USERPROFILE%\.mcphost.json%USERPROFILE%\.mcp.yml%USERPROFILE%\.mcp.json

可执行文件

已安装的可执行文件

命令类型暴露范围备注
mcphostcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.34.0
管理器更新时间2026-07-17
本地数据OK
上游当前
检测到的最新版本v0.34.0

https://github.com/mark3labs/mcphost

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemcphost
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

mcphost

nix profile install nixpkgs#mcphost
  • normalized package name match
  • 匹配方式:Mcphost
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/mc/mcphost/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
zypper95%

mcphost 0.34.0-8.1

A CLI host application for the Model Context Protocol (MCP)

https://github.com/mark3labs/mcphost

sudo zypper install mcphost
  • License: MIT and Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mcphost
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mcphost
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: mcphost from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

mcphost-bash-completion 0.34.0-8.1

Bash Completion for mcphost

https://github.com/mark3labs/mcphost

sudo zypper install mcphost-bash-completion
  • License: MIT and Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: mcphost
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mcphost
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: mcphost-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

mcphost-fish-completion 0.34.0-8.1

Fish Completion for mcphost

https://github.com/mark3labs/mcphost

sudo zypper install mcphost-fish-completion
  • License: MIT and Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: mcphost
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mcphost
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: mcphost-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

mcphost-zsh-completion 0.34.0-8.1

ZSH Completion for mcphost

https://github.com/mark3labs/mcphost

sudo zypper install mcphost-zsh-completion
  • License: MIT and Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: mcphost
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mcphost
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: mcphost-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment