# Carbone MCP [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/carboneio/carbone-mcp  
**GitHub Stars:** 6  
**npm Downloads (last month):** 2895  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/carbone-mcp

## Description
Generate PDF/DOCX/XLSX/PPTX from templates+JSON. Convert Office/HTML/MD to PDF. Universal templating

## Tools
Capabilities this server exposes over MCP:

- **convert_document** — Converts a file to another format; Carbone tags stay as written
- **render_document** — Fills a template with JSON data, and can convert the result (to PDF, for example)
- **get_render_result** — Returns the download link of a render started with `async: true` (only when [async renders](docs/API.md#async-renders) are on)
- **inspect_template** — Lists a template's tags and returns a matching sample dataset. Runs one render on your account (counts as one document generation)
- **list_templates** — Lists stored templates, filtered by category, name or ID
- **list_categories** — Lists the template categories in your account
- **list_tags** — Lists the tags used across your templates
- **upload_template** — Stores a reusable template, with versions, category and tags; can return an [upload URL](docs/API.md#upload-urls) for a large file
- **update_template_metadata** — Renames, categorizes, tags, deploys or schedules the deletion of a template version
- **delete_template** — Deletes a template or one of its versions, immediately
- **download_template** — Downloads a template's original file, or the sample data stored with it
- **get_api_status** — Checks the Carbone API's health and version
- **find_template_examples** — Finds a ready-to-run example (template, data and result) to try Carbone or start a template, with the arguments to generate it
- **get_capabilities** — Summarizes the formats, features and usage examples

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "carbone-mcp": {
    "command": "npx",
    "args": ["-y","carbone-mcp"],
    "env": {
      "CARBONE_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `CARBONE_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Carbone MCP does

Carbone MCP gives MCP-compatible assistants access to Carbone's document generation and conversion API. It supports template-based generation for Word, Excel, PowerPoint, LibreOffice, HTML, Markdown, and existing PDF forms. Templates use Carbone tags such as `{d.field}` and receive structured JSON data during rendering.

Generated output can include PDF, DOCX, XLSX, and PPTX files, among other supported formats. Conversion workflows can also produce images, CSV, ODT, or other formats supported by the Carbone API. PDF processing includes options such as passwords, watermarks, PDF/A output, page ranges, and selectable conversion engines.

## How it works

The hosted deployment is available at `https://mcp.carbone.io` and uses Carbone account authentication. Files can be supplied as HTTPS URLs or base64 data; ChatGPT can also receive attached files. Hosted file results are returned as text, images, or one-time download links, with hosted links valid for one hour.

A local stdio deployment runs through `npx carbone-mcp`. It can read local file paths and save generated documents to disk, in addition to handling URLs and base64 input. The server can process asynchronous renders when that capability is enabled: `get_render_result` retrieves the download link for a render started with `async: true`.

## Setup and configuration

The hosted option requires no local installation. Connect an MCP client to `https://mcp.carbone.io` and authenticate with a Carbone account. The repository documents setup for Claude, Claude Code, VS Code, Cursor, ChatGPT, Codex, GitHub Copilot, and Gemini CLI.

For local use, install or run the package with Node.js 20.3 or later and set `CARBONE_API_KEY`. A test key produces watermarked PDFs and retains stored templates for 30 days; a production key supports the available output formats according to the associated Carbone account. Docker is also available for deployments where clients can send an `Authorization` header.

## Tools and capabilities

The MCP tool set includes:

- `render_document` to populate a template with JSON and optionally convert the result.
- `convert_document` to change a file's format while preserving Carbone tags.
- `inspect_template` to list template tags and produce matching sample data.
- `upload_template`, `update_template_metadata`, `delete_template`, and `download_template` for template storage and lifecycle management.
- `list_templates`, `list_categories`, and `list_tags` for finding templates and their organization data.
- `get_render_result` for asynchronous render downloads.
- `find_template_examples` for ready-to-run template, data, and result examples.
- `get_api_status` and `get_capabilities` for service health and supported feature information.

## Limitations and notes

`inspect_template` performs one render and counts as one document generation. Local configurations need an API key, while hosted use depends on Carbone account authentication. A bare local filename such as `invoice.docx` is interpreted as base64; local file inputs should use an absolute path or a path beginning with `~`.

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

