Initial commit

This commit is contained in:
Haris Musa
2025-02-16 22:39:18 +05:00
parent 09f4b2acb3
commit 4e82b8a7b2
18 changed files with 3200 additions and 0 deletions

21
src/excel_mcp/__main__.py Normal file
View File

@ -0,0 +1,21 @@
import asyncio
from .server import run_server
def main():
"""Start the Excel MCP server."""
try:
print("Excel MCP Server")
print("---------------")
print("Starting server... Press Ctrl+C to exit")
asyncio.run(run_server())
except KeyboardInterrupt:
print("\nShutting down server...")
except Exception as e:
print(f"\nError: {e}")
import traceback
traceback.print_exc()
finally:
print("Server stopped.")
if __name__ == "__main__":
main()