Midjourney MCP is an MCP server that connects AI assistants to the Midjourney image generation service. It enables developers, content creators, and AI agents running in Model Context Protocol clients to request image synthesis directly from their conversational workflows. By exposing Midjourney functionality as standard MCP tools, users can draft descriptive prompts and specify target dimensions without leaving their primary chat interface. The server handles parameter formatting, including aspect ratios and model version suffixes, passing requests directly through the Midjourney API endpoints. This integration simplifies generative art workflows, allowing creative professionals to iterate on concept art, design assets, and visual prototypes alongside their code and documentation. Instead of manually switching to external chat channels or web portals, teams can maintain interactive control over visual asset generation using native tool calling capabilities.
Category: Design, Media & Creative
Tags: art, Generative AI, image generation, midjourney
Follow these steps to configure Midjourney MCP with your MCP client: 1. Ensure you have uv installed on your machine to execute packages via uvx. 2. Obtain your Midjourney authentication tokens (TOKEN_R and TOKEN_I). 3. Add the server entry to your client configuration file (such as claude_desktop_config.json): json { "mcpServers": { "midjourney": { "command": "uvx", "args": [ "midjourney-mcp" ], "env": { "TOKEN_R": "<your-token-r>", "TOKEN_I": "<your-token-i>" } } } } 4. Optionally configure API_BASE (defaults to midjourney.com) and SUFFIX (defaults to --v 6.1). 5. Restart your MCP client to load the tool.
Part of MCP Servers
You can run Midjourney MCP using uvx by adding it to your MCP client configuration file. Specify uvx as the command and midjourney-mcp as the argument, and provide your TOKEN_R and TOKEN_I credentials in the environment variables.
The server exposes a tool called generating_image that accepts a text prompt and an aspect ratio. It formats the parameters, appends default or custom version suffixes like version 6.1, and sends the generation request to the Midjourney API.
Midjourney MCP works with any Model Context Protocol client that supports stdio process execution, including Claude Desktop, Cursor, and custom agentic frameworks configured to run command-line tools.
Yes, Midjourney MCP is open-source software licensed under the GNU General Public License v3.0 (GPL-3.0). The complete source code is accessible on its public GitHub repository.