Spaces:
Configuration error
Configuration error
Download scripts/run_mcp_server.py from Brettapps/Trifecta-Lab: direct link, hf CLI and curl.
- Browser
- Download file 263 Bytes
-
https://huggingface.co/spaces/Brettapps/Trifecta-Lab/resolve/main/scripts/run_mcp_server.py
- Command line
-
hf download hf://spaces/Brettapps/Trifecta-Lab/scripts/run_mcp_server.py
-
curl -L -o run_mcp_server.py https://huggingface.co/spaces/Brettapps/Trifecta-Lab/resolve/main/scripts/run_mcp_server.py
263 Bytes
| import asyncio | |
| import sys | |
| from pathlib import Path | |
| SRC = Path(__file__).resolve().parents[1] / "src" | |
| sys.path.insert(0, str(SRC)) | |
| from mcp_server import mcp | |
| async def _main(): | |
| await mcp.run_stdio_async() | |
| if __name__ == "__main__": | |
| asyncio.run(_main()) | |