text2d
text2d — 2D-Retro-Pixel-Art-Textur-MCP-Server
Ein leistungsstarker MCP-Server (Model Context Protocol), der KI-Assistenten dabei unterstützt, 2D-Retro-Pixel-Art-Texturen und Tilesets für die Spieleentwicklung prozedural zu erzeugen, zu bearbeiten und zu exportieren.
Features
Bild-zu-Retro-Pixel-Art-Konvertierung: Importiert externe PNG-Dateien und verkleinert sie automatisch, quantisiert sie auf Retro-Paletten und wendet über
pixelize_imageBayer-Dithering an.Prozedurale Texturerzeugung: Deterministische Generierung von
wood,stone(Kopfstein/Fels),brick,grass,metal(gebürstete Platten mit Nieten) undwater-Kaustiken.Primitive auf Pixel-Ebene: Volle Kontrolle über
set_pixel,set_pixel_batch,draw_shape(Linien, Rechtecke, Kreise) undflood_fill.Retro-Paletten & Quantisierung: Integrierte authentische Farbpaletten, einschließlich
PICO-8,DawnBringer 32 (DB32),Endesga 32,GameBoy,NES ClassicundCyberpunk Neon.Pixel-Art-Nachbearbeitung: Geordnetes Bayer-Dithering (2x2, 4x4, 8x8) sowie 1-Pixel-Innen-/Außenkonturen, pixelgenau.
Exportoptionen: PNG-Dateien mit ganzzahliger Nearest-Neighbor-Skalierung, Base64-Daten-URIs, ASCII-Unicode-Blockvorschauen und 2D-JSON-Farbgittern.
Related MCP server: Piskel MCP Server
Visuelle Beispiele & Galerie
1. Bildpixelisierung (pixelize_image)
Konvertiere hochauflösende realistische Fotos oder Assets in authentische Retro-Pixel-Art – mit automatischer Palettenquantisierung und Bayer-Dithering.
Original-Eingabe | Endesga 32 (32x32) | PICO-8 (32x32) | GameBoy (32x32) |
DawnBringer 32 (48x48) | Cyberpunk Neon (64x64) |
2. Prozedurale Texturzeugung (generate_texture)
Erzeuge nahtlose, deterministische Retro-Texturen in Sekunden ohne externe Assets.
Holz ( | Stein ( | Ziegel ( |
Gras ( | Metall ( | Wasser ( |
MCP-Tools-Matrix
Tool-Name | Beschreibung | Wichtige Parameter |
| Importiert externe PNG-Dateien und konvertiert sie in 2D-Retro-Pixel-Art. |
|
| Initialisiert eine neue Pixel-Canvas im Speicher. |
|
| Erzeugt eine prozedurale Retro-Textur. |
|
| Setzt ein einzelnes Pixel an (x, y). |
|
| Aktualisiert mehrere Koordinaten in einem Stapelvorgang. |
|
| Zeichnet eine gerasterte Linie, ein Rechteck oder einen Kreis. |
|
| Führt eine Flutfüllung in einer zusammenhängenden Bereich aus. |
|
| Wendet geordnetes Bayer-Dithering an. |
|
| Zeichnet eine 1-Pixel-pixelgenaue Kontur. |
|
| Exportiert die Canvas als PNG, Daten-URI, ASCII oder JSON. |
|
| Listet alle integrierten Retro-Paletten auf. | Keine |
| Listet aktive Canvases im Speicher auf. | Keine |
| Überprüft Canvas-Metadaten und -Abmessungen. |
|
| Gibt die Canvas aus dem Speicher frei. |
|
Installation und Verwendung
Sie können text2d direkt von GitHub installieren und ausführen, ohne es auf npm zu veröffentlichen.
1. Globale Installation (Empfohlen)
Installieren Sie global direkt aus dem GitHub-Repository:
npm install -g github:al3duc/text2d-mcpNach der Installation ist der Befehl text2d systemweit verfügbar.
MCP-Client-Konfiguration
Fügen Sie text2d zu Ihrer MCP-Client-Konfiguration hinzu (z. B. claude_desktop_config.json, mcp_config.json oder Cursor):
Option A: Globale Installation verwenden (am einfachsten)
{
"mcpServers": {
"text2d": {
"command": "text2d"
}
}
}Option B: Direkte Ausführung über npx (keine dauerhafte Installation)
{
"mcpServers": {
"text2d": {
"command": "npx",
"args": [
"-y",
"github:al3duc/text2d-mcp"
]
}
}
}Option C: Claude Code CLI-Befehl
Wenn Sie Claude Code verwenden, registrieren Sie es mit einem einzigen Terminal-Befehl:
claude mcp add text2d -- npx -y github:al3duc/text2d-mcpOption D: Lokales Klonen (Entwicklung)
git clone https://github.com/al3duc/text2d-mcp.git
cd text2d-mcp
npm install
npm run build{
"mcpServers": {
"text2d": {
"command": "node",
"args": [
"<PATH_TO_TEXT2D_REPOSITORY>/dist/index.js"
]
}
}
}Hinweis: Ersetzen Sie <PATH_TO_TEXT2D_REPOSITORY> durch den absoluten Pfad zu Ihrem geklonten Repository.
Build und Test
# Install dependencies
npm install
# Run unit & integration tests
npm test
# Build TypeScript to dist/
npm run build
# Generate procedural texture samples (wood, stone, brick, grass, metal, water)
npx tsx examples/generate_samples.ts
# Test converting realistic images from examples/input/ to pixel art
npx tsx examples/test_car_pixelize.tsLizenz
Dieses Projekt ist unter der MIT-Lizenz lizenziert – siehe die Datei LICENSE für Details.
Maintenance
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
- FlicenseNot gradedqualityDmaintenanceGenerate animated pixel art characters, tilesets, and object directly from your AI coding assistant!38
- AlicenseBqualityBmaintenanceEnables AI assistants to create and manipulate pixel art by providing tools for drawing, layer management, and animation frame control. It supports exporting projects to PNG, GIF, and sprite sheet formats via the Model Context Protocol.2213Apache 2.0
- AlicenseAqualityCmaintenanceEnables AI sprite generation and semantic tools for Aseprite, allowing LLMs to create pixel art, add animations, and manage projects with visual feedback.61GPL 3.0
- AlicenseCqualityBmaintenanceEnables AI assistants to control Aseprite for creating pixel art and animated sprites, with 104 tools covering canvas, drawing, animation, palettes, effects, and more.100MIT
Related MCP Connectors
Generate game assets with AI: sprites, 3D models, animations, sound effects, music, and voices.
Generate authentic pixel art - sprites, animations, and tilesets - from any MCP client
Generate logos, social posts, app screenshots, comic panels & visual-novel assets from prompts.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/al3duc/text2d-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server