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.
# Install dependencies
npm install
# Build the project
npm run build
# Start the server
npm start
{
"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"
# Build Docker image
docker build -t mavae-mcp-server .
# Run Docker container
docker run -e MAVAE_API_KEY=your_api_key mavae-mcp-server
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
image_raw_generate
- Generate an image using raw AIGC configurationimage_collection_generate
- Generate an image using a collection's AIGC configurationimage_retry_generate
- Retry a failed image generationimage_state
- Get the details of an owned imagegenerate_task_state
- Get the generation state of an image by task idcollection_create
- Create a new collectioncollection_delete
- Delete a collectioncollection_toggle_public
- Toggle the public status of a collectioncollection_list
- Get the list of owned collectionscollection_state
- Get the details of an owned collectioncompress_image
- Lossless compression of imagescrop_image
- Crop images with local path and URL supportresize_image
- Resize images with proportional or fixed dimensionslist_images
- Get the list of owned imageslist_loras
- Get the list of available loraslist_models
- Get the list of available modelstoken_state
- Get the x-api-token stateSeamless access to top MCP servers powering the future of AI integration.