Skip to main content
LibreArt is the official MeiGen MCP (Model Context Protocol) plugin. It lets you generate images directly from AI coding tools like Claude Code, Cursor, and Windsurf — without leaving your editor.

GitHub Repository

View source code, report issues, and contribute.

What is MCP?

Model Context Protocol (MCP) is an open standard that allows AI assistants to use external tools. When you install LibreArt as an MCP server, your AI assistant gains the ability to generate images, search the gallery, and enhance prompts — all through natural language.

Features

ToolDescription
generate_imageGenerate images using any MeiGen model
enhance_promptAI-powered prompt enhancement for better results
search_gallerySearch the MeiGen gallery for inspiration
list_modelsBrowse available models and their capabilities
get_inspirationGet random prompts and ideas for image creation

Free vs. Paid Features

FeatureAPI Key Required?
search_galleryNo
get_inspirationNo
enhance_promptNo
list_modelsNo
generate_imageYes (requires meigen_sk_ token)
You can explore the gallery, get inspiration, and enhance prompts for free. Only actual image generation requires an API key with purchased credits.

Supported Editors

Claude Code

Works natively as an MCP server.

Cursor

Supported via MCP configuration.

Windsurf

Supported via MCP configuration.

Next Steps

Setup Guide

Step-by-step installation instructions for each editor.