Installation
Requirements
- Python 3.10+
Install FastAPI-MCP
We recommend using uv, a fast Python package installer and resolver.
uv add fastapi-mcp
Alternatively, you can install the package using pip
:
pip install fastapi-mcp
This will install fastapi-mcp
and all its required dependencies, which include:
fastapi
mcp
httpx
pydantic
uvicorn
- and others...
You can find the full list of dependencies in the pyproject.toml
file.