# 使用 Homebrew, Nix 安装 mcp-proxy

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

## 安装

```sh
sudo av install brew:mcp-proxy
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mcp-proxy
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mcp-proxy
```

  证据: nixpkgs package indexes: pkgs/by-name/mc/mcp-proxy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:mcp-proxy
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mcp-proxy>
- **版本:** 0.12.0
- **来源摘要:** Bridge between Streamable HTTP and stdio MCP transports
- **主页:** <https://github.com/sparfenyuk/mcp-proxy>
- **仓库:** <https://github.com/sparfenyuk/mcp-proxy>
- **上游文档:** <https://github.com/sparfenyuk/mcp-proxy>
- **许可证:** MIT
- **源码归档:** <https://files.pythonhosted.org/packages/3e/59/140a08a3282ee66b9c4726db4fb168844110f773cd1248bf051409bef04a/mcp_proxy-0.12.0.tar.gz>
- **最后更新:** 2026-06-21T10:47:08Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- mcp-proxy (cli)
- mcp-reverse-proxy (cli)
- mcp-proxy (别名)
- mcp-reverse-proxy (别名)

## 依赖

- certifi
- cryptography
- pydantic
- python@3.14
- rpds-py

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.12.0
- 管理器更新时间: 2026-06-21
- 本地数据: OK
- 上游仓库: https://github.com/sparfenyuk/mcp-proxy
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

mcp-proxy is a Python CLI bridge for switching between MCP transports. It connects stdio-only MCP clients to remote SSE or Streamable HTTP servers, and can also expose a local stdio server over an HTTP-facing MCP transport.

### 项目历史

The public repository was created in December 2024, early in the wave of small utilities that filled gaps between rapidly changing MCP client and server transport support. Its README defines two core modes: stdio to SSE/Streamable HTTP and SSE to stdio.

As MCP moved beyond purely local stdio servers, mcp-proxy became a practical compatibility layer rather than a general-purpose network proxy. The README is careful to frame it as a transport switcher for MCP clients and servers, with command-line options for headers, OAuth client credentials, CORS, named servers, and environment passing.

### 采用历史

The project is packaged on PyPI, can be installed with uv or pipx, and is also available through Homebrew and Nix according to the input package facts. That mix made it convenient for both Python tool users and package-manager users who wanted a stable `mcp-proxy` command.

GitHub metadata showed thousands of stars and hundreds of forks by July 2026, and the release feed showed continued 0.x releases into 2026. That adoption pattern matches its niche: a small command-line compatibility tool that becomes widely referenced while clients catch up with newer MCP transports.

### 使用方式

In stdio-to-remote mode, users place `mcp-proxy` in an MCP client configuration and pass the remote SSE endpoint or Streamable HTTP endpoint as an argument. The README documents optional authorization headers and an `API_ACCESS_TOKEN` environment variable for bearer-token scenarios.

In remote-to-stdio mode, users run `mcp-proxy` with a local MCP server command and a listening port, optionally defining named servers in JSON. This lets remote clients reach local stdio MCP servers at URL paths such as `/servers/<name>/`.

### 为什么软件包爱好者会关心

mcp-proxy matters to package users because it turns transport support into a package-manager-installable shim. Instead of waiting for every MCP client to support every transport, users can install one CLI and keep existing server packages unchanged.

It is also a good example of the MCP ecosystem's early packaging style: small, single-purpose CLIs distributed through language-native channels first, then wrapped by system package managers once they become common glue in user configurations.

### 时间线

- 2024: GitHub repository created for sparfenyuk/mcp-proxy.
- 2025: README documents stdio, SSE, and Streamable HTTP transport bridging.
- 2025: Named server configuration and JSON config support documented.
- 2026: v0.12.0 release published, with active 0.x release cadence continuing.

### Related projects

- modelcontextprotocol/inspector includes its own MCP proxy component for the Inspector UI.
- geelen/mcp-remote focuses on remote MCP servers with OAuth support for stdio-only clients.
- MCP clients such as Claude Desktop are common consumers of mcp-proxy configurations.

### 来源

- <https://api.github.com/repos/sparfenyuk/mcp-proxy>
- <https://api.github.com/repos/sparfenyuk/mcp-proxy/releases>
- <https://github.com/sparfenyuk/mcp-proxy>
- <https://github.com/sparfenyuk/mcp-proxy#readme>
- source_facts.package-manager


## 安全说明

没有找到 mcp-proxy 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mcp-proxy
- **Version Scheme:** 0
- **Revision:** 3
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Nix - mcp-proxy: normalized package name match | nixpkgs package indexes: pkgs/by-name/mc/mcp-proxy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [MCP tool packages](https://www.automicvault.com/zh-hans/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [brook](https://www.automicvault.com/zh-hans/pkg/brew/brook/) - Shares av.db curated category or tags: cli, networking, proxy.
- [cntlm](https://www.automicvault.com/zh-hans/pkg/brew/cntlm/) - Shares av.db curated category or tags: cli, networking, proxy.
- [connect](https://www.automicvault.com/zh-hans/pkg/brew/connect/) - Shares av.db curated category or tags: cli, networking, proxy.
- [ctrld](https://www.automicvault.com/zh-hans/pkg/brew/ctrld/) - Shares av.db curated category or tags: cli, networking, proxy.
- [dante](https://www.automicvault.com/zh-hans/pkg/brew/dante/) - Shares av.db curated category or tags: cli, networking, proxy.
- [dsocks](https://www.automicvault.com/zh-hans/pkg/brew/dsocks/) - Shares av.db curated category or tags: cli, networking, proxy.
- [envoy](https://www.automicvault.com/zh-hans/pkg/brew/envoy/) - Shares av.db curated category or tags: cli, networking, proxy.
- [geph4](https://www.automicvault.com/zh-hans/pkg/brew/geph4/) - Shares av.db curated category or tags: cli, networking, proxy.
- [mcp-proxy](https://www.automicvault.com/zh-hans/pkg/npm/mcp-proxy/) - Same normalized package name appears in another local ecosystem. Shared terms: mcp, mcp-proxy, proxy, sse, stdio.
- [mcp-google-sheets](https://www.automicvault.com/zh-hans/pkg/brew/mcp-google-sheets/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, cryptography, mcp, pydantic.
- [sshuttle](https://www.automicvault.com/zh-hans/pkg/brew/sshuttle/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, networking, proxy, python, python-3-14.
- [mcp-proxy](https://www.automicvault.com/zh-hans/pkg/npm/mcp-proxy/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/mcp-proxy.yml](https://github.com/automic-vault/db/blob/main/combined/mcp-proxy.yml)


## 来源

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