Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HTTP_PORTNoHTTP server port (only in http mode)3100
AGNES_API_KEYYesYour Agnes API key (starts with sk-)
MCP_TRANSPORTNoTransport mode: stdio or httpstdio
DEFAULT_DOWNLOAD_DIRNoRoot directory for auto-downloaded media

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_imageB

Generate or edit an image using the Agnes AI image generation API. Supports text-to-image and image-to-image modes.

generate_videoA

Submit a video generation task. By default returns a videoId immediately for progress polling with get_video. Set wait=true to block until generation completes. Optionally provide outputDir to auto-download the video when completed.

get_videoA

Get the current status of a video generation task and optionally download it. Accepts videoId (required) and taskId (optional). Returns progress percentage, status (queued/in_progress/completed/failed), and download URL when completed. Provide outputDir to auto-download the video file when generation is complete.

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/zssty2010/agnes-mcp-server'

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