Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SUFFIXNoParameters appended to every prompt--v 8.1
TOKEN_IYesValue of __Host-Midjourney.AuthUserTokenV3_i cookie
TOKEN_RYesValue of __Host-Midjourney.AuthUserTokenV3_r cookie
API_BASENoMidjourney web hostwww.midjourney.com
CHANNEL_IDNoOverride channel idsingleplayer_<user_id>
MJ_JOB_TIMEOUT_SECNoPolling timeout for completed job visibility300

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
generating_imageB

Generate an image with Midjourney.

Args: prompt: English image prompt. Additional Midjourney parameters can be included. aspect_ratio: Aspect ratio such as "16:9", "4:3", or "3:4".

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/WilliamJizh/midjourney-mcp-web'

If you have feedback or need assistance with the MCP directory API, please join our Discord server