# 使用 Homebrew 安装 mockserver

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

## 安装

```sh
sudo av install brew:mockserver
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mockserver
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:mockserver
- **软件包管理器:** Homebrew
- **版本:** 7.5.0
- **来源摘要:** Mock HTTP server and proxy
- **主页:** <https://www.mock-server.com/>
- **最后更新:** 2026-07-29T19:57:03Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mockserver (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

MockServer is an open-source HTTP and proxy testing tool maintained in the mock-server GitHub organization, with James D Bloom listed as maintainer in the repository. The monorepo was created in 2013, and the project describes itself as an HTTP(S) mock server and proxy for testing, able to mock APIs, inspect or modify traffic, and inject failures.

### 项目历史

Its technical scope expanded from simple HTTP response mocking into a broader service-virtualization tool. The project site describes support for HTTP/1.1, HTTP/2, HTTP/3, HTTPS, gRPC, request recording, proxying, deterministic replacement of fragile dependencies, contract-first development against APIs that do not exist yet, and resilience testing through latency, errors, dropped connections, and malformed responses.

### 使用方式

In practice, developers run MockServer as a standalone service, Docker container, Java/Maven test dependency, or CLI-installed server, then create expectations over HTTP APIs or client libraries. Homebrew packages the `mockserver` executable for local use, placing it in the developer-testing niche between lightweight fake servers and larger commercial service-virtualization platforms.

### 来源

- <https://api.github.com/repos/mock-server/mockserver-monorepo>
- <https://formulae.brew.sh/formula/mockserver>
- <https://github.com/mock-server/mockserver-monorepo>
- <https://www.mock-server.com/>


## 安全说明

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



## 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

- Unix: mockserver.properties, mockserver.json

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
