home / mcp / midjourney mcp server
Provides an MCP server for generating and managing images and videos via the AceDataCloud Midjourney API.
Configuration
View docs{
"mcpServers": {
"acedatacloud-mcpmidjourney": {
"command": "mcp-midjourney",
"args": [],
"env": {
"LOG_LEVEL": "INFO",
"ACEDATACLOUD_API_TOKEN": "YOUR_API_TOKEN",
"MIDJOURNEY_DEFAULT_MODE": "fast",
"ACEDATACLOUD_API_BASE_URL": "https://api.acedata.cloud",
"MIDJOURNEY_REQUEST_TIMEOUT": "180"
}
}
}
}You deploy and run an MCP server that connects to AceDataCloud to generate AI images and videos from Midjourney. This server lets you orchestrate image prompts, transformations, video creation, and task tracking from Claude, VS Code, or any MCP-compatible client, giving you a centralized way to manage creative AI workflows.
Connect to your MCP server from your client of choice by configuring the MCP server entry with the command to start the local server and the required environment variables. You can run the server locally for testing or production use and then issue commands to generate images, edit images, translate prompts, and create videos using the available tools.
# Prerequisites
- Python 3.9+ and pip
- Or use the uv transport for a smoother development experience
# Clone the repository
git clone https://github.com/AceDataCloud/mcp-midjourney.git
cd mcp-midjourney
# Install with pip (editable mode)
pip install -e .
# Or install with uv transport (recommended)
uv pip install -e .Add a MCP server configuration to Claude Desktop to enable one-click access from Claude. The configuration supports both a direct MCP command and a uv-based run command.
{
"mcpServers": {
"midjourney": {
"command": "mcp-midjourney",
"env": {
"ACEDATACLOUD_API_TOKEN": "your_api_token_here"
}
}
}
}The server relies on environment variables for API access and configuration. You can run the server in a standard stdio mode or using uv as the transport. Use the provided tokens and optional base URL to point to the AceDataCloud API.
# Example environment variables for a local run
ACEDATACLOUD_API_TOKEN=your_api_token_here
ACEDATACLOUD_API_BASE_URL=https://api.acedata.cloud
MIDJOURNEY_DEFAULT_MODE=fast
MIDJOURNEY_REQUEST_TIMEOUT=180
LOG_LEVEL=INFOThe server exposes a set of tools to perform image and video tasks, translations, and task queries. Use the tools to generate images from prompts, transform and blend images, describe or edit images, generate or extend videos, translate prompts, and monitor task progress.
Configure the server with the required API token and optional defaults to tailor generation behavior.
# Example: environment variables for runtime
ACEDATACLOUD_API_TOKEN=your_api_token_here
ACEDATACLOUD_API_BASE_URL=https://api.acedata.cloud
MIDJOURNEY_DEFAULT_MODE=fast
MIDJOURNEY_REQUEST_TIMEOUT=180
LOG_LEVEL=INFOChoose a mode based on your needs. fast is the default, turbo accelerates generation with higher resource use, and relax provides a cheaper, slower option.
If you encounter connectivity or token issues, verify your ACEDATACLOUD_API_TOKEN and ensure your base URL is reachable. Check that the server process is running and listening on the configured transport, port, and path.
The MCP server provides a suite of tools grouped by function, including image generation, image editing, video creation, translation, and task management.
Generate images from a text prompt and create a 2x2 grid of results
Transform images including upscale, variations, zoom, and pan actions
Blend multiple images together into a single output
Generate using a reference image as inspiration
Edit an existing image with a text prompt or masks
Describe an image to create a reverse prompt
Generate a video from text prompts and reference images
Extend an existing video to make it longer
Translate Chinese prompts to English for generation
Query a single task status
Query multiple tasks at once
List available API actions
Get prompt writing guidance
List transformation actions