# 使用 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
- **版本:** 0.12.0
- **来源摘要:** Bridge between Streamable HTTP and stdio MCP transports
- **主页:** <https://github.com/sparfenyuk/mcp-proxy>
- **最后更新:** 2026-07-17T10:20:03Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.12.0
## 项目历史与用法

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。


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

- 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


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
