fix: add back the __init__.py in mcp_server_tim

This commit is contained in:
S1M0N38
2025-02-20 00:59:00 +01:00
committed by GitHub
parent f3e14698c9
commit f35f57c333

View File

@@ -0,0 +1,19 @@
from .server import serve
def main():
"""MCP Time Server - Time and timezone conversion functionality for MCP"""
import argparse
import asyncio
parser = argparse.ArgumentParser(
description="give a model the ability to handle time queries and timezone conversions"
)
parser.add_argument("--local-timezone", type=str, help="Override local timezone")
args = parser.parse_args()
asyncio.run(serve(args.local_timezone))
if __name__ == "__main__":
main()