MCP.so
Sign In

Midjourney Mcp

@Lala-0x3f

About Midjourney Mcp

Midjourney mcp server

Basic information

Category

Other

License

GPL-3.0

Runtime

python

Transports

stdio

Publisher

Lala-0x3f

Submitted by

lala

Config

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

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

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).

Comments

More Other MCP servers