feat(qr-server): migrate to uv with PEP 723 inline dependencies

- Replace requirements.txt with inline script dependencies in server.py
- Add package.json with npm scripts for run-all.ts integration
- Update CI workflow to install uv via astral-sh/setup-uv@v5
- Update Docker commands to install uv for e2e tests
- Add Playwright golden screenshot for qr-server
- Update README with uv installation and usage instructions
This commit is contained in:
Anton Pidkuiko MacBook 2026-01-14 20:27:35 +00:00
commit 0927445025
No known key found for this signature in database

10
examples/qr-server/server.py Normal file → Executable file
View file

@ -1,3 +1,13 @@
#!/usr/bin/env uv run
# /// script
# requires-python = ">=3.10"
# dependencies = [
# "mcp>=1.9.0",
# "qrcode[pil]>=8.0",
# "uvicorn>=0.34.0",
# "starlette>=0.46.0",
# ]
# ///
"""
QR Code MCP Server - Generates QR codes from text
"""