4a19d70af1
Lint with Ruff / ruff (push) Has been cancelled
MCP Server Tests / live-mcp-tests (push) Has been cancelled
Tests / unit-tests (push) Has been cancelled
Tests / database-integration-tests (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Server Tests / live-server-tests (push) Has been cancelled
Pyright Type Check / pyright (push) Has been cancelled
27 lines
689 B
Python
Executable File
27 lines
689 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""
|
|
Main entry point for Graphiti MCP Server
|
|
|
|
This is a backwards-compatible wrapper around the original graphiti_mcp_server.py
|
|
to maintain compatibility with existing deployment scripts and documentation.
|
|
|
|
Usage:
|
|
python main.py [args...]
|
|
|
|
All arguments are passed through to the original server implementation.
|
|
"""
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
# Add src directory to Python path for imports
|
|
src_path = Path(__file__).parent / 'src'
|
|
sys.path.insert(0, str(src_path))
|
|
|
|
# Import and run the original server
|
|
if __name__ == '__main__':
|
|
from graphiti_mcp_server import main
|
|
|
|
# Pass all command line arguments to the original main function
|
|
main()
|