Carbone MCP server
{
"mcpServers": {
"carbone": {
"command": "npx",
"args": [
"-y",
"carbone-mcp@latest",
"carbone-mcp"
],
"env": {
"CARBONE_API_KEY": "<carbone_api_key>",
"CARBONE_BASE_URL": "https://..."
}
}
}
}{
"mcpServers": {
"carbone": {
"command": "npx",
"args": [
"-y",
"carbone-mcp@latest",
"carbone-mcp"
],
"env": {
"CARBONE_API_KEY": "<carbone_api_key>",
"CARBONE_BASE_URL": "https://..."
}
}
}
}{
"mcpServers": {
"carbone": {
"command": "npx",
"args": [
"-y",
"carbone-mcp@latest",
"carbone-mcp"
],
"env": {
"CARBONE_API_KEY": "<carbone_api_key>",
"CARBONE_BASE_URL": "https://..."
}
}
}
}{
"servers": {
"carbone": {
"command": "npx",
"args": [
"-y",
"carbone-mcp@latest",
"carbone-mcp"
],
"env": {
"CARBONE_API_KEY": "${input:carbone_api_key}",
"CARBONE_BASE_URL": "${input:carbone_base_url}"
}
}
},
"inputs": [
{
"id": "carbone_api_key",
"type": "promptString",
"description": "Carbone api key",
"password": true
},
{
"id": "carbone_base_url",
"type": "promptString",
"description": "Carbone base url",
"password": true
}
]
}{
"mcpServers": {
"carbone": {
"command": "npx",
"args": [
"-y",
"carbone-mcp@latest",
"carbone-mcp"
],
"env": {
"CARBONE_API_KEY": "<carbone_api_key>",
"CARBONE_BASE_URL": "https://..."
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall npx -y carbone-mcpversion 1.6.0
What it does
This MCP server integrates Carbone's document generation and conversion APIs, allowing AI assistants to generate PDFs, DOCX, XLSX, PPTX and other formats from templates and JSON data, as well as convert between Office, HTML, and Markdown formats. It is for developers building document automation features into AI applications.
- Generate invoices, reports, and certificates by filling templates with JSON data and converting to PDF.
- Convert documents between formats (e.g., HTML to PDF, DOCX to XLSX) and apply customizations like watermarks or encryption.
- Create and manage reusable document templates with localization, currency conversion, and batch generation capabilities.
Tools this server exposes
| Tool | Does |
|---|---|
| carbone_generate | Generate documents (PDF, DOCX, XLSX, PPTX, PNG, etc.) from a template and JSON data using template variables. |
| carbone_convert | Convert documents between formats such as HTML to PDF, Office to PDF, or Markdown to PDF. |
| carbone_template_upload | Upload and version document templates for reuse in generation requests. |
| carbone_template_list | List and retrieve stored templates from the template library. |
| carbone_batch_generate | Generate multiple documents in a single asynchronous batch request with webhook callback. |
| carbone_pdf_customize | Apply customizations to PDF documents such as watermarks, passwords, form filling, or encryption. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.