services:
web:
# Build the image from the Dockerfile in the current directory
build: .
# Host the FastAPI application on port 8000
ports:
- "8000:8000"
develop:
# Create a `watch` configuration to update the app
# https://docs.docker.com/compose/file-watch/#compose-watch-versus-bind-mounts
watch:
# Sync the working directory with the `/app` directory in the container
- action: sync
path: .
target: /app
# Exclude the project virtual environment — it could be for a
# different platform in the container
ignore:
- .venv/
# Rebuild the image if dependencies change by checking uv.lock
- action: rebuild
path: ./uv.lock
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/brunolnetto/fastapi-crud-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server