Get default convert options for a target format
Leave feedback
Copy for LLM Copy
Copied
Failed
View as Markdown Markdown
Set up agent Agent
Give your coding agent live access to the GroupDocs documentation and API reference through the
GroupDocs Docs MCP server — no install, no API key. Learn more
Claude Code
Cursor
VS Code
Codex
Claude Desktop
Other
Claude Code Cursor VS Code Codex Claude Desktop Other claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcpAlso process documents locally
The GroupDocs.Conversion MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
claude mcp add groupdocs-conversion -- dnx GroupDocs.Conversion.Mcp --yesFolders, licensing and more → Add to Cursor Or add it to ~/.cursor/mcp.json:
{
"mcpServers": {
"groupdocs-docs": { "url": "https://docs.groupdocs.com/mcp" }
}
}Install in VS Code Or add it to .vscode/mcp.json in your workspace:
{
"servers": {
"groupdocs-docs": { "type": "http", "url": "https://docs.groupdocs.com/mcp" }
}
}codex mcp add groupdocs-docs --url https://docs.groupdocs.com/mcpAlso process documents locally
The GroupDocs.Conversion MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
codex mcp add groupdocs-conversion -- dnx GroupDocs.Conversion.Mcp --yesFolders, licensing and more → In Claude Desktop or claude.ai, open Settings → Connectors → Add custom connector, and paste this URL:
https://docs.groupdocs.com/mcpAny MCP client that supports remote (HTTP) servers:
{
"mcpServers": {
"groupdocs-docs": { "url": "https://docs.groupdocs.com/mcp" }
}
}No MCP support? Point your agent at https://docs.groupdocs.com/conversion/net/llms.txt — every page also has a Markdown version at its URL + .md.
GroupDocs.Conversion allows you to get default predefined convert options for a desired target document format. This will allow you to get predefined convert options runtime, knowing the desired target format.
To get default convert options, follow these steps:
Create an instance of Converter class and pass source document path as a constructor parameter. Invoke the GetPossibleConversions converter method. Use the file type or file extension indexer of the received possible conversion and read the ConvertOptions property. Call the Convert method of the Converter class instance and pass the filename of the converted document and the instance of ConvertOptions from the previous step. The following code snippet shows how to get predefined convert options for a desired target format:
using ( Converter converter = new Converter ( "sample.docx" ))
{
var possibleConversion = converter . GetPossibleConversions ();
var convertOptions = possibleConversion [ "pdf" ]. ConvertOptions ;
converter . Convert ( outputFile , convertOptions );
}
We value your opinion. Your feedback will help us improve our documentation.