create_code_image
Generate a beautiful code snippet image with syntax highlighting and styling
Turn a block of code into a syntax-highlighted image with the theme, background colour, padding, dimensions, line numbers and title all set on the call.
LABSCO SUMMARY
Every styling decision is a parameter rather than a setting, so the look is fixed when the image is made and a second version means a second call. The tool renders what it is handed: nothing here reads a file from your project, so the image shows exactly the text passed in and nothing that surrounds it.
A single-tool image renderer for code snippets, writing the result into an output directory on the host.
Nothing to supply — no account, no key. A directory on disk for the server to write the generated images into.
One command — npx -y code-snippet-image-mcp-server /custom/output/directory
USE CASES
The language decides the highlighting and the rest is styling on the same call — theme, background colour, padding, dimensions, line numbers and a title across the top.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
create_code_imageGenerate a beautiful code snippet image with syntax highlighting and styling
BEFORE YOU INSTALL
1 tool when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the one tool definition that rides along on every turn
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"code-snippet-image-mcp-server": {
"command": "npx",
"args": [
"-y",
"code-snippet-image-mcp-server",
"/custom/output/directory"
]
}
}
}npx -y code-snippet-image-mcp-server /custom/output/directory