Carbono
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CarbonoCreate a landing page hero with a headline and CTA button."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Carbono — Image-generation MCP for the AI
Carbono is an MCP server whose purpose is to generate images for the AI. The AI describes the visual content with HTML (using Tailwind CSS v4 classes and DaisyUI components) and Carbono renders it to PNG with headless Chrome, returning the image inline as an MCP image content block.
The transport is stdio: the server speaks JSON-RPC over stdin/stdout, so
it integrates directly with any MCP client (Claude Desktop, Claude Code, etc.)
without opening ports or running HTTP servers.
npm i mcp-carbonoHow it works
AI ──(HTML + Tailwind/DaisyUI)──▶ Carbono (MCP stdio)
│
├─ compiles CSS (Tailwind v4 + DaisyUI)
├─ assembles a full HTML document
└─ renders with headless Chrome (Puppeteer)
│
AI ◀──────────(inline PNG image)──────┘Carbono keeps a workspace on disk with documents, pages, templates and reusable palettes, so the AI can build compositions step by step and re-render them whenever needed.
Related MCP server: Website Generator MCP Server
Project structure
index.ts → stdio entrypoint (boots the McpServer)
tools.ts → Central tool registry (Registry Pattern)
types.ts → Shared types: ToolDefinition, ok() helper
tools/ → Tool definitions by domain
├─ document.tool.ts → create / get / list / delete / history of documents
├─ page.tool.ts → add / edit / reorder pages and render to PNG
├─ palette.tool.ts → color palettes and DaisyUI themes
└─ template.tool.ts → reusable templates
carbono/ → Rendering and storage core
├─ render.ts → HTML → PNG with headless Chrome
├─ tailwind.ts → compiles Tailwind v4 + DaisyUI
├─ schema.ts → Zod schemas of the data model
├─ store.ts → workspace persistence
└─ history.ts → operation history and rollback
util/ → envs, logger and workspace paths
scripts/ → Puppeteer browser installationRequirements
Bun — the entrypoint runs on Bun (
#!/usr/bin/env bun)A Chromium browser for Puppeteer (downloaded automatically on
postinstall)
Installation
Install from npm:
npm i mcp-carbonoInstalling the package downloads Chromium automatically (via postinstall). To
(re)download the browser manually:
npm run browser:installRunning
bunx mcp-carbono
# or, if installed locally
bun run startThe process waits for JSON-RPC messages on stdin. It prints nothing to stdout
(reserved for the MCP protocol); logs are written to logs/agents.log.
Configuring an MCP client
Claude Code
Add the server with the CLI:
claude mcp add carbono -- bunx mcp-carbonoOr, for all your projects (user scope):
claude mcp add --scope user carbono -- bunx mcp-carbonoCheck it was registered with claude mcp list.
Claude Desktop
Edit claude_desktop_config.json
(macOS: ~/Library/Application Support/Claude/claude_desktop_config.json,
Windows: %APPDATA%\Claude\claude_desktop_config.json) and add:
{
"mcpServers": {
"carbono": {
"command": "bunx",
"args": ["mcp-carbono"]
}
}
}Then restart Claude Desktop.
Codex
Add the server to ~/.codex/config.toml:
[mcp_servers.carbono]
command = "bunx"
args = ["mcp-carbono"]Or register it with the Codex CLI:
codex mcp add carbono -- bunx mcp-carbonoWindows note: if
bunxis not found, use the absolute path tobunx.cmd(or setcommand = "cmd",args = ["/c", "bunx", "mcp-carbono"]).
Available tools
All tools are exposed with the carbono_ prefix.
Documents
Tool | Description |
| Creates a document (optionally from a template and with a palette) |
| Returns the document metadata and the list of pages (id and name, without the HTML) |
| Returns the full information of a single page (including its HTML) |
| Lists the stored documents |
| Deletes a document |
| Renames a document |
| Returns the operation history |
| Rolls the document back to a previous version |
Pages (includes image generation)
Tool | Description |
| Adds a page with HTML (Tailwind + DaisyUI) |
| Replaces a page's HTML |
| Deletes a page |
| Reorders the pages |
| Returns the raw HTML or the assembled document |
| Renders the page to PNG and returns it inline. With |
Palettes
Tool | Description |
| Saves a palette (CSS variables + DaisyUI theme) |
| Lists the saved palettes |
| Applies a palette to a document |
| Deletes a palette |
Templates
Tool | Description |
| Saves a document (or a subset of pages) as a template |
| Lists the templates |
| Applies a template to a new or existing document |
| Deletes a template |
Typical flow
carbono_document_create→ create a document.carbono_palette_save+carbono_palette_apply→ (optional) define the colors.carbono_page_add→ add one or more pages with HTML/Tailwind/DaisyUI.carbono_page_screenshot→ get the PNG image ready for the AI.
Image generation
carbono_page_screenshot renders the page with headless Chrome via Puppeteer
(carbono/render.ts). In development (Windows/macOS) Puppeteer
uses the Chromium it downloads at install time; on Linux servers, the stability
flags (--no-sandbox, --disable-dev-shm-usage, --no-zygote, etc.) are already
configured.
Environment variables
Variable | Description | Default |
| Workspace folder (documents, templates, palettes, history). |
|
| Path to a system Chrome/Chromium binary. Only if you want to force your own instead of Puppeteer's. | (empty → uses Puppeteer's) |
| Browser cache path. If set, honor it both at install and run time. |
|
Notes
The transport is stdio; there is no HTTP server or webhooks.
stdoutis reserved for the MCP protocol: logging is written tologs/agents.log.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dinnger/mcp-carbono'
If you have feedback or need assistance with the MCP directory API, please join our Discord server