Skip to main content
Glama
peypey84

Agnes Media MCP Server

by peypey84

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGNES_API_KEYYesAgnes AI API Key
AGNES_BASE_URLNoAPI 网关地址https://apihub.agnes-ai.com
AGNES_OUTPUT_DIRNo覆盖输出根目录(设置后图片→<dir>/images、视频→<dir>/videos)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
agnes_generate_imageA

Generate an image with Agnes Image 2.1 Flash. Text-to-image by default; pass image_urls to do image-to-image (transform/restyle while preserving composition). The result is saved to the local output directory and a preview is returned inline.

agnes_generate_videoA

Start an Agnes Video V2.0 generation (async). Text-to-video by default; pass image_url for image-to-video, or keyframe_urls (2+) for keyframe transitions. Video generation takes minutes, longer than an MCP request can block. This tool creates the task and waits up to wait_seconds for it to finish: if it completes in time, the mp4 is downloaded locally and its path returned; otherwise it returns the video_id immediately — poll agnes_get_video_status with that id (download:true) to fetch the result when ready. Duration = num_frames / frame_rate. num_frames must be <=441 and of the form 8n+1.

agnes_get_video_statusA

Check the status of an Agnes video task by video_id. Returns status/progress, and if completed, the remote URL. Optionally downloads the mp4 locally when ready.

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/peypey84/agnes-media-mcp'

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