MCP.so
Sign In

Midjourney MCP Server

@Lala-0x3f

Basic information

Category

Other

License

GPL-3.0

Transports

stdio

Author

Lala-0x3f

Submitted by

lala

About Midjourney MCP Server

Midjourney mcp server

Midjourney MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "midjourney": {
      "command": "uvx",
      "args": [
        "midjourney-mcp"
      ]
    }
  }
}

Midjourney MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

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

Frequently asked questions

1

What authentication is required?

You must provide `TOKEN_R` and `TOKEN_I` from your Midjourney account. These are mandatory environment variables.

2

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.

3

Can I use a different Midjourney API base?

Yes. Set `API_BASE` to a custom URL; otherwise it defaults to `"midjourney.com"`.

4

What tool does the server expose?

It provides one tool: `generating_image(prompt: str, aspect_ratio: str)` which returns the generated image URL.

5

What license applies?

This project is licensed under the GNU General Public License v3.0 (GPL-3.0).

Comments

More Other MCP servers