Download run_mcp_server.py from Agents-MCP-Hackathon/Long_Term_Memory_MCP_Server: direct link, hf CLI and curl.
- Browser
- Download file 388 Bytes
-
https://huggingface.co/spaces/Agents-MCP-Hackathon/Long_Term_Memory_MCP_Server/resolve/main/run_mcp_server.py
- Command line
-
hf download hf://spaces/Agents-MCP-Hackathon/Long_Term_Memory_MCP_Server/run_mcp_server.py
-
curl -L -o run_mcp_server.py https://huggingface.co/spaces/Agents-MCP-Hackathon/Long_Term_Memory_MCP_Server/resolve/main/run_mcp_server.py
388 Bytes
| #!/usr/bin/env python3 | |
| """ | |
| Standalone MCP Server runner | |
| Use this script to run only the MCP server without Gradio | |
| """ | |
| import sys | |
| import asyncio | |
| from pathlib import Path | |
| # Add current directory to path | |
| sys.path.insert(0, str(Path(__file__).parent)) | |
| from mcp_server import main | |
| if __name__ == "__main__": | |
| print("🧠 Starting Long Term Memory MCP Server...") | |
| asyncio.run(main()) |