The Carbone MCP Server enables document automation by converting and generating documents in various formats using AI assistants. It supports a wide range of document operations and template management functionalities.
From the registry: Generate PDF/DOCX/XLSX/PPTX from templates+JSON. Convert Office/HTML/MD to PDF. Universal templating
Please install the `carbone-mcp` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Get a Carbone API key** — Sign up for a free Carbone API key (https://account.carbone.io)
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","carbone-mcp"]
- required environment variables:
- `CARBONE_API_KEY`: Your Carbone API key (example: `<your-carbone-api-key>`)
- optional environment variables:
- `CARBONE_BASE_URL`: Override for self-hosted or staging Carbone instances
- `CARBONE_TIMEOUT`: Request timeout in milliseconds (max 60000) (example: `60000`)
- `MCP_TRANSPORT`: Transport mode: stdio (default) or http (example: `stdio`)
- `MCP_PORT`: HTTP server port (HTTP mode only) (example: `3000`)
- `MCP_PATH`: HTTP endpoint path (HTTP mode only) (example: `/`)
- `MCP_MAX_BODY_BYTES`: Max request body size in bytes (example: `62914560`)
Note: Hosted HTTP endpoint also available at https://mcp.carbone.io (streamable-http, Bearer auth). CARBONE_API_KEY is not required with CARBONE_BASE_URL pointing at on-prem.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.CARBONE_API_KEYrequiredYour Carbone API keyComprehensive PostgreSQL documentation and best practices, including ecosystem tools