Skip to content

chore: Add server markitdown-mcp from issue #82 #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 93 additions & 0 deletions mcp-registry/servers/markitdown.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"display_name": "MarkItDown MCP Server",
"license": "MIT",
"tags": [
"markdown",
"conversion",
"server",
"AutoGen",
"document conversion"
],
"installations": {
"python": {
"type": "uvx",
"command": "uvx",
"args": [
"markitdown-mcp"
],
"description": "Run the MCP server using SSE"
}
},
"arguments": {
"HOST": {
"description": "Host to bind to, default to 127.0.0.1",
"required": false,
"example": "127.0.0.1"
},
"PORT": {
"description": "Port to bind to, default to 3001",
"required": false,
"example": "3001"
}
},
"examples": [
{
"title": "",
"description": "",
"prompt": "Convert this webpage to markdown: https://github.com/microsoft/markitdown"
},
{
"title": "",
"description": "",
"prompt": "Please convert the following URL to markdown: https://example.com"
},
{
"title": "",
"description": "",
"prompt": "Convert this local file to markdown: file:///workdir/example.txt"
},
{
"title": "",
"description": "",
"prompt": "Can you convert this data URI to markdown? data:text/html,<h1>Hello World</h1>"
},
{
"title": "",
"description": "",
"prompt": "Convert https://microsoft.github.io/autogen/ to markdown format"
}
],
"name": "markitdown",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/markitdown/tree/main/packages/markitdown-mcp"
},
"homepage": "https://github.com/microsoft/markitdown/tree/main/packages/markitdown-mcp",
"author": {
"name": "microsoft"
},
"description": "The `markitdown-mcp` package provides a lightweight STDIO and SSE MCP server for calling MarkItDown.",
"categories": [
"Media Creation"
],
"is_official": true,
"tools": [
{
"name": "convert_to_markdown",
"description": "Convert a resource described by an http:, https:, file: or data: URI to markdown",
"inputSchema": {
"properties": {
"uri": {
"title": "Uri",
"type": "string"
}
},
"required": [
"uri"
],
"title": "convert_to_markdownArguments",
"type": "object"
}
}
]
}
4 changes: 3 additions & 1 deletion src/mcpm/commands/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def _display_server_info(server):
display_name = server.get("display_name", name)
description = server.get("description", "No description")
license_info = server.get("license", "Unknown")
is_official = server.get("is_official", False)

# Get author info
author_info = server.get("author", {})
Expand Down Expand Up @@ -81,6 +82,7 @@ def _display_server_info(server):
console.print(f"Package: {package}")
console.print(f"Author: {author_name}" + (f" ({author_email})" if author_email else ""))
console.print(f"License: {license_info}")
console.print(f"Official: {is_official}")
console.print("")

# URLs section
Expand Down Expand Up @@ -143,7 +145,7 @@ def _display_server_info(server):
console.print("[bold yellow]Examples:[/]")
for i, example in enumerate(examples):
if "title" in example:
console.print(f"[bold]{i+1}. {example['title']}[/]")
console.print(f"[bold]{i + 1}. {example['title']}[/]")
if "description" in example:
console.print(f" {example['description']}")
if "code" in example:
Expand Down