Midjourney Mcp
@Lala-0x3f
About Midjourney Mcp
Midjourney mcp server
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"midjourney": {
"command": "uvx",
"args": [
"midjourney-mcp"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is Midjourney Mcp?
Midjourney Mcp is a Model Context Protocol (MCP) server that enables image generation via Midjourney. It exposes a single tool to generate images from text prompts, intended for use with MCP-compatible clients (e.g., AI assistants, IDEs).
How to use Midjourney Mcp?
Configure environment variables TOKEN_R and TOKEN_I (required), plus optional API_BASE and SUFFIX. In your MCP client settings, add a server entry with command uvx and arguments ["midjourney-mcp"]. Then call the tool generating_image with a prompt and aspect ratio (e.g., "16:9").
Key features of Midjourney Mcp
- Generates images from text prompts via Midjourney
- Supports custom aspect ratios (e.g., "16:9")
- Configurable Midjourney suffix (defaults to "--v 6.1")
- Runs easily with uvx, no installation required
- Integrates seamlessly with any MCP host
Use cases of Midjourney Mcp
- Automate image generation in AI chat workflows
- Create visuals programmatically from text descriptions
- Enhance code editors with inline Midjourney generation
- Build custom tools that generate images on demand
FAQ from Midjourney Mcp
What authentication is required?
You must provide TOKEN_R and TOKEN_I from your Midjourney account. These are mandatory environment variables.
What is the default image version?
The default suffix is --v 6.1, corresponding to Midjourney version 6.1. You can override it with the SUFFIX environment variable.
Can I use a different Midjourney API base?
Yes. Set API_BASE to a custom URL; otherwise it defaults to "midjourney.com".
What tool does the server expose?
It provides one tool: generating_image(prompt: str, aspect_ratio: str) which returns the generated image URL.
What license applies?
This project is licensed under the GNU General Public License v3.0 (GPL-3.0).
Frequently asked questions
What authentication is required?
You must provide `TOKEN_R` and `TOKEN_I` from your Midjourney account. These are mandatory environment variables.
What is the default image version?
The default suffix is `--v 6.1`, corresponding to Midjourney version 6.1. You can override it with the `SUFFIX` environment variable.
Can I use a different Midjourney API base?
Yes. Set `API_BASE` to a custom URL; otherwise it defaults to `"midjourney.com"`.
What tool does the server expose?
It provides one tool: `generating_image(prompt: str, aspect_ratio: str)` which returns the generated image URL.
What license applies?
This project is licensed under the GNU General Public License v3.0 (GPL-3.0).
Basic information
More Other MCP servers
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
ICSS
chokcoco不止于 CSS
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Comments