L0

lala-0x3f/mj-mcp

API 开发

本页由 AI 翻译,技术细节请以原文为准。 查看原文

10 stars 5 forks 质量 45 趋势 18GPL-3.0

Midjourney mcp server

概览

A MCP server implementation for generating images with Midjourney. - 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") - 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") This project is licensed under the GNU General Public License v3.0 (GPL-3.0). This means:

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:

在 GitHub 查看完整 README

安装

uvx midjourney-mcp
新手?先看 mcpskill.org 教程 →

配置

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