mcpField
M
Midjourney Mcp

Midjourney Mcp

Local
github.com/Lala-0x3fMedia & Design10Updated 79w ago

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

  1. 01Generate images with Midjourney
  2. 02Specify a prompt and aspect ratio
  3. 03Configure optional API base URL and suffix

Use cases

  1. 01Generate an image from a written description
  2. 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.

mcp.json · Universal config
{
"mcpServers": {
"mj": {
"command": "uvx",
"args": [
"midjourney-mcp"
]
}
}
}
Run commanduvx midjourney-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypimidjourney-mcp

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Midjourney MCP

A MCP server implementation for generating images with Midjourney.

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

}
  • TOKEN_R: Midjourney auth token R
  • TOKEN_I: Midjourney auth token I
  • API_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) -> str
    • prompt: Description of the image you want to generate
    • aspect_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

Markdown supported

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.