# groupdocs-markdown-mcp [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/groupdocs-markdown/GroupDocs.Markdown.Mcp  
**GitHub Stars:** 0  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/groupdocs-markdown-mcp

## Description
MCP server for GroupDocs.Markdown — convert documents to Markdown via AI agents.

## Tools
Capabilities this server exposes over MCP:

- **ConvertToMarkdown** — Converts a document (PDF, DOCX, XLSX, EPUB, MOBI, …) to clean, structured Markdown and saves the `.md` to storage. Images embed as base64 by default.
- **GetDocumentInfo** — Returns file format, page count, title, author, and encryption flag as JSON, without converting.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/groupdocs-markdown/GroupDocs.Markdown.Mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Run:

```sh
dnx GroupDocs.Markdown.Mcp --yes
```

2. Run:

```sh
dnx GroupDocs.Markdown.Mcp@26.9.0 --yes
```

3. Install:

```sh
dotnet tool install -g GroupDocs.Markdown.Mcp
```

4. Start the server:

```sh
docker run --rm -i \
  -v $(pwd)/documents:/data \
  ghcr.io/groupdocs-markdown/markdown-net-mcp:latest
```

5. Start the server:

```sh
docker run --rm -i \
  -e GROUPDOCS_METERED_PUBLIC_KEY -e GROUPDOCS_METERED_PRIVATE_KEY \
  -v /path/to/documents:/data \
  ghcr.io/groupdocs-markdown/markdown-net-mcp:latest
```

6. Run:

```sh
cd docker
```

## Documentation

## What groupdocs-markdown-mcp MCP server does

The groupdocs-markdown-mcp MCP server exposes GroupDocs.Markdown as tools that an MCP-compatible agent can call. Its primary conversion operation accepts documents such as PDF, DOCX, XLSX, EPUB, and MOBI, then writes a Markdown file to storage. Images are embedded as base64 by default.

A separate inspection operation returns document metadata without performing conversion. The response can include the detected format, page count, title, author, and whether the file is encrypted. This makes it possible to inspect a file before deciding whether to convert it.

## How it works

The server communicates with MCP clients over stdio. It can be started with `dnx`, installed as a global .NET tool, or run in a Docker container. Input and output files are resolved against a configured storage directory; a separate output directory can also be selected.

The main tools are `ConvertToMarkdown` and `GetDocumentInfo`. Conversion requests can include options reflected in the examples, such as selecting pages and excluding images.

The underlying engine does not currently support composing DOCX, PDF, or HTML files from Markdown. This server therefore does not provide a reverse conversion tool.

## Setup and configuration

The supported runtime requires the .NET 10 SDK. The recommended command is:

```bash
dnx GroupDocs.Markdown.Mcp --yes
```

A version can be pinned by appending `@<version>`. Alternatively, install the global tool with `dotnet tool install -g GroupDocs.Markdown.Mcp`, then run `groupdocs-markdown-mcp`. Docker users can mount a host directory at `/data` and run the published image.

Configure `GROUPDOCS_MCP_STORAGE_PATH` for the base input/output directory. `GROUPDOCS_MCP_OUTPUT_PATH` optionally separates generated files from inputs. If neither is configured, the current directory is used as the storage location.

The groupdocs-markdown-mcp MCP server can run without a license in evaluation mode, but output may be limited and include an evaluation notice. A GroupDocs license file is supplied with `GROUPDOCS_LICENSE_PATH`. Metered licensing uses `GROUPDOCS_METERED_PUBLIC_KEY` and `GROUPDOCS_METERED_PRIVATE_KEY`; the pair takes precedence over a license file and requires outbound connectivity.

## Tools and capabilities

- `ConvertToMarkdown`: Converts supported documents to structured Markdown and saves a `.md` file.
- `GetDocumentInfo`: Returns format, page count, title, author, and encryption information as JSON without conversion.
- Embeds images as base64 by default, with examples showing text-only and page-range conversion requests.

## Limitations and notes

Evaluation mode permits only limited processing: a single server process can open at most 15 documents before restart is required. Production use of the underlying GroupDocs.Markdown engine requires either a license file or metered credentials.

Metered private keys should not be committed to project-scoped MCP configuration files. Environment variables are preferred. Docker deployments can pass the keys with `-e` options instead of writing them to a file.

The groupdocs-markdown-mcp MCP server does not implement Markdown-to-document composition. Use a different GroupDocs product if the workflow must generate DOCX, PDF, or HTML from a Markdown source.

_Full upstream README: https://allmcps.com/mcp/groupdocs-markdown-mcp/readme_

