About Midjourney Mcp
Midjourney Mcp is an MCP server for generating images with Midjourney from a text prompt and aspect ratio. It is intended for MCP clients that need image-generation access.
Key features
- 01Generate images with Midjourney
- 02Specify a prompt and aspect ratio
- 03Configure optional API base URL and suffix
Use cases
- 01Generate an image from a written description
- 02Request an image in a chosen aspect ratio
MCP support
The MCP server exposes an image-generation tool that accepts a prompt and aspect ratio and returns a result.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMidjourney MCP
A MCP server implementation for generating images with Midjourney.
{
"mcpServers": {
"midjourney": {
"command": "uvx",
"args": [
"midjourney-mcp"
]
}
}
}
TOKEN_R: Midjourney auth token RTOKEN_I: Midjourney auth token IAPI_BASE: Midjourney API base URL (optional, defaults to "midjourney.com")SUFFIX: Midjourney suffix (optional, defaults to "--v 6.1")
API
The server provides the following tool:
generating_image(prompt: str, aspect_ratio: str) -> strprompt: Description of the image you want to generateaspect_ratio: Aspect ratio of the image (e.g. "16:9")
License
This project is licensed under the GNU General Public License v3.0 (GPL-3.0). This means:
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.