Skip to content

Commit f35f57c

Browse files
authored
fix: add back the __init__.py in mcp_server_tim
1 parent f3e1469 commit f35f57c

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
from .server import serve
2+
3+
4+
def main():
5+
"""MCP Time Server - Time and timezone conversion functionality for MCP"""
6+
import argparse
7+
import asyncio
8+
9+
parser = argparse.ArgumentParser(
10+
description="give a model the ability to handle time queries and timezone conversions"
11+
)
12+
parser.add_argument("--local-timezone", type=str, help="Override local timezone")
13+
14+
args = parser.parse_args()
15+
asyncio.run(serve(args.local_timezone))
16+
17+
18+
if __name__ == "__main__":
19+
main()

0 commit comments

Comments
 (0)