MCP ExplorerExplorer

Mcp Draw

@kdron 10 months ago
2 MIT
FreeCommunity
AI Systems
MCP Draw is a server for generating images from text prompts using AI.

Overview

What is Mcp Draw

mcp-draw is an MCP (Model Context Protocol) server designed for generating images from text prompts, allowing AI assistants to create images through a standardized interface.

Use cases

Use cases for mcp-draw include creating illustrations for articles, generating concept art for games, visualizing ideas for presentations, and enhancing social media content with custom images.

How to use

To use mcp-draw, you need to obtain an OpenAI API key, clone the repository, install dependencies, and configure the MCP client for local development. You can then run the server to generate images from text prompts.

Key features

Key features of mcp-draw include the ability to generate images from text descriptions using OpenAI’s gpt-image-1 model, a standardized interface for AI image generation, and easy setup with Node.js.

Where to use

mcp-draw can be used in various fields such as art and design, content creation, marketing, and any domain where visual representation of ideas is needed.

Content

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.

image

📖 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

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

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers