Skip to main content
Glama
zsanjay

Document Tools

by zsanjay

Document Tools

문서 형식을 변환하고 처리하는 다양한 문서 관련 도구를 구현한 Python 패키지입니다. 이러한 도구들은 MCP 서버 인터페이스를 통해 노출되어 AI 어시스턴트와 원활하게 통합됩니다.

설치

# 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)

도구 설명은 다음을 충족해야 합니다:

  • 한 줄 요약으로 시작해야 합니다

  • 기능에 대한 자세한 설명을 제공해야 합니다

  • 도구를 언제 사용해야 하는지(그리고 사용하지 않아야 하는지)를 설명해야 합니다

  • 예상 입력/출력을 포함한 사용 예시를 포함해야 합니다

매개변수 설명에는 pydantic의 Field를 사용하세요:

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"""
    # Implementation

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An 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.
    2
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables document conversion and processing through an MCP server interface for AI assistants.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that uses Docling to convert PDFs, Office documents, images, audio, and more into clean Markdown for AI processing and RAG pipelines.
    6
    -