Skip to main content
Glama
File1979

Document Tools

by File1979

Document Tools

一个实现多种文档相关工具的 Python 包,用于转换和处理文档格式。这些工具通过 MCP server 接口暴露,以便与人工智能助手无缝集成。

设置

# 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: MCP Document Reader

运行

# Start the MCP server
uv run main.py

测试

# Run all tests
uv run pytest

开发

工具定义

工具被定义为 Python 函数,并注册到 MCP server 中:

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
F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    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
    -
    quality
    C
    maintenance
    Enables document conversion and processing through an MCP server interface for AI assistants.
  • A
    license
    -
    quality
    B
    maintenance
    MCP server that extracts clean text, tables, and structured data from documents, images, code, and audio files, supporting 97 formats with OCR, transcription, and code intelligence.
    MIT

View all related MCP servers

Related MCP Connectors

  • OCR, transcription, file extraction, and image generation for AI agents via MCP.

  • MCP server for Wan AI video generation

  • MCP server for AI dialogue using various LLM models via AceDataCloud

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/File1979/mcp-document-tools'

If you have feedback or need assistance with the MCP directory API, please join our Discord server