agnes-image-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AGNES_MODEL | No | Default model name. If omitted, the server uses agnes-image-2.5-flash. | |
| AGNES_API_KEY | Yes | Agnes API credential. Keep it in the environment or a secret manager; never put it in source code or an MCP JSON file committed to version control. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_imageA | 使用 Agnes 模型生成一张图片。支持文生图或参考图输入,可返回图片 URL 或 base64;会调用远程 Agnes API。 |
| generate_imagesA | 按顺序批量调用 Agnes 生成图片,默认遇错停止;可选择继续处理并返回每项成功、失败和跳过统计。 |
| download_imageA | 从经过安全校验的 HTTPS 公网地址下载图片到当前工作目录下的相对路径;拒绝内网地址、路径越界、链接和覆盖已有文件。 |
| validate_imageA | 读取当前工作目录下的相对路径,校验本地文件大小及 PNG、JPEG、GIF、WebP 格式,不访问网络也不修改文件。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/ybd0612/agnes-image-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server