A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

MCP server for generating code snippet images
An MCP server that converts code into styled snippet images with syntax highlighting, selectable themes, and configurable dimensions for sharing on social media.
WHAT IT DOES
- •Provides a create_code_image tool that turns code into an image.
- •Supports multiple color themes including Dracula, Monokai, GitHub, and Solarized Dark/Light.
- •Uses highlight.js for syntax highlighting across many programming languages.
- •Output images are saved to a specified directory with timestamps, defaulting to ./output.
BEST FOR
- •Creating shareable code snippet images for social media posts.
- •Producing styled code visuals with custom themes, dimensions, titles, and line numbers.
ABOUT CODE-SNIPPET-IMAGE-MCP
MCP server for generating code snippet images is cataloged as an MCP server attributed to suhaibkhan. An MCP server that converts code into styled snippet images with syntax highlighting, selectable themes, and configurable dimensions for sharing on social media. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
HOW TO INSTALL
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
LICENSE
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability inspector
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
Tools (0)
No reviewed records to display. This does not establish that upstream lacks this capability.
Resources (0)
No reviewed records to display. This does not establish that upstream lacks this capability.
Prompts (0)
No reviewed records to display. This does not establish that upstream lacks this capability.
Newsletter subscriptions are not open yet
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Community Reviews
Reviews for MCP server for generating code snippet images are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
FREQUENTLY ASKED QUESTIONS
Which themes are available for the generated images?
Dracula (the default), Monokai, GitHub, and Solarized Dark and Light.
Where are generated images saved?
They are saved in the specified output directory, or ./output by default, with timestamps.
Upstream README
README.md · 0791a888fe99 · Fetched 2026-11-13 11:15:29 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Code snippet image MCP server
An MCP (Model Context Protocol) server that generates beautiful code snippet images to post to social media.
Demo

Watch the MCP server generate beautiful code snippet images in real-time
Features
- Beautiful Code Images: Generate beautiful code snippet images with syntax highlighting
- Multiple Themes: Support for Dracula, Monokai, GitHub, Solarized Dark/Light themes
- Syntax Highlighting: Support for multiple programming languages
- Customizable: Configurable dimensions, themes, and styling options
Installation
npm install
npm run build
Configuration
Add to your MCP configuration file:
{
"mcpServers": {
"code-snippet-image-mcp-server": {
"command": "npx",
"args": [
"-y",
"code-snippet-image-mcp-server",
"/custom/output/directory"
]
}
}
}
The server accepts an optional output directory as the first command line argument. If not provided, it defaults to ./output in the current working directory.
Usage
The MCP server provides one main tool:
create_code_image
Generate a beautiful code snippet image:
Parameters:
code(string, required): The code to convert to imagelanguage(string, optional): Programming language for syntax highlighting (default: "javascript")theme(string, optional): Color theme (default: "dracula")title(string, optional): Title for the code snippetwidth(number, optional): Image width in pixels (default: 800)height(number, optional): Image height in pixels (auto if not specified)padding(number, optional): Padding around the code window in pixels (default: 52)backgroundColor(string, optional): Custom background color (overrides theme background)showLineNumbers(boolean, optional): Show or hide line numbers (default: true)
Example:
{
"code": "const hello = () => console.log('Hello, World!');",
"language": "javascript",
"theme": "dracula",
"title": "Hello World Function",
"width": 800,
"height": 600,
"padding": 52,
"showLineNumbers": true
}
Supported Themes
Dracula (Default)

Monokai

GitHub

Solarized Dark

Solarized Light

Supported Languages
The server uses highlight.js for syntax highlighting and supports all languages that highlight.js supports, including:
- JavaScript/TypeScript
- Python
- Java
- C/C++
- Go
- Rust
- PHP
- Ruby
- And many more...
Output
Generated images are saved in the specified output directory (or ./output by default) with timestamps.
License
MIT
Install configuration
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for generating code snippet images from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/code-snippet-image-mcp)REPOSITORY STATS
Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Downloads and pulls
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Related media design MCP Servers
Alternative and complementary servers in the same category

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.
