# 使用 Homebrew 安装 mockserver

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mockserver
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:mockserver
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mockserver>
- **版本:** 7.5.0
- **来源摘要:** Mock HTTP server and proxy
- **主页:** <https://www.mock-server.com/>
- **上游文档:** <https://www.mock-server.com/>
- **许可证:** Apache-2.0
- **源码归档:** <https://search.maven.org/remotecontent?filepath=org/mock-server/mockserver-netty/7.5.0/mockserver-netty-7.5.0-brew-tar.tar>
- **最后更新:** 2026-07-29T19:57:03Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mockserver (cli)
- mockserver (别名)

## 依赖

- openjdk

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 7.5.0
- 管理器更新时间: 2026-07-29
- 本地数据: OK
- 上游仓库: https://www.mock-server.com/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

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。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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
## 源数据库详情

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


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openjdk](https://pkg.so/zh-hans/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [moco](https://pkg.so/zh-hans/brew/moco/) - Shares pkgdb curated category or tags: api, cli, developer-tools, http, testing.
- [prism-cli](https://pkg.so/zh-hans/brew/prism-cli/) - Shares pkgdb curated category or tags: api, cli, developer-tools, testing.
- [gor](https://pkg.so/zh-hans/brew/gor/) - Shares pkgdb curated category or tags: cli, developer-tools, http, testing.
- [lcov](https://pkg.so/zh-hans/brew/lcov/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [bats-core](https://pkg.so/zh-hans/brew/bats-core/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [allure](https://pkg.so/zh-hans/brew/allure/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [kcov](https://pkg.so/zh-hans/brew/kcov/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [mockolo](https://pkg.so/zh-hans/brew/mockolo/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [selenium-server](https://pkg.so/zh-hans/brew/selenium-server/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, openjdk, server.

## 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
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
