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

コメント

「その他」の他のコンテンツ