Ai Image Gen MCP Server

Generates images from text prompts using the Replicate API, designed for use with MCP clients like Cursor.

Local serverstdioTypeScript★ 125

What is the Ai Image Gen MCP Server?

Generates images from text prompts using the Replicate API, designed for use with MCP clients like Cursor.

What you get

Ideally to be used with Cursor's MCP feature, but can be used with any MCP client.

  • Generate images from text prompts
  • Configurable image parameters (resolution, aspect ratio, quality)
  • Save generated images to specified directory
  • Full MCP protocol compliance
  • Error handling and validation

Configuration and credentials

  • Node.js 16+ - Replicate API token - TypeScript SDK for MCP

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
promptstring
output_dirstring
go_fastboolean
megapixelsstring
num_outputsnumber
aspect_ratiostring
output_formatstring
output_qualitynumber
num_inference_stepsnumber

Configuration

  • Node.js 16+ - Replicate API token - TypeScript SDK for MCP
VariableDescriptionRequired
REPLICATE_API_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use Ai Image Gen to prompt.”
  • “Use Ai Image Gen to output dir.”
  • “Use Ai Image Gen to go fast.”

Frequently asked questions

Key features include generating images from text prompts, configurable image parameters (resolution, aspect ratio, quality), saving generated images to a directory, full MCP protocol compliance, and robust error handling.