Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

574 B
Raw Blame
# FastMCP Tasks Example Environment Configuration
# Loaded by direnv (https://direnv.net/) when you cd into this directory.
# Run `direnv allow` to enable automatic loading β€” or just `source .envrc`.

# In-process worker on an in-memory backend: no Redis, nothing to start.
# This is the default the example runs on.
export FASTMCP_DOCKET_URL=memory://

# For distributed workers across separate processes
# (`python -m fastmcp_tasks.worker_cli worker`), point at Redis instead and run
# `docker compose up -d` first:
# export FASTMCP_DOCKET_URL=redis://localhost:24242/0