Team Ai
Apppublic

programmingwithabdullah/todo-aipowered

sourceHugging Faceupdated 8mo agoView on Hugging Face
0likes
start_server.py27 linesDownload Raw Back to mcp_server
1#!/usr/bin/env python32"""3Start script for MCP Server4"""5import asyncio6import sys7import os8 9from server import main10 11 12async def run_mcp_server():13    """Run the MCP Server."""14    print("Starting MCP Server for Task Management...")15    print("MCP Server will be available for agent connections")16    try:17        await main()18    except KeyboardInterrupt:19        print("\nMCP Server stopped by user")20    except Exception as e:21        print(f"MCP Server error: {e}")22        sys.exit(1)23 24 25if __name__ == "__main__":26    asyncio.run(run_mcp_server())27