[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mcp-gmail"
version = "0.1.0"
description = "Gmail MCP Server for personal inbox management with Home Assistant integration"
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
authors = [
{ name = "Your Name", email = "you@example.com" }
]
keywords = ["mcp", "gmail", "home-assistant", "email"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"mcp>=1.0.0",
"google-api-python-client>=2.100.0",
"google-auth-httplib2>=0.1.0",
"google-auth-oauthlib>=1.0.0",
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"pyyaml>=6.0",
"fastapi>=0.104.0",
"uvicorn>=0.24.0",
"python-dotenv>=1.0.0",
"httpx>=0.25.0",
"aiofiles>=23.0.0",
"starlette>=0.27.0",
"sse-starlette>=1.6.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
]
[project.scripts]
mcp-gmail = "mcp_gmail.server:main"
mcp-gmail-auth = "mcp_gmail.auth:setup_oauth"
mcp-gmail-api = "mcp_gmail.api:main"
mcp-gmail-sse = "mcp_gmail.sse_server:main"
mcp-gmail-combined = "mcp_gmail.combined_server:main"
[tool.hatch.build.targets.wheel]
packages = ["src/mcp_gmail"]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.mypy]
python_version = "3.11"
strict = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]