MCP Draw
An MCP (Model Context Protocol) server for generating images from text prompts. This server allows AI assistants to create images / draw through a standardized interface.
📖 Resources
Prerequisites
- Node.js (v18 or higher)
- An OpenAI API key
Setup
1. API Key
First, get an OpenAI API key from OpenAI's platform. This will be used to authenticate the MCP server with OpenAI's services.
2. Configure MCP Client for Local Development
{
"mcpServers": {
"mcp-draw": {
"command": "npx",
"args": [
"-y",
"mcp-draw@latest"
"--api-key",
"<REPLACE-WITH-YOUR-OPENAI-API-KEY>",
"--output-dir",
"/ABSOLUTE/PATH/TO/SAVE/OUTPUT_FOLDER"
]
}
}
}
Local Development Setup
1. API Key
First, get an OpenAI API key from OpenAI's platform. This will be used to authenticate the MCP server with OpenAI's services.
2. Clone the Repository
git clone https://github.com/kdr/mcp-draw.git
cd mcp-draw
3. Install Dependencies & Build the Server
npm install
npm run build
4. Configure MCP Client for Local Development
{
"mcpServers": {
"mcp-draw": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/mcp-draw/build/index.js",
"--api-key",
"<REPLACE-WITH-YOUR-OPENAI-API-KEY>",
"--output-dir",
"/ABSOLUTE/PATH/TO/SAVE/OUTPUT_FOLDER"
]
}
}
}
Tools
The following tools are available to the LLM:
generate_image_from_description: Creates an image from a text prompt using OpenAI's gpt-image-1 model
Recommend MCP Servers 💡
mcp-unity
Model Context Protocol (MCP) plugin to connect with Unity Editor — designed for OpenAI, Gemini, Claude, Deepseek and Grok interoperability
youtubeinsights-mcp-server
An MCP server for extracting YouTube video insights like transcripts, keyword search, and channel info.
mcp-gamecube-bridge
An MCP server that bridges Nintendo GameCube operations, allowing clients to interact with a GameCube console.
mcp-minimax-music-server
MCP server enabling AI agents to generate music and audio content using the MiniMax Music API.
@jayarrowz/mcp-osrs
An MCP Server for interacting with the Old School RuneScape (OSRS) Wiki API and game data files, providing tools to search the OSRS Wiki and access game data definitions.
misskey-mcp-server
An unofficial MCP server for Misskey, providing basic functionality for posting notes and retrieving user notes.