GlyphCenter

Lucidmike78/GlyphCenter
★ 0 stars JavaScript Code/Dev Tools Updated today
Pixel-perfect optical centering for icons, symbols, and UI glyphs. Deterministic MCP server, Codex AI skill, PNG analysis, and 434 precision tests.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "glyphcenter": {
      "command": "npx",
      "args": [
        "-y",
        "Lucidmike78/GlyphCenter"
      ]
    }
  }
}

README Excerpt

**Pixel-perfect optical centering for icons, symbols, and UI glyphs.** GlyphCenter is an open-source MCP server and AI skill for deterministic, pixel-perfect centering of symbols inside circles, squares, rounded rectangles, polygons, and custom shapes. It renders from continuous geometry at high resolution, downsamples once with a premultiplied-alpha Lanczos filter, and measures the final PNG instead of trusting layout math alone.

Tools (5)

analyze_icon_pngcompare_icon_pngsoptimize_symbol_centeringrender_centered_symbolrun_precision_regression_suite

Topics

ai-skillcodexicon-centeringimage-processingjavascriptmcpmodel-context-protocoloptical-centeringpixel-perfectui-design