#!/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()
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/getzep/graphiti'
If you have feedback or need assistance with the MCP directory API, please join our Discord server