markitdown/packages/markitdown-mcp
2025-03-24 23:47:39 -07:00
..
src/markitdown_mcp Bump version. 2025-03-24 23:47:39 -07:00
tests Initial placeholder for MarkItDown MCP Server package 2025-03-24 09:33:31 -07:00
pyproject.toml Added an initial minimal SSE MCP server for MarkItDown 2025-03-24 23:19:26 -07:00
README.md Updated README 2025-03-24 23:46:58 -07:00

MarkItDown-MCP

PyPI PyPI - Downloads Built by AutoGen Team

The markitdown-mcp package provides a lightweight SSE MCP server for calling MarkItDown.

It exposes one tool: convert_to_markdown(uri), where uri can be any http:, https:, file:, or data: URI.

Installation

To install the package, use pip:

pip install markitdown-mcp

Usage

To run the MCP server, use the following command:

markitdown-mcp --host 127.0.0.1 --port 3001

Accessing from Claude Desktop

TODO

Debugging

To debug the MCP server you can use the mcpinspector tool.

npx @modelcontextprotocol/inspector

You can then connect to the insepctor through the specified host and port (e.g., http://localhost:5173/).

Then:

  • select SSE as the transport type,
  • input http://127.0.0.1:3001/sse as the URL, and
  • click Connect

Finally:

  • click the Tools tab,
  • click List Tools,
  • click convert_to_markdown, and
  • run the tool on any valid URI.

Security Considerations

The server does not support authentication, and runs with the privileges of the user running it. It is recommended to run the server bound to localhost (default).

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.