A Model Context Protocol (MCP) server for generating human face images using https://thispersondoesnotexist.com.
- Generate human face images
- Multiple output shapes: square, circle, rounded rectangle
- Configurable image dimensions
- Transparent backgrounds for non-square shapes
- Batch generation of multiple images
npm install @dasheck0/face-generator
- Start the server:
npx face-generator
- Use the
generate_face
tool through an MCP client.
outputDir
: (required) Directory to save the imagesfileName
: Optional file name (defaults to timestamp)count
: Number of images to generate (default: 1)width
: Image width in pixels (default: 256)height
: Image height in pixels (default: 256)shape
: Image shape (square|circle|rounded, default: square)borderRadius
: Border radius for rounded shape (default: 32)
{
"outputDir": "./output",
"count": 3,
"width": 512,
"height": 512,
"shape": "circle"
}
MIT