
mcp mavae
MAVAE 图像工具箱是一个用于与图像媒体工具交互的模型上下文协议(MCP)服务器。🚀 图像生成 | 🚀 图像编辑 | 🚀 集合管理 | 🚀 模型和Lora管理
Repository Info
About This Server
MAVAE 图像工具箱是一个用于与图像媒体工具交互的模型上下文协议(MCP)服务器。🚀 图像生成 | 🚀 图像编辑 | 🚀 集合管理 | 🚀 模型和Lora管理
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
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 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 id
Collection Management
collection_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 collection
Image Editing
compress_image- Lossless compression of imagescrop_image- Crop images with local path and URL supportresize_image- Resize images with proportional or fixed dimensions
Model & Resources
list_images- Get the list of owned imageslist_loras- Get the list of available loraslist_models- Get the list of available models
Authentication
token_state- Get the x-api-token state
Quick Start
Clone the repository
git clone https://github.com/xenoailimited/mcp-mavaeInstall dependencies
cd mcp-mavae
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.