Add initial time server

This commit is contained in:
Mariusz Korzekwa
2024-11-26 01:02:33 +01:00
parent 6d83c78752
commit b7ca691573
8 changed files with 985 additions and 0 deletions

32
src/time/pyproject.toml Normal file
View File

@@ -0,0 +1,32 @@
[project]
name = "mcp-server-time"
version = "0.1.0"
description = "A Model Context Protocol server providing tools for time queries and timezone conversions for LLMs"
readme = "README.md"
requires-python = ">=3.10"
authors = [{ name = "Your Name" }]
keywords = ["time", "timezone", "mcp", "llm"]
license = { text = "MIT" }
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"mcp>=1.0.0",
"pydantic>=2.0.0",
"pytz>=2024.2",
"tzlocal>=5.2",
]
[project.scripts]
mcp-server-time = "mcp_server_time:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
dev-dependencies = ["pyright>=1.1.389", "ruff>=0.7.3"]