# 使用 Homebrew 安装 fastmcp

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

## 安装

```sh
sudo av install brew:fastmcp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fastmcp
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:fastmcp
- **软件包管理器:** Homebrew
- **版本:** 3.4.5
- **来源摘要:** Fast, Pythonic way to build MCP servers and clients
- **主页:** <https://gofastmcp.com/getting-started/welcome>
- **仓库:** <https://github.com/jlowin/fastmcp>
- **最后更新:** 2026-07-28T22:31:37Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fastmcp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

FastMCP is Prefect's Python framework for building Model Context Protocol servers, clients, and applications. It turns ordinary Python functions into MCP tools and handles schema generation, validation, transports, authentication, lifecycle, and client behavior.

### 项目历史

The standalone PrefectHQ/fastmcp repository was created on November 30, 2024, and PyPI records the first 0.1.0 upload minutes later. The official docs say FastMCP 1.0 was incorporated into the official MCP Python SDK in 2024, while the standalone project later grew into the actively maintained framework.

The project has moved quickly with the MCP ecosystem. Its upgrade guide documents the shift from the SDK-bundled import path, from mcp.server.fastmcp import FastMCP, to the standalone from fastmcp import FastMCP import, and says most servers can upgrade with that import change.

By 2026, the project was on the 3.x line, with documentation organized around servers, clients, apps, deployment, CLI commands, integrations, and LLM-friendly docs. The README and docs identify Prefect as the maintainer and connect production deployment to Prefect Horizon.

### 采用历史

FastMCP's adoption is unusually fast because it rides the MCP wave: AI agents need tool and data access, and Python developers want a decorator-based framework rather than raw protocol plumbing. The official README claims the standalone project is downloaded a million times a day and that some version of FastMCP powers 70% of MCP servers across languages.

The repository also shows strong current interest, with more than 25,000 GitHub stars in June 2026. That signal should be read as developer attention and ecosystem momentum, not a precise measure of production deployments.

### 使用方式

A minimal FastMCP server creates a FastMCP instance, decorates a Python function with @mcp.tool, and calls mcp.run(). The framework generates the tool schema and handles the MCP side of the server.

FastMCP also includes clients for connecting to local or remote MCP servers, apps for interactive UIs inside conversations, a CLI for running and inspecting servers, and fastmcp.json for portable declarative project configuration. The docs expose llms.txt and markdown pages so LLM-driven coding agents can consume the documentation directly.

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

FastMCP matters to package nerds because it is the framework layer turning MCP from a protocol spec into an installable developer experience. The package bundles a fast-moving protocol client/server stack, a CLI, config conventions, docs meant for LLM consumption, and compatibility guidance for older SDK-bundled servers.

It is also a snapshot of 2025-2026 packaging culture: packages are not just libraries for humans anymore, but surfaces for coding agents, MCP clients, generated configs, and documentation endpoints that tools can read programmatically.

### 时间线

- 2024: FastMCP 1.0 incorporated into the official MCP Python SDK, according to FastMCP docs.
- 2024: Standalone PrefectHQ/fastmcp repository created on November 30.
- 2024: PyPI 0.1.0 uploaded on November 30.
- 2026: FastMCP 3.x documented as the active standalone framework.
- 2026: Repository shows more than 25,000 GitHub stars.

### Related projects

- Model Context Protocol is the protocol FastMCP implements for tools and data access.
- The official MCP Python SDK bundled FastMCP 1.0 and remains a dependency path for compatibility.
- Prefect Horizon is the production MCP gateway promoted by the FastMCP team.

### 来源

- <https://github.com/PrefectHQ/fastmcp>
- <https://raw.githubusercontent.com/PrefectHQ/fastmcp/main/README.md>
- <https://gofastmcp.com/getting-started/welcome.md>
- <https://gofastmcp.com/getting-started/upgrading/from-mcp-sdk.md>
- <https://gofastmcp.com/llms.txt>
- <https://pypi.org/pypi/fastmcp/json>
- <https://api.github.com/repos/PrefectHQ/fastmcp>


## 安全说明

没有找到 fastmcp 的匹配本地密钥处理 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: fastmcp.json

## Combined YAML source

View the package source record on GitHub. [combined/fastmcp.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fastmcp.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
