[project]
name = "mcp-ynab"
version = "0.1.0"
description = "MCP server for YNAB API integration"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"mcp[cli]>=0.5.0",
"httpx>=0.26.0",
"pydantic>=2.0.0",
"ynab>=1.0.1",
"python-dotenv>=1.0.0",
"xdg>=6.0.0",
]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.black]
line-length = 100
target-version = ["py312"]
[project.scripts]
mcp-ynab = "mcp_ynab:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"pytest>=8.3.4",
"pytest-asyncio>=0.25.3",
"pytest-cov>=6.0.0",
"black>=24.0.0",
"ruff>=0.9.4",
"mypy>=1.15.0",
]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
markers = [
"integration: marks tests as integration tests that require YNAB API access",
"asyncio: mark tests as async tests",
]
addopts = "-v -ra --strict-markers -m 'not integration'"