MCP Storybook Image Generator
Generates storybook-style images and matching children's stories using Google's Gemini AI, supporting multiple art styles including 3D cartoon, watercolor, pixel art, hand drawn, and claymation
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Storybook Image Generator create a watercolor illustration of a magical garden with fairies"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Storybook Image Generator
A professional-grade server that generates beautiful storybook images with matching children's stories using Google's Gemini AI.
🎬 Demo

Related MCP server: Remote Child Story MCP
🌟 Features
Storybook Image Generation: Creates high-quality images in various art styles for children's stories
Automatic Story Creation: Generates engaging children's stories to match the images
Multiple Art Styles: Choose from 3D cartoon, watercolor, pixel art, hand drawn, or claymation styles
Instant Preview: Automatically opens generated images and stories in your browser
Local Storage: Saves images and stories in an organized output directory
🛠️ Technical Stack
Core Framework: Model Context Protocol (MCP) SDK
AI Integration: Google Generative AI (Gemini)
Runtime: Node.js v14+
Language: TypeScript
Package Manager: npm
📋 Prerequisites
Node.js (v14 or higher)
Google Gemini API key
TypeScript
⚙️ Installation
Install dependencies:
npm installConfigure environment: Create a
.envfile in the root directory:
GEMINI_API_KEY=your_api_key_hereBuild the project:
npm run build🚀 Using the CLI
You can use the storybook generator directly from the command line:
# Using npx (after publishing to npm)
npx mcp-storybook-image-generator --api-key your_api_key_here --save-to-desktop
# Or run locally
node build/cli.js --api-key your_api_key_here --save-to-desktopCommand Line Options
Option | Description |
| Set your Gemini API key |
| Save generated files to desktop |
| Enable debug logging |
| Show help information |
🔧 Configuring Claude Desktop with MCP Server
To integrate this server with Claude Desktop:
Locate the Claude Desktop Configuration File:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Add the following configuration:
{
"mcpServers": {
"storybook-generator": {
"command": "npx",
"args": [
"-y",
"mcp-storybook-image-generator@latest",
"--api-key",
"your_gemini_api_key_here"
],
"env": {
"SAVE_TO_DESKTOP": "true",
"DEBUG": "false"
}
}
}
}🚀 Available Tool
Storybook Image Generator Tool
{
"name": "generate_storybook_image",
"description": "Generates a 3D style cartoon image with a children's story based on the given prompt",
"inputSchema": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "The prompt describing the storybook scene to generate"
},
"fileName": {
"type": "string",
"description": "Base name for the output files (without extension)"
},
"artStyle": {
"type": "string",
"description": "The art style for the image (default: '3d cartoon')",
"enum": ["3d cartoon", "watercolor", "pixel art", "hand drawn", "claymation"]
}
},
"required": ["prompt", "fileName"]
}
}📄 Example Usage
Storybook Generation Examples
// Generate a storybook with a 3D cartoon style
{
"name": "generate_storybook_image",
"arguments": {
"prompt": "A friendly dragon teaching kids how to fly",
"fileName": "dragon_flight_lesson",
"artStyle": "3d cartoon"
}
}
// Generate a storybook with a watercolor style
{
"name": "generate_storybook_image",
"arguments": {
"prompt": "A rabbit and turtle having a tea party in the forest",
"fileName": "forest_tea_party",
"artStyle": "watercolor"
}
}
// Generate a storybook with pixel art style
{
"name": "generate_storybook_image",
"arguments": {
"prompt": "A space adventure with a kid astronaut meeting friendly aliens",
"fileName": "space_adventure",
"artStyle": "pixel art"
}
}⚙️ Configuration Options
Environment Variables
Variable | Description | Default |
| Google Gemini API key for AI generation | (Required) |
| Force saving to desktop directory | false |
| Enable verbose debug logging | false |
📝 Output Files
For each storybook generation request, the server produces:
PNG Image: The generated illustration matching your prompt in the requested art style
Text File: The matching children's story in plain text format
HTML Preview: A combined view showing both the image and story together
These files are saved to either:
Your desktop in a folder called "storybook-images" (if
SAVE_TO_DESKTOP=true)The server's directory in a folder called "storybook-images"
🤝 Contributing
Contributions, issues, and feature requests are welcome! Feel free to check issues page.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
Available Tools
1 toolgenerate_storybook_imageC
Generates a 3D style cartoon image with a children's story based on the given prompt
Inputs: prompt (required), fileName (required), artStyle.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools. The tool's purpose is clearly defined and distinct by default.
A single tool inherently has perfect naming consistency, as there are no other tools to compare it against. The tool name follows a clear verb_noun pattern (generate_storybook_image).
A single tool is too few for a server named 'MCP Storybook Image Generator', which suggests a broader scope like generating, editing, or managing storybook images. This minimal set limits functionality and feels incomplete for the implied domain.
The server's name implies capabilities for storybook image generation, but with only one tool for generation, there are significant gaps. Missing operations might include editing images, listing generated images, deleting them, or handling variations, making the surface severely incomplete for practical use.
Maintenance
Related MCP Connectors
AI story generator — create illustrated storybooks, AI songs, and short AI video films
AI story generator — create illustrated storybooks, AI songs, and short AI video films
Create print-ready coloring, activity and illustrated story books and KDP covers from any agent.
Create a one-of-a-kind story with your child as the hero. Free sample, printable PDF, share with fam
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables high-quality 3D-style cartoon image generation using Google Gemini AI alongside secure file system operations like reading, writing, and managing directories. It provides a dual-purpose toolkit for creative asset generation and local file management via the Model Context Protocol.63-
- FlicenseNot gradedqualityDmaintenanceGenerates personalized short bedtime stories for three-year-old children using custom themes and names. It provides a dedicated MCP tool for automated storytelling and is optimized for cloud deployment on platforms like Render.1-
- FlicenseNot gradedqualityDmaintenanceCreates AI-generated images from text prompts using Google Gemini API, supporting business use cases like proposals, infographics, and charts.-
- FlicenseNot gradedqualityDmaintenanceConnects to local LM Studio models to generate highly creative, imaginative stories with customizable genres, tones, and word counts.-