Automic VaultAutomic Vault

brew

使用 Homebrew 安装 fastmcp

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install fastmcp

local Homebrew formula metadata

概览

软件包摘要

Fast, Pythonic way to build MCP servers and clients

命令和别名

  • fastmcp

历史

项目历史与用法

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.

安全态势

尚未找到受保护工具覆盖

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

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 7 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
fastmcp.json

可执行文件

已安装的可执行文件

命令类型暴露范围备注
fastmcpcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本3.4.3
管理器更新时间2026-07-07
本地数据OK
上游not checked
检测到的最新版本未检测到

https://gofastmcp.com/getting-started/welcome

安装元数据

软件包元数据

软件包键brew:fastmcp
版本3.4.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/fastmcp
主页https://gofastmcp.com/getting-started/welcome
仓库https://github.com/PrefectHQ/fastmcp
上游文档https://gofastmcp.com/getting-started/welcome
许可证Apache-2.0
源码归档https://files.pythonhosted.org/packages/f2/92/cf0e921675af66534eb6dfffffa1871b5062f01650bcea63b62005a12f50/fastmcp-3.4.3.tar.gz
最后更新2026-07-07T02:25:39Z
Pulseupdated
依赖certifi, cryptography, libyaml, pydantic, python@3.14, rpds-py, uv
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namefastmcp
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment