Carbonara

Carbonara MCP Connector for Claude

A+

Transform code snippets into beautiful, high-quality images with syntax highlighting, custom themes, and window controls directly from your AI agent.

1 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect Carbonara to your AI agent to generate professional, social-media-ready screenshots of your code. Perfect for documentation, tutorials, and sharing snippets with style.

What you can do

  • Syntax Highlighting — Render code in various languages with automatic detection or specific language mapping
  • Custom Themes — Choose from popular themes like 'seti' to match your brand or preference
  • Window Styling — Add macOS-style window controls (close/minimize/maximize) and choose between sharp or rounded window themes
  • Visual Effects — Configure drop shadows, custom background colors, and padding for a polished look
  • Advanced Formatting — Toggle line numbers, highlight specific lines of interest, and adjust font sizes or families

How it works

  1. Subscribe to this server
  2. Provide your Carbonara instance Base URL
  3. Ask your AI to "cook" any code snippet into a high-quality PNG image

Who is this for?

  • Technical Writers — Create consistent, beautiful code illustrations for blog posts and documentation
  • Developers — Share clean, readable code snippets on social media or in team chats without messy copy-pasting
  • Educators — Generate clear visual aids for programming tutorials and slides
code-screenshotssyntax-highlightingcarbonaradeveloper-productivityimage-generation

1 tools expose this connector's capabilities to your AI agent.

cook_code_image

Returns a base64 encoded PNG image. Generate a beautiful image of a code snippet

See how to talk to your AI agent using Carbonara.

Cook a code image for this Python function using the 'seti' theme and include line numbers.

I've generated the image for your Python function. It features the 'seti' theme with visible line numbers for better readability. [Image Attached]

Create a high-resolution screenshot of this React component with a blue background and drop shadow.

Processing your React component... I've rendered it with a custom blue background and a soft drop shadow for a professional look. [Image Attached]

Generate a code snippet image for this SQL query, highlight lines 2 and 4, and add macOS window controls.

The SQL query has been 'cooked'. I've highlighted the requested lines and added the window controls as specified. [Image Attached]

Yes! You can use the `theme` parameter (e.g., 'seti') and `fontFamily` or `fontSize` to match your preferred style perfectly.

Related Connectors