Skip to main content
Glama
lanlan3292

molanko-mcp-avatar-generator

by lanlan3292

molanko-mcp-avatar-generator

MCP server for molanko-avatar-generator.

The server exposes one tool:

  • generate_avatar — generate a Molanko Avatar from a provided image or a Minecraft player name/UUID, then return the generated PNG as an MCP image result.

A source is required: provide exactly one of image or minecraftPlayer.

Run

npm install
npm start

The server uses MCP stdio transport, so it can be launched by MCP clients that support local stdio servers.

Related MCP server: mcp-xmorf

Tool: generate_avatar

Source

Provide exactly one:

  • image — MCP-style image object: { "type": "image", "data": "<base64>", "mimeType": "image/png" }

  • minecraftPlayer — Minecraft username or UUID, with or without UUID hyphens. The server resolves the current skin using Mojang's profile and session APIs, then downloads the skin directly from the texture URL supplied by Mojang.

Examples:

{ "minecraftPlayer": "Notch" }
{ "minecraftPlayer": "069a79f4-44e9-4726-a5be-fca90e38aaf5" }

If both image and minecraftPlayer are supplied, the request is rejected rather than silently choosing one.

Options

  • scale — nearest-neighbor output scale

  • outlineMode — outline radius; 0 disables the outline

  • outlineColorauto, auto_darker, auto_lighter, or a hex color

  • bgColorauto, auto_lighter, auto_darker, or a hex color

  • fillBackground — whether to fill the output background

  • upscale48 — render the 32x32 avatar centered on a 48x48 canvas

  • averageColor — optional override for the color used by automatic outline/background colors; use auto, #RRGGBB, or #RGB

averageColor is not a separate tool. It overrides the generator's automatically calculated average color. If omitted or set to auto, the underlying generator calculates the average color from the source skin. A hex value is parsed into { r, g, b } and passed to molanko-avatar-generator as averageColor.

The result is returned as an MCP image content item containing a PNG.

Minecraft player resolution

minecraftPlayer follows the same basic approach as the Android avatar generator: a UUID is normalized directly; a username is resolved through api.mojang.com/users/profiles/minecraft/{name}; the UUID is then resolved through Mojang's session profile API to obtain the player's textures property and skin URL. No third-party skin-rendering or skin-mirroring service is required.

The server reports useful failures such as invalid player identifiers, player not found, missing skin texture, Mojang rate limits, Mojang server errors, and network/download errors.

Architecture

This repository is intentionally a thin MCP adapter. Minecraft player resolution and avatar rendering happen server-side, while the actual avatar rendering remains in molanko-avatar-generator.

Install Server
F
license - not found
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lanlan3292/molanko-mcp-avatar-generator'

If you have feedback or need assistance with the MCP directory API, please join our Discord server