Document Tools
Document Tools
Пакет Python, реализующий набор инструментов для работы с документами, предназначенных для конвертации и обработки различных форматов. Эти инструменты доступны через интерфейс MCP-сервера для бесшовной интеграции с ИИ-ассистентами.
Установка
# Create a virtual env and activate it
uv venv
source .venv/bin/activate
# Install the package in development mode
uv pip install -e .Related MCP server: Document Tools
Запуск
# Start the MCP server
uv run main.pyТестирование
# Run all tests
uv run pytestРазработка
Определения инструментов
Инструменты определяются как функции Python и регистрируются на MCP-сервере:
mcp.tool()(my_function)Описания инструментов должны:
Начинаться с краткого описания в одну строку
Содержать подробное объяснение функциональности
Объяснять, когда использовать (и когда не использовать) инструмент
Включать примеры использования с ожидаемыми входными и выходными данными
Используйте Field из pydantic для описания параметров:
from pydantic import Field
def my_tool(
param1: str = Field(description="Detailed description of this parameter"),
param2: int = Field(description="Explain what this parameter does")
) -> ReturnType:
"""Comprehensive docstring here"""
# ImplementationThis server cannot be deployed
Maintenance
Related MCP Connectors
Document-to-Markdown MCP server — convert PDF, Office and HTML into LLM-ready Markdown.
Document conversion MCP server: PDF to Markdown, image OCR, spreadsheet parsing.
Hosted MCP server: convert PDFs to clean, LLM-ready Markdown with tables, formulas and OCR.
Document to Markdown MCP server: PDF, Word, PowerPoint, Excel and HTML, with OCR for large files.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that uses the Docling toolkit to convert various document formats, including PDFs, Office files, images, and audio, into clean Markdown for AI processing. It supports multiple processing pipelines like VLM and ASR with intelligent auto-detection and job queue management.2MIT
- FlicenseNot gradedqualityDmaintenanceEnables document conversion and processing through an MCP server interface for AI assistants.-
- FlicenseNot gradedqualityDmaintenanceAn MCP server that uses Docling to convert PDFs, Office documents, images, audio, and more into clean Markdown for AI processing and RAG pipelines.6-
- FlicenseNot gradedqualityCmaintenanceMCP server that provides document conversion and processing tools, enabling AI assistants to handle document formats through natural language.-