#!/usr/bin/env python3
"""
Entry point for the MCP server that can be called directly.
This script runs the FastMCP server with stdio transport.
"""
import asyncio
import sys

# Add current directory to path
sys.path.insert(0, __file__.rsplit('/', 1)[0])

from cli import mcp

if __name__ == "__main__":
    try:
        asyncio.run(mcp.run())
    except KeyboardInterrupt:
        print("\nServer stopped.")
        sys.exit(0)