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

@sn4p.dev/mucv

v0.6.3

Published

Motor Universal de Conversión Visual — MCP server para conversión entre Elementor, React, HTML, Vue y Svelte via VIR

Readme

MUCV — Motor Universal de Conversión Visual

Versión: 0.6.1 Protocolo: MCP (Model Context Protocol) Runtime: Node.js 20+


Qué es MUCV

MUCV es un servidor MCP que convierte diseños entre formatos visuales usando una representación intermedia neutral (VIR):

SOURCE → Parser → Normalizer → VIR → Optimizer → Generator → TARGET

Nunca hay conversión directa entre formatos. Todo pasa por el VIR.


Formatos Soportados

| Source ↓ \ Target → | Elementor | HTML+CSS | React | Vue | Svelte | Angular | Astro | Gutenberg | Elementor Widget | |----------------------|:---------:|:--------:|:-----:|:---:|:------:|:-------:|:-----:|:---------:|:----------------:| | Elementor | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | HTML | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | React (JSX) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |


Instalación

Claude Code

claude mcp add-json mucv '{"type":"stdio","command":"npx","args":["-y","@sn4p.dev/mucv@latest"],"env":{"WP_URL":"https://tu-sitio.com","WP_USER":"admin","WP_APP_PASSWORD":"xxxx xxxx xxxx xxxx xxxx xxxx"}}'

Claude Desktop

Añade a tu claude_desktop_config.json:

{
  "mcpServers": {
    "mucv": {
      "command": "npx",
      "args": ["-y", "@sn4p.dev/mucv@latest"],
      "env": {
        "WP_URL": "https://tu-sitio.com",
        "WP_USER": "admin",
        "WP_APP_PASSWORD": "xxxx xxxx xxxx xxxx xxxx xxxx"
      }
    }
  }
}

VS Code

Añade a .vscode/mcp.json en tu proyecto:

{
  "servers": {
    "mucv": {
      "command": "npx",
      "args": ["-y", "@sn4p.dev/mucv@latest"],
      "env": {
        "WP_URL": "https://tu-sitio.com",
        "WP_USER": "admin",
        "WP_APP_PASSWORD": "xxxx xxxx xxxx xxxx xxxx xxxx"
      }
    }
  }
}

Las variables WP_* son opcionales. Solo se requieren para las herramientas de WordPress (list_pages, get_page_design, publish_design). Las tools de conversión funcionan sin WordPress.

Ejecución directa

npx @sn4p.dev/mucv

Herramientas MCP (9 tools)

| Tool | Descripción | Requiere WP | |------|-------------|:-----------:| | convert_design | Convierte entre formatos visuales | No | | validate_vir | Valida un VIR contra el schema Zod | No | | get_page_design | Obtiene diseño de una página WP | Sí | | publish_design | Publica un diseño en WP | Sí | | list_pages | Lista páginas/posts de WP | Sí | | get_elementor_kit | Lee el Kit Global de Elementor (colores, tipografía) | Sí | | update_elementor_kit | Actualiza parcialmente el Kit Global | Sí | | health_check | Estado del servidor | No | | get_metrics | Métricas de conversión | No |


Características Destacadas

CSS Stylesheet Parser (v0.6.0)

El parser HTML extrae automáticamente bloques <style> embebidos y aplica los estilos a cada nodo por clase y tag. Prioridad: tag < class < inline. Ya no es necesario que todo el CSS esté inline.

Elementor Kit Manager (v0.6.0)

Lee y actualiza el Kit Global de Elementor (colores del sistema, tipografía, container width) directamente via REST API. Soporta actualizaciones parciales — solo cambia lo que se envía.

Generadores de Output (9 formatos)

  • Elementor — JSON completo con metadata para WordPress
  • HTML+CSS — Semántico con clases BEM
  • React — Componentes funcionales TypeScript con CSS Modules
  • Vue — Vue 3 SFC con <script setup> y <style scoped>
  • Svelte — Componentes Svelte nativos
  • Angular — Standalone components v17+ con template inline
  • Astro — Componentes con frontmatter y <style> scoped
  • Gutenberg — Bloques nativos WordPress (post_content)
  • Elementor Widget — Plugin PHP completo con widgets personalizados (ZIP instalable)

Seguridad

  • Sanitización HTML completa (script, iframe, SVG, data: URIs, CSS injection)
  • Validación de URLs en VIR (bloquea javascript:, data:, vbscript:)
  • Rate limiting: 60 req/min (ventana deslizante)
  • Límites de tamaño: content 5MB, title 500 chars, search 200 chars
  • TypeScript strict, validación Zod en runtime

Desarrollo Local

git clone https://github.com/yosnap/mucv.git
cd mucv
npm install
npm run build
npm test

Scripts

| Script | Descripción | |--------|-------------| | npm run build | Compilar TypeScript | | npm test | Ejecutar tests | | npm run test:coverage | Tests con cobertura | | npm run test:e2e | Tests E2E contra WordPress Docker | | npm run lint | ESLint |

Docker (solo para desarrollo)

docker compose up -d    # WordPress + MySQL para testing

Documentación


Licencia

Por definir — uso interno hasta v1.0.0.