MAVAE - IMAGE TOOLBOX
A creative toolkit for AI agents to generate, edit, and manage images, models, and collections using the MAVAE API.
MAVAE - IMAGE TOOLBOX
A powerful creative and editing toolkit designed for AI Agents.
MAVAE is a Model Context Protocol (MCP) server for interacting with image media tools. It provides a standardized interface for AI Agents to generate and manipulate images.
š Features
- Image Generation: Generate images using both raw configurations and predefined collections
- Image Editing: Compress, crop, and resize images with proportional or fixed dimensions
- Collection Management: Create, manage, and share configurations for consistent image generation
- Model & Lora Management: List and utilize available models and Loras
- API Token Management: Handle authentication for secure interaction with Mavae services
š Prerequisites
- Node.js (v16 or higher)
- MAVAE API Key (set as environment variable, Apply here)
š ļø Installation
# Install dependencies
npm install
# Build the project
npm run build
# Start the server
npm start
MCP Json
{
  "mcpServers": {
      "mavae": {
          "command": "node",
          "args": [
              "***/dist/index.js"
          ],
          "env": {
              "MAVAE_API_KEY": MAVAE_API_KEY
          }
      }
  }
}
When using MAVAE MCP locally, this path is an absolute path šš» "***/dist/index.js"
š³ Docker Support
# Build Docker image
docker build -t mavae-mcp-server .
# Run Docker container
docker run -e MAVAE_API_KEY=your_api_key mavae-mcp-server
š Project Structure
mavae/
āāā src/                  # Source code
ā   āāā actions/          # API endpoint implementation handlers
ā   ā   āāā aigc.ts       # Image generation operations
ā   ā   āāā collection.ts # Collection management operations
ā   ā   āāā edit.ts       # Image editing operations
ā   ā   āāā token.ts      # API token operations
ā   āāā tools/            # MCP tool definitions
ā   ā   āāā aigc.ts       # Image generation tool definitions
ā   ā   āāā collection.ts # Collection management tool definitions
ā   ā   āāā edit.ts       # Image editing tool definitions
ā   āāā types/            # TypeScript type definitions
ā   ā   āāā aigc.ts       # Image generation types
ā   ā   āāā collection.ts # Collection types
ā   ā   āāā edit.ts       # Image editing types
ā   ā   āāā response.ts   # API response types
ā   āāā utils/            # Utility functions
ā   ā   āāā constants.ts  # Constant values
ā   āāā index.ts          # Server entry point
āāā dist/                 # Compiled JavaScript files
āāā package.json          # Project dependencies and scripts
āāā tsconfig.json         # TypeScript configuration
šļø Available Tools
Image Generation
- image_raw_generate- Generate an image using raw AIGC configuration
- image_collection_generate- Generate an image using a collection's AIGC configuration
- image_retry_generate- Retry a failed image generation
- image_state- Get the details of an owned image
- generate_task_state- Get the generation state of an image by task id
Collection Management
- collection_create- Create a new collection
- collection_delete- Delete a collection
- collection_toggle_public- Toggle the public status of a collection
- collection_list- Get the list of owned collections
- collection_state- Get the details of an owned collection
Image Editing
- compress_image- Lossless compression of images
- crop_image- Crop images with local path and URL support
- resize_image- Resize images with proportional or fixed dimensions
Model & Resources
- list_images- Get the list of owned images
- list_loras- Get the list of available loras
- list_models- Get the list of available models
Authentication
- token_state- Get the x-api-token state
Related Servers
- .NET Types Explorer- Provides detailed type information from .NET projects including assembly exploration, type reflection, and NuGet integration for AI coding agents 
- Solana Dev MCP- An MCP server for Solana development providing basic RPC methods and helpful prompts. 
- Cookiecutter MCP UV Container- A Cookiecutter template for creating MCP servers with Apple container support and configurable transport methods. 
- Azure MCP Server- All Azure MCP tools in a single server. The Azure MCP Server implements the MCP specification to create a seamless connection between AI agents and Azure services. Azure MCP Server can be used alone or with the GitHub Copilot for Azure extension in VS Code. 
- Remote MCP Server (Authless)- An example of a remote MCP server deployable on Cloudflare Workers without authentication. 
- Quick Chart MCP Server- A server for creating charts and visualizations using the Quick Chart API. 
- NovaCV- An MCP server for accessing the NovaCV resume service API. 
- DeepView MCP- Enables IDEs like Cursor and Windsurf to analyze large codebases using Gemini's 1M context window. 
- JSON Diff- A JSON diff tool to compare two JSON strings. 
- Code Sync MCP Server- Hot reload remote containerized Python applications directly from your IDE.