Submit

Code Snippet Image Mcp Server

@Suhaib Khan

An MCP (Model Context Protocol) server that generates beautiful code snippet images to post to social media.
Overview

Code snippet image MCP server

An MCP (Model Context Protocol) server that generates beautiful code snippet images to post to social media.

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

Supported Themes

Dracula (Default)

Dracula Theme

Monokai

Monokai Theme

GitHub

GitHub Theme

Solarized Dark

Solarized Dark Theme

Solarized Light

Solarized Light Theme

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...

Server Config

{
  "mcpServers": {
    "code-snippet-image-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "code-snippet-image-mcp-server",
        "/custom/output/directory"
      ]
    }
  }
}
© 2025 MCP.so. All rights reserved.

Build with ShipAny.

- MCP Server