[project] name = "awslabs.document-loader-mcp-server" version = "1.0.22" description = "An AWS Labs Model Context Protocol (MCP) server for document parsing" readme = "README.md" requires-python = ">=3.10" dependencies = [ "fastmcp>=3.2.0", "pdfplumber>=0.10.0", "markitdown[docx,xlsx,pptx]>=0.1.2", "loguru>=0.7.0", "pdf2image>=1.16.0", ] license = {text = "Apache-2.0"} license-files = ["LICENSE", "NOTICE"] authors = [ {name = "Amazon Web Services"}, {name = "AWSLabs MCP", email="203918161+awslabs-mcp@users.noreply.github.com"}, ] classifiers = [ "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", ] [project.scripts] "awslabs.document-loader-mcp-server" = "awslabs.document_loader_mcp_server.server:main" [project.optional-dependencies] dev = [ "pyright>=1.1.398", "pytest>=7.0.0", "pytest-asyncio>=0.21.0" ] [project.urls] Homepage = "https://awslabs.github.io/mcp/" Documentation = "https://awslabs.github.io/mcp/servers/document-loader-mcp-server/" Source = "https://github.com/awslabs/mcp.git" "Bug Tracker" = "https://github.com/awslabs/mcp/issues" Changelog = "https://github.com/awslabs/mcp/blob/main/src/document-loader-mcp-server/CHANGELOG.md" [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.metadata] allow-direct-references = true [tool.hatch.build.targets.wheel] packages = ["awslabs"] [dependency-groups] dev = [ "commitizen>=4.2.2", "pre-commit>=4.1.0", "ruff>=0.9.7", "pyright>=1.1.398", "pytest>=7.0.0", "pytest-asyncio>=0.21.0", "pytest-cov>=4.1.0", "reportlab>=4.0.0", "python-docx>=1.1.0", "pillow>=10.0.0", "bandit>=1.8.6", ] [tool.ruff] line-length = 99 extend-include = ["*.ipynb"] exclude = [ ".venv", "**/__pycache__", "**/node_modules", "**/dist", "**/build", "**/env", "**/.ruff_cache", "**/.venv", "**/.ipynb_checkpoints" ] force-exclude = true [tool.ruff.lint] exclude = ["__init__.py"] select = ["C", "D", "E", "F", "I", "W"] ignore = ["C901", "E501", "E741", "F402", "F823", "D100", "D106"] [tool.ruff.lint.isort] lines-after-imports = 2 no-sections = true [tool.ruff.lint.per-file-ignores] "**/*.ipynb" = ["F704"] [tool.ruff.lint.pydocstyle] convention = "google" [tool.ruff.format] quote-style = "single" indent-style = "space" skip-magic-trailing-comma = false line-ending = "auto" docstring-code-format = true [tool.commitizen] name = "cz_conventional_commits" version = "1.0.0" tag_format = "v$version" version_files = [ "pyproject.toml:version", "awslabs/document_loader_mcp_server/__init__.py:__version__" ] update_changelog_on_bump = true [tool.pytest.ini_options] markers = [ "live: marks tests that make live API calls (deselect with '-m \"not live\"')", "asyncio: marks tests that use asyncio" ] asyncio_mode = "strict" asyncio_default_fixture_loop_scope = "function" [tool.bandit] exclude_dirs = ["venv","tests"] [tool.coverage.run] source = ["awslabs"] [tool.pyright] include = ["awslabs"] exclude = ["**/__pycache__", "**/.venv", "**/node_modules", "**/dist", "**/build"]