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:
parent
96daa46a1d
commit
0927445025
1 changed files with 54 additions and 23 deletions
10
examples/qr-server/server.py
Normal file → Executable file
10
examples/qr-server/server.py
Normal file → Executable 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
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue