Have the MarkItDown MCP server read MARKITDOWN_ENABLE_PLUGINS from ENV (#1273)

* Have the MarkItdown MCP server read MARKITDOWN_ENABLE_PLUGINS from os.environ

* Update the Dockerfile to enable plugins. No puglins are installed by default.
This commit is contained in:
afourney
2025-06-03 09:35:33 -07:00
committed by GitHub
parent 62b72284fe
commit 3bfb821c09
2 changed files with 12 additions and 1 deletions

View File

@@ -3,8 +3,10 @@ FROM python:3.13-slim-bullseye
ENV DEBIAN_FRONTEND=noninteractive
ENV EXIFTOOL_PATH=/usr/bin/exiftool
ENV FFMPEG_PATH=/usr/bin/ffmpeg
ENV MARKITDOWN_ENABLE_PLUGINS=True
# Runtime dependency
# NOTE: Add any additional MarkItDown plugins here
RUN apt-get update && apt-get install -y --no-install-recommends \
ffmpeg \
exiftool