[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "docx-mcp"
version = "0.1.0"
description = "MCP server for comprehensive Word document manipulation"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Rajesh"}
]
keywords = ["mcp", "docx", "word", "document", "server"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"mcp>=1.0.0",
"python-docx>=1.1.0",
"docx2txt>=0.9",
"Pillow>=10.0.0",
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"fastmcp>=2.14.1",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"black>=23.0.0",
"ruff>=0.1.0",
"mypy>=1.5.0",
]
[project.urls]
Homepage = "https://github.com/rajesh/docx-mcp"
Documentation = "https://github.com/rajesh/docx-mcp#readme"
Repository = "https://github.com/rajesh/docx-mcp.git"
Issues = "https://github.com/rajesh/docx-mcp/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/docx_mcp"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.coverage.run]
source = ["src/docx_mcp"]
omit = ["*/tests/*", "*/test_*.py"]
[tool.black]
line-length = 100
target-version = ["py310", "py311", "py312"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true