MCP.so
登录

Midjourney Mcp

@Lala-0x3f

关于 Midjourney Mcp

Midjourney mcp server

基本信息

分类

其他

许可证

GPL-3.0

运行时

python

传输方式

stdio

发布者

Lala-0x3f

提交者

lala

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

评论

其他 分类下的更多 MCP 服务器