Face Generator MCP Server
MCP server for generating human face images with various shapes and sizes
Overview
Face Generator MCP Server is a Model Context Protocol server that allows the generation of human face images with various shapes and sizes using the service from thispersondoesnotexist.com.
To use the Face Generator MCP Server, you need to install the package via npm and start the server using npx, then utilize the generate_face tool through an MCP client.
- Generates human face images - Supports multiple output shapes including square, circle, and rounded rectangle - Allows configurable image dimensions - Provides transparent backgrounds for non-square shapes - Enables batch generation of multiple images
- Creating avatars for applications and games
- Generating images for design prototypes
- Providing placeholder images for web development
Add to your AI client
Use these steps to connect Face Generator MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"face-generator-dasheck0": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-face-generator-dasheck0"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"face-generator-dasheck0": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-face-generator-dasheck0"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"face-generator-dasheck0": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-face-generator-dasheck0"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"face-generator-dasheck0": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-face-generator-dasheck0"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"face-generator-dasheck0": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-face-generator-dasheck0"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"face-generator-dasheck0": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-face-generator-dasheck0"
]
}
}
}FAQ
Can I generate images in custom shapes?
Yes! You can choose from square, circle, or rounded rectangle shapes when generating images.
How do I specify the number of images to generate?
You can set the 'count' parameter to specify the number of images you want to generate.
Is there a way to provide custom dimensions for the images?
Yes! You can customize both the width and height parameters to generate images in your desired size.