Skip to main content
Glama
Agnes Image MCP Server

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

Available Tools

1 tool
agnes_image_generateB

Generate an image using Agnes Image 2.1 Flash (text-to-image model). Supports OpenAI-compatible API at https://apihub.agnes-ai.com/v1. Excels at: creative illustration, concept art, UI mockups, photorealistic renders, Chinese-style art.

Inputs: prompt (required), n, size, ratio.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 1 tool

    Disambiguation5/5

    Only one tool exists, so there is no possibility of confusion or overlap. The tool's purpose is unmistakable.

    Naming Consistency4/5

    The single tool name 'agnes_image_generate' is clear and follows a consistent object-verb structure, though the typical verb-noun order is reversed. Since there is only one tool, the pattern is internally consistent.

    Tool Count3/5

    With exactly one tool, the server is minimal but appropriately scoped for a dedicated image generation service. It feels thin but not unreasonable for such a focused purpose.

    Completeness5/5

    The server's stated purpose is text-to-image generation, and the single tool fully covers that operation. There are no obvious gaps within the narrow domain, as additional features like editing or listing would be outside the stated scope.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers