Codetoimage MCP Server
io.github.beznazwiska/codetoimage-mcp-server
v0.2.0Updated Jul 11, 2026stdio · npm
Pixel-perfect HTML/CSS to PNG/JPG/WebP for AI agents — inline image or 24h hosted URL.
Install
Needs 1 secret. Replace 1 placeholder with your own values.
Run in your terminal. Replace 1 placeholder.
claude mcp add codetoimage-mcp-server -e 'CODETOIMAGE_API_KEY=<your-codetoimage-api-key>' -e CODETOIMAGE_API_URL=https://api.codetoimage.app -- npx -y @codetoimage/[email protected]Configuration
2 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.
CODETOIMAGE_API_KEYEnv var· required· secretAPI key from https://codetoimage.app/dashboard/keys (starts with cti_live_…). Sandbox tier is free.CODETOIMAGE_API_URLEnv var· optionalOverride the API base URL. Defaults to https://api.codetoimage.app.Default:https://api.codetoimage.app
Links
Listed in the official MCP Registry since Jul 11, 2026. Mirrored daily; last checked Nov 26, 2026.