Skip to main content
Glama
kira4094

Agnes Image MCP Server

by kira4094

Agnes Image MCP Server

MCP server for Agnes Image 2.1 Flash (text-to-image generation), connected via OpenAI-compatible API.

Features

  • Generate images from text prompts

  • Supports aspect ratios (1:1, 16:9, 9:16, 4:3, 3:4, etc.)

  • Custom resolution (1K~4K)

  • Multi-image generation

  • Returns clickable image URLs

Related MCP server: Gemini Flash Image MCP Server

Requirements

Install

cd agnes-image-mcp-server
npm install
npm start

Environment Variables

Variable

Required

Default

Description

AGNES_API_KEY

Your Agnes AI API key

AGNES_MODEL

agnes-image-2.1-flash

Model name

AGNES_BASE_URL

https://apihub.agnes-ai.com/v1

API base URL

CC-Switch / Claude Code Config

{
  "mcpServers": {
    "agnes-image": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@kira4094/agnes-image-mcp-server"],
      "env": {
        "AGNES_API_KEY": "your-agnes-api-key"
      }
    }
  }
}

Tool: agnes_image_generate

Parameter

Type

Required

Description

prompt

string

Text description (Chinese/English)

size

string

Resolution (1024x1024, 1024x768, 768x1024)

ratio

string

Aspect ratio (1:1, 16:9, 9:16, 4:3, 3:4, etc.)

n

number

Number of images (default 1)

License

MIT

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

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