docs/patterns/contrib.mdx
import { VersionBadge } from "/snippets/version-badge.mdx"
<VersionBadge version="2.2.1" />FastMCP includes a contrib package that holds community-contributed modules. These modules extend FastMCP's functionality but aren't officially maintained by the core team.
Contrib modules provide additional features, integrations, or patterns that complement the core FastMCP library. They offer a way for the community to share useful extensions while keeping the core library focused and maintainable.
The available modules can be viewed in the contrib directory.
To use a contrib module, import it from the fastmcp.contrib package:
from fastmcp.contrib import my_module
contrib may have different testing requirements or stability guarantees compared to the core library.contrib without explicit warnings in the main changelog.Contrib modules are accepted selectively. Before opening a PR, first open an issue with the problem, intended maintenance model, and why the pattern belongs in-repo instead of a standalone package. If maintainers agree it belongs in contrib, prepare the module with:
fastmcp_slim/fastmcp/contrib/ for your moduletests/contrib/The ideal contrib module: