Agnes AI MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Agnes AI MCP Servergenerate an image of a futuristic cityscape at night"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Agnes AI MCP Server
An MCP server that provides text-to-image and text-to-video generation via the Agnes AI API.
Features
Text-to-Image: Generate images from text prompts (models: agnes-image-2.0-flash, agnes-image-2.1-flash)
Text-to-Video: Generate videos from text prompts or images (model: agnes-video-v2.0)
Video Status Check: Poll async video generation tasks
Auto-download: Automatically downloads generated files locally
Related MCP server: TensorsLab MCP Server
Installation
# Via uvx (recommended)
uvx agnes-mcp
# Via pip
pip install agnes-mcpConfiguration
Add to your MCP client config (e.g. Claude Desktop, Codex, etc.):
{
"mcpServers": {
"agnes-mcp": {
"command": "uvx",
"args": ["agnes-mcp"],
"env": {
"AGNES_API_KEY": "your-api-key-here"
}
}
}
}Or for TOML-based configs (e.g. Codex):
[mcp_servers.agnes-mcp]
command = "uvx"
args = ["agnes-mcp"]
[mcp_servers.agnes-mcp.env]
AGNES_API_KEY = "your-api-key-here"Environment Variables
Variable | Required | Default | Description |
| Yes | - | Your Agnes AI API key |
| No |
| API base URL |
| No |
| Default image model |
| No |
| Default image size |
Tools
text_to_image
Generate an image from text. Supports agnes-image-2.0-flash and agnes-image-2.1-flash.
text_to_video
Generate a video from text (and optional image). Supports agnes-video-v2.0.
Async operation - polls until completion.
check_video_status
Check the status of a video generation task by video_id or task_id.
Get an API Key
Visit Agnes AI
Create an account
Generate an API key from the console
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/MSWEIMZ/agnes-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server