diff --git a/mcp-registry/servers/markitdown.json b/mcp-registry/servers/markitdown.json new file mode 100644 index 00000000..4e7d0eb5 --- /dev/null +++ b/mcp-registry/servers/markitdown.json @@ -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,

Hello World

" + }, + { + "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" + } + } + ] +} \ No newline at end of file diff --git a/src/mcpm/commands/info.py b/src/mcpm/commands/info.py index ddcbd1af..5f959732 100644 --- a/src/mcpm/commands/info.py +++ b/src/mcpm/commands/info.py @@ -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", {}) @@ -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 @@ -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: