- set up an enviornment with pip or conda and activate it.
conda create --name fast-api-3.12 python=3.12conda activate fast-api-3.12 - install poetry the dependency manager
curl -sSL https://install.python-poetry.org | python3 - - install the packages
poetry install --no-rootor update them if installed usingpoetry update
- start for development -
poetry run fastapi dev app/main.py - start for production -
poetry run fastapi run app/main.py
poetry run black .
poetry run isort .
poetry run flake8 .
poetry run pytest
automatic swagger docs at http://localhost:8000/docs

You can add the MCP server with the url http://localhost:8000/mcp to any chat client that supports MCP servers like Claude, VSCode, ChatGPT and more. Once you allow the chat client to use the MCP server you can converse with it in natural language.