From tdp
Convert supported local documents to Markdown through the workspace MarkItDown MCP server by staging the input under the markitdown_workdir_path and calling the tool with a file:///workdir/... URI.
npx claudepluginhub bryant-tang/turbo-plugins-claude --plugin tdpThis skill uses the workspace's default tool permissions.
- You need to convert a local file such as `.docx`, `.pptx`, `.xlsx`, `.pdf`, or another MarkItDown-supported document into Markdown.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
.docx, .pptx, .xlsx, .pdf, or another MarkItDown-supported document into Markdown.markitdown_workdir_path user config inside the container as /workdir.markitdown_workdir_path directory.file:///workdir/... URI to mcp_markitdown_convert_to_markdown./workdir to the MarkItDown MCP tool.MARKITDOWN_WORKDIR_PATH environment variable set in .claude/settings.local.json; the default when unset is .markitdown/workdir relative to wherever the MCP server is launched from.dev-1, dev-2, test-1, or test-2, still copy it into the markitdown_workdir_path directory before conversion.markitdown_workdir_path user config/workdir/file:///workdir/<relative-path-inside-workdir><markitdown_workdir_path>/sample/sample.docxfile:///workdir/sample/sample.docxmarkitdown_workdir_path when it helps avoid filename collisions.markitdown_workdir_path.mcp_markitdown_convert_to_markdown with that file:///workdir/... URI.markitdown_workdir_path and is clearly the intended staged temp file, you may reuse it without copying again.markitdown_workdir_path, do not try to reference it directly in the URI; copy it into markitdown_workdir_path first.&&.Run state-changing commands one at a time. Replace <markitdown_workdir_path> with the actual path from user config.
New-Item -ItemType Directory -Force "<markitdown_workdir_path>/sample" | Out-Null
Copy-Item "C:/path/to/source/sample.docx" "<markitdown_workdir_path>/sample/sample.docx" -Force
After conversion, clean up:
Remove-Item "<markitdown_workdir_path>/sample/sample.docx" -Force
mkdir -p "<markitdown_workdir_path>/sample"
cp "C:/path/to/source/sample.docx" "<markitdown_workdir_path>/sample/sample.docx"
After conversion, clean up:
rm -f "<markitdown_workdir_path>/sample/sample.docx"
Then call the MCP tool with:
file:///workdir/sample/sample.docx
markitdown_workdir_path before conversion.mcp_markitdown_convert_to_markdown started with file:///workdir/ and used only the staged relative path..mcp.json under the markitdown server entry, using the MARKITDOWN_WORKDIR_PATH environment variable to allow overriding the staging folder per repo.C:/... or a workspace path such as file:///c:/...; those paths are not valid inside the MarkItDown container.markitdown_workdir_path first, then pretend the container can only see /workdir.