MCP & agents

Testing the MarkItDown MCP Server End to End: STDIO, One Tool, Real Calls

DEV: mcp Jeremy Xiao
MCP & agents

Microsoft's open-source MarkItDown converter now sits behind MCP as markitdown-mcp, and this hands-on test drives it from a small Python client over STDIO in a clean virtualenv. The point is to see exactly what the server exposes and how it behaves when a call fails before wiring it into an agent.

Key points

  • The server exposes exactly one tool, convert_to_markdown, whose only input is a required uri string.
  • The install pulled 73 packages, including markitdown 0.1.9 and mcp SDK 2.3.0; markitdown-mcp itself was 0.0.1a8.
  • STDIO is the default transport; --http adds Streamable HTTP plus SSE, and --sse is listed as a deprecated alias.
  • An XLSX sheet came back as a pipe table under a ## heading, while HTML kept headings, bold/italic, bullets and links.
  • A missing file does not break the session: the call returns isError: True with a message that omits the full path.
  • The README warns there is no authentication and the server runs with the starting user's privileges, so HTTP binds to localhost by default.

Real-world use

  • A developer who wants an agent to read PDFs, spreadsheets and HTML without writing a parser per format
  • Teams feeding the converted Markdown into a retrieval pipeline and checking how well it chunks
  • Sending inline content as a data: URI when the bytes are in memory or the server cannot see the client's filesystem
  • Anyone planning to mount a single directory through the Docker image before pointing Claude Desktop at the server

This summary was generated by the agent from the original post on DEV: mcp. The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message