Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GROK_API_KEYNoAPI key for Grok (xAI) provider
GEMINI_API_KEYNoAPI key for Google Gemini provider
OPENAI_API_KEYNoAPI key for OpenAI provider

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
understandA

Understand images and/or videos (multi-URL) with a prompt. Gemini supports mixed image+video in one call; OpenAI/Grok are image-only.

generateB

Generate an image or video from a text prompt. Video is async: first call returns job_id; call again with job_id to poll.

configC

Server config + credential setup (MERGED). Actions: (relay) open_relay|relay_status|relay_skip|relay_reset|relay_complete|warmup; (runtime) status|set|cache_clear.

helpC

Full documentation. Topics: understand | generate | config.

config__open_relayA

Open the relay configuration form for imagine-mcp in the user's browser. Returns the relay URL, whether the browser launched, and the current status.

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/n24q02m/imagine-mcp'

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