Face Generator MCP Server

Face Generator MCP Server

face-generator•bydasheck0

An MCP server for generating human face images that can save them to a directory or return base64-encoded image content.

License: MIT•Runtime: Awaiting documentation review•Category: media design

WHAT IT DOES

  • •Generates realistic-looking faces on demand for applications such as Cline.
  • •Generates multiple images with configurable width and height.
  • •Saves images to a required output directory and can return base64-encoded image content instead of a file path.
  • •Applies square, circle, or rounded shapes, with a configurable border radius for rounded images.

BEST FOR

  • •Applications that want to generate realistic-looking face images on demand, such as Cline.
  • •Creating multiple face images at selected widths and shapes.
  • •Saving generated images to an output directory or receiving them as base64 content.

ABOUT FACE-GENERATOR

Face Generator MCP Server is cataloged as an MCP server attributed to dasheck0. An MCP server for generating human face images that can save them to a directory or return base64-encoded image content. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Face Generator MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can the server generate more than one face image in a single request?

Yes. The count parameter controls how many images are generated and defaults to 1.

What shapes can generated face images use?

Images can be square, circle, or rounded; rounded images support a configurable border radius.

Can face images be returned directly as base64 instead of a file path?

Yes. When returnImageContent is enabled, the tool returns the image as base64-encoded content instead of a file path.

上游原版 README

在 GitHub 查看同一版本原文

README.md · d8d443a1afc6 · 采集于 2026-11-13 08:20:55 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Face Generator MCP Server: Generate Human Faces with Ease

Smithery badge

Face Generator Server MCP server

Features

This project provides a Model Context Protocol (MCP) server for generating human face images using https://thispersondoesnotexist.com. Think of it as a tool that lets other applications, like Cline, generate realistic-looking faces on demand.

This guide is designed for beginners, so we'll walk through everything step-by-step. We'll cover:

  1. Prerequisites: What you need before you start.
  2. Installation and Setup: Getting everything up and running.
  3. Running the Server: Starting the server.
  4. Integrating with Cline: Connecting this server to the Cline VS Code extension.
  5. Troubleshooting: Common problems and solutions.
  6. Tool Parameters: A list of the parameters you can use with the generate_face tool.

1. Prerequisites

Before you begin, you'll need a few things:

  • Node.js and npm: Node.js is a JavaScript runtime that lets you run JavaScript code outside of a web browser. npm (Node Package Manager) is included with Node.js and is used to install packages (libraries of code).
    • Download Node.js. Choose the LTS (Long Term Support) version. This is the most stable version. Follow the installation instructions for your operating system. Make sure to include npm in the installation (it's usually included by default).
    • Verify Installation: After installing Node.js, open a new terminal (command prompt on Windows, Terminal on macOS/Linux) and type:
      node -v
      npm -v
      
      You should see version numbers for both Node.js and npm. If you see an error, Node.js might not be installed correctly, or it might not be in your system's PATH. (See Troubleshooting below).

2. Installation and Setup

Let's get the project code and set it up:

  1. Clone the Repository:

    • Using Git (command line):
      1. Open a terminal (command prompt or Terminal).
      2. Navigate to the directory where you want to store the project. For example, to put it on your Desktop:
        cd Desktop
        
      3. Clone the repository:
        git clone https://github.com/Moe/mcp-face-generator
        
      4. Change into the project directory:
        cd mcp-face-generator
        
    • Using GitHub Desktop:
      1. Open GitHub Desktop.
      2. Click "File" -> "Clone Repository...".
      3. In the "URL" tab, paste the repository URL.
      4. Choose a local path (where you want to save the project on your computer).
      5. Click "Clone".
  2. Install Dependencies: This downloads all the necessary libraries the project needs. In the terminal, inside the project directory, run:

    npm install
    

    This might take a few minutes.

  3. Build the Project: This compiles the code into an executable format.

    npm run build
    

3. Running the Server

You can run the server in two main ways:

  • Standalone Mode: This runs the server directly, and it will output messages to the terminal.
  • Development/Debug Mode: This runs the server with the MCP Inspector. You can open the URL that it outputs in your browser and start playing around.

3.1 Standalone Mode

To run the server in standalone mode, use the following command in the terminal (from the project directory):

npm run start

You should see messages in the terminal indicating that the server is running. It will listen for connections from MCP clients. The server will keep running until you stop it (usually with Ctrl+C).

3.2 Development/Debug Mode (with Inspector)

This mode is useful for debugging.

  1. Start the server in debug mode:
    npm run dev
    
    This will start the server and output a message like: 🔍 MCP Inspector is up and running at http://localhost:5173 🚀. This is the URL you'll use to open the MCP inspector in your Browser.

4. Integrating with Cline

Cline is a VS Code extension that uses MCP servers to provide language support. Here's how to connect this face generator server to Cline:

  1. Install Cline: If you haven't already, install the "Cline" extension in VS Code.

  2. Open Cline Settings:

    • Open the VS Code settings (File -> Preferences -> Settings, or Ctrl+,).
    • Search for "Cline MCP Settings".
    • Click "Edit in settings.json". This will open the cline_mcp_settings.json file.
  3. Add the Server Configuration: You'll need to add an entry to the servers array in the cline_mcp_settings.json file. Here's an example:

    {
      "mcpServers": {
        "face-generator": {
          "command": "node",
          "args": [
            "C:/PATH_TO/mcp-face-generator/build/index.js"
          ],
          "disabled": false,
          "autoApprove": []
        }
      }
    }
    
    • Replace "C:/PATH_TO/mcp-face-generator/build/index.js" with the actual path to the index.js file in your project directory. Use forward slashes (/) or double backslashes (\\) for the path on Windows.
  4. Test the Connection:

    • Cline should automatically connect to the server. You will see the Server appear in the "MCP Servers" Panel (in the Cline extension, you'll find different buttons on the top.)
    • Ask Cline to generate a face and it should mention the MCP Server and should try to use the corresponding tools

5. Troubleshooting

  • node -v or npm -v gives an error:
    • Make sure Node.js is installed correctly. Try reinstalling it.
    • Ensure that the Node.js installation directory is in your system's PATH environment variable. On Windows, you can edit environment variables through the System Properties (search for "environment variables" in the Start Menu).
  • npm install fails:
    • Make sure you have an internet connection.
    • Try deleting the node_modules folder and running npm install again.
    • If you're behind a proxy, you might need to configure npm to use the proxy. Search online for "npm proxy settings".
  • Cline doesn't connect to the server:
    • Double-check the settings in cline_mcp_settings.json. It must be the correct path to the index.js file.
    • Make sure the server is running (use npm run start to check).
    • Restart VS Code.

6. Tool Parameters

The generate_face tool accepts the following parameters:

  • outputDir: (required) Directory to save the images
  • fileName: 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)
  • returnImageContent: Return image as base64 encoded content instead of file path (default: false)

Example

{
  "outputDir": "./output",
  "count": 3,
  "width": 512,
  "height": 512,
  "shape": "circle",
  "returnImageContent": true
}

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Face Generator MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/face-generator)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related media design MCP Servers

Alternative and complementary servers in the same category

View all in media design →

A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

8K
Media & Design
Liquid Composer
liquid-composer•frontedu

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

69
Media & Design

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.

1
Media & Design