Something went wrong. Try again.
mirror of github.com/PrefectHQ/fastmcp
Something went wrong. Try again.
fastmcp justfile
1234567891011121314151617181920212223242526272829303132333435363738394041424344api_ref_package := "fastmcp-slim[anthropic,apps,azure,client,code-mode,gemini,openai,server] @ file://" + justfile_directory() + "/fastmcp_slim"
# Build the projectbuild: uv sync
# Run teststest: build uv run --frozen pytest -xvs tests
# Run ty type checker on all filestypecheck: uv run --frozen ty check
# Serve documentation locallydocs: cd docs && npx --yes mint@latest dev
# Check for broken links in documentationdocs-broken-links: cd docs && npx --yes mint@latest broken-links
# Generate API reference documentation for all modulesapi-ref-all: uvx --with-editable "{{api_ref_package}}" --refresh-package mdxify mdxify@latest --all --root-module fastmcp --nav-output docs/python-sdk-pages.json --exclude fastmcp.contrib# Generate API reference for specific modules (e.g., just api-ref prefect.flows prefect.tasks)api-ref *MODULES: uvx --with-editable "{{api_ref_package}}" --refresh-package mdxify mdxify@latest {{MODULES}} --root-module fastmcp --nav-output docs/python-sdk-pages.json
# Clean up API reference documentationapi-ref-clean: rm -rf docs/python-sdk
copy-context: uvx --with-editable fastmcp_slim --refresh-package copychat copychat@latest fastmcp_slim/fastmcp docs/ -x changelog.mdx -x python-sdk/ -v
# Browse ranked maintainer attention in Textualissues *ARGS: uv run scripts/rank_issues_tui.py {{ARGS}}
# Print the same ranking or export it with --public --jsonissues-table *ARGS: uv run scripts/rank_issues.py {{ARGS}}