npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@glbforge/mcp

v0.8.0

Published

GLBForge MCP server — agent-oriented 3D asset tooling: validate / inspect / render GLB and USDZ with stable error codes and prim paths, plus optimize, export, and generation.

Readme

@glbforge/mcp

MCP server exposing the glbforge pipeline to AI agents (Claude Code, Cursor, ...).

claude mcp add glbforge -- npx -y @glbforge/mcp

Built for agents, not terminals:

  • inspect: the after-every-edit read. Sub-second, semantic, named: one connected shell or floating pieces; watertight or holes / overlapping faces (welded space — UV seams are not holes); size in metres; up axis; origin at the base centre, the centre, or floating off the object; unapplied / mirrored node transforms. Every finding is a versioned rule id (topo/open-edges from core-geometry@1, origin/not-at-base from core-scene@1) with certainty: measured | heuristic, a likely_cause carrying its own confidence, and a concrete fix; front is always unknown because no honest heuristic exists. Severity is the profile's call: authoring (default) warns on topology, mobile-hero reports it. Pass expect ("chair, Z-up, single-shell, 0.4-1.2m tall, front -Y, watertight, origin base", or structured) and intent@1 checks it as a contract: shells, watertight, size and origin are measured errors; a bare category is a plausibility warning with a confidence; front is recorded as declared.
  • diff: what the edit changed and broke. Two versions in, a change note out: per-part size deltas, triangle / shell deltas, topology regressions (was watertight, now is not), origin drift, node transform changes, meshes added or removed, and with visual=true a front / side / top / iso SSIM delta with cameras fixed to the before framing. diff@1 rules: regressions at warning, neutral changes at info. Returns the two sha256s as lineage — an explicit statement that they are the same asset.
  • Local, opt-in usage counter. capabilities reports whether it is on. When the user opts in (GLBFORGE_USAGE=1 or glbforge usage --enable), every call appends one JSON line to ~/.config/glbforge/usage.jsonl with the server-process session id, the asset path and hash, and (for diff) the before → after edge. Nothing leaves the machine. glbforge usage reports invocations per asset lineage. inspect and diff accept an optional lineage id to name an asset across renames.
  • One envelope, stable codes, prim paths. Every tool answers { ok, summary, duration_ms, errors[], data }. errors[] lists every diagnostic as { code, severity, prim_path, property, message, suggested_fix } with enumerable codes (docs/error-codes.md) and the USD prim path (or /Asset/<Node>_<i>/Prim_<j> for glTF) it refers to, so an agent branches on codes and chains inspect → fix → re-validate on paths. Every response validates against schemas/<tool>.output.json and is advertised as an MCP outputSchema.
  • Inspect anything, GLB or USD. validate (opens? usdz packaging, metadata, schema errors, AR Quick Look compatibility; quick mode under a second), inspect_geometry (manifold, normals, UVs, bounds, pivot, scale), inspect_animation (does anything move? skeletons, bindings, blend shapes), inspect_materials (bindings, textures, unresolved paths, memory), analyze_performance (ios_ar / visionos / web / custom budgets with the worst offender per overage), and inspect_all — for .glb, .gltf, .usdz, .usda, .usdc.
  • See it, posed. render (front, N-angle turntable sheet, custom camera, at any animation time; returns the camera) and render_animation_strip (stills of the requested frames, optional GIF).
  • Nothing changes silently. Mutating tools accept dry_run and render, return diff + post_validation, and report every unrequested change (generated normals, joined primitives, transcoded textures, default materials, dropped clips…) as a coded entry in errors[].
  • Compact results. analyze_glb, optimize_glb, and ship_asset return the verdict, the numbers that drive decisions, the top three findings, nextActions (the tool calls that would fix the failures) and a drillDown pointer — as JSON text and as structuredContent.
  • Drill-down on demand. inspect_report returns any full section — findings (with fix suggestions, filterable by rule prefix / severity), textures, materials, topology, geometry, scene, or all. Analysis is deterministic and fast, so nothing is cached server-side.
  • See what you made. Every tool that reads or writes a GLB also returns a rendered PNG (preview: thumbnail | turntable | none) from the deterministic software rasterizer — no GPU, same file = same pixels. render_preview does it standalone (2x2 turntable, optional save).
  • Measured fidelity. Optimizations report a geometric deviation bound and the visual-fidelity SSIM of four fixed-camera renders before vs after, gated on the profile's minSsim floor. A failing SSIM fails the report — and returns a reference | result | change-heatmap sheet of the weakest view so the agent can see where the loss is. compare_glb does the same for any two files, plus geometric alignment scores.
  • Know before you plan. capabilities reports which generation providers have keys, whether a KTX2 encoder is installed, versions, and profiles.
  • Checkable determinism. Every written file comes back with its sha256.
  • Read-only tools are annotated (readOnlyHint) so clients can auto-approve analyze / inspect / render / audit / compare / list.

Tools: inspect, diff, validate, inspect_all, inspect_geometry, inspect_animation, inspect_materials, analyze_performance, render, render_animation_strip, capabilities, analyze_glb, inspect_report, render_preview, compare_glb, optimize_glb, ship_asset, audit_directory, extrude_image, export_stl, export_usdz, list_profiles, generate_image_to_3d, generation_status, meshy_create_task, meshy_task_status, meshy_download. Prompts: web-ready-mobile-hero, logo-keychain, audit-and-fix-folder, ar-ready-usdz.

Schemas: schemas/ (input + output per tool, envelope.json, diagnostic.json). Codes: docs/error-codes.md. Performance profiles: docs/performance-profiles.md.

Tool descriptions teach the routing that matters: flat artwork → deterministic extrusion (free, instant, exact); photographic/dimensional subjects → generation (fal.ai open models or Meshy); everything → budget-checked, perceptually verified optimization.

Docs: https://github.com/glbforge/glbforge