MCP (Model Context Protocol) server for document-to-Markdown conversion using Mistral AI OCR. Compatible with Claude Desktop and other MCP clients.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add docmistral --env MISTRAL_API_KEY='<MISTRAL_API_KEY>' -- npx @mistraldocai/mcp-server~/.codex/config.toml
[mcp_servers.docmistral]
command = "npx"
args = ["@mistraldocai/mcp-server"]
env = { MISTRAL_API_KEY = "<MISTRAL_API_KEY>" }
# codex mcp add docmistral --env MISTRAL_API_KEY='<MISTRAL_API_KEY>' -- npx @mistraldocai/mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"docmistral": {
"command": "npx",
"args": [
"@mistraldocai/mcp-server"
],
"env": {
"MISTRAL_API_KEY": "<MISTRAL_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"docmistral": {
"type": "stdio",
"command": "npx",
"args": [
"@mistraldocai/mcp-server"
],
"env": {
"MISTRAL_API_KEY": "<MISTRAL_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"docmistral": {
"command": "npx",
"args": [
"@mistraldocai/mcp-server"
],
"env": {
"MISTRAL_API_KEY": "<MISTRAL_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"docmistral": {
"command": "npx",
"args": [
"@mistraldocai/mcp-server"
],
"env": {
"MISTRAL_API_KEY": "<MISTRAL_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"docmistral": {
"command": "npx",
"args": [
"@mistraldocai/mcp-server"
],
"env": {
"MISTRAL_API_KEY": "<MISTRAL_API_KEY>"
}
}
}
}Environment variables
MISTRAL_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.