Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

Krusch Frontend MCP

Latest version: v1.1.2

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
MCP server Transport: stdio Publisher: kruschdev
0 Stars
0 Forks
2 Versions
JavaScript Repo language

Scan summary

Krusch Frontend MCP was last scanned on 23 Nov 2026 at version 1.1.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published within 5 days (19–23 Nov 2026).
  • Findings: No rules fired in version 1.1.2.
  • MCP server: Runs over stdio.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.1.2 LATEST 23 Nov 2026 No rules fired
1.1.1 19 Nov 2026 No rules fired

No rules fired in 1.1.2

Findings

Findings for v1.1.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.1.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

krusch-frontend-mcp

Give your AI agent a design eye: MCP tools for color theory, layout analysis, canonical component templates, and design system enforcement.

Node.js 22+ License: MIT MCP: 12 Tools Storage: sqlite-vec + FTS5 Tests: 48 Passed

AI-powered styling assistant MCP server that provides deterministic design utilities, canonical HTML/SVG/Vercel layout primitives, and Hybrid RAG-backed design rule retrieval for autonomous frontend development.

Features

  • 12 MCP tools: deterministic CSS/color algorithms, canonical component & Vercel templates, provenance graph traversal, and LLM-assisted generation
  • 48 curated design rules: WCAG accessibility, Refactoring UI heuristics, Vercel Next.js App Router / Edge streaming patterns, typography, and spacing
  • Canonical template substrate (16 templates): bit-for-bit HTML/SVG brand primitives (article-shell, site-header, footer-deadbolt, deadbolt-svg, cyber-grid, nav-back) and @krusch/toolkit + Vercel Lego bricks (lego-vercel-nextjs-shell, lego-vercel-edge-sse, lego-vercel-json, etc.) preventing ad-hoc layout drift
  • Figma token ingestion: parse design system JSON directly into CSS custom properties or the RAG store
  • Hybrid sqlite-vec + SQLite FTS5 (BM25) RRF: combines 1024d cosine similarity with lexical BM25 search via Reciprocal Rank Fusion, with automatic zero-network FTS5 fallback when offline
  • Fleet-aware Ollama routing: optional multi-node load balancing for embeddings

Requirements

  • Node.js 22+
  • Ollama running locally (or on a remote host; optional for deterministic tools and offline FTS5 rule retrieval)
  • Recommended Ollama models:
    • snowflake-arctic-embed2: 8,192-ctx 1024-dim embedder for design rules and tokens (or configurable EMBED_MODEL)
    • qwen2.5-coder:7b: for layout analysis and component style generation (or configurable LLM_MODEL)
ollama pull snowflake-arctic-embed2
ollama pull qwen2.5-coder:7b

Installation

Agent-Assisted Setup

Ask your coding agent (Claude Code, Codex, Cursor, Windsurf, or Antigravity):

Read https://raw.githubusercontent.com/kruschdev/krusch-frontend-mcp/main/INSTALL.md and set up krusch-frontend-mcp on this machine.
Manual Setup
git clone https://github.com/kruschdev/krusch-frontend-mcp.git
cd krusch-frontend-mcp
npm install
Seed the RAG store

On first run, seed the database with 48 curated design rules:

npm run seed

This is idempotent, running it again safely replaces existing rules.

Configuration

All configuration is via environment variables. Create a .env file or export them directly:

Variable Default Description
OLLAMA_URL http://localhost:11434 Primary Ollama instance URL
OLLAMA_NODES (derived from OLLAMA_URL) Comma-separated host:port list for fleet routing
EMBED_MODEL snowflake-arctic-embed2 Ollama model for embeddings
EMBED_DIMENSION 1024 Embedding vector dimension
LLM_MODEL qwen2.5-coder:7b Ollama model for layout and component style generation
DEBUG false Enable debug logging
Multi-node Ollama fleet

If you have multiple Ollama instances, set OLLAMA_NODES for round-robin load balancing on embedding operations:

export OLLAMA_NODES="localhost:11434,gpu-server:11434,inference-node:11434"

Usage with Claude Desktop / Cursor / etc.

Add to your MCP client configuration:

{
  "mcpServers": {
    "krusch-frontend-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/krusch-frontend-mcp/src/index.js"]
    }
  }
}

Tools (12 Tools)

Deterministic & Canonical Primitives (no LLM required)
Tool Description
generate_color_palette HSL math palette generation from a base hex code with WCAG contrast scoring
css_to_tailwind AST-based CSS → Tailwind class mapping (~230 entries + shorthand expansion)
generate_css_variables_from_figma Parse Figma JSON tokens into a CSS :root block with custom properties
generate_responsive_breakpoints CSS media query generation with customizable breakpoint widths
get_canonical_template Retrieve 16 authoritative HTML/SVG, Vercel Next.js/Edge, & @krusch/toolkit Lego templates (article-shell, site-header, footer-deadbolt, deadbolt-svg, cyber-grid, nav-back, lego-node-api, lego-mcp-server, lego-sse-route, lego-react-shell, lego-fastapi-app, lego-cloudflare-worker, lego-webhook-route, lego-vercel-nextjs-shell, lego-vercel-edge-sse, lego-vercel-json)
list_canonical_templates List all 16 available canonical HTML/SVG brand primitives, Vercel bricks, and Lego code starter templates
RAG & Provenance Lineage (SQLite FTS5 + sqlite-vec)
Tool Description
ingest_figma_tokens Embed and store Figma JSON tokens in the vector database
query_design_rules Hybrid semantic + lexical BM25 search over 48 curated design rules with optional paradigm filter
frontend_get_provenance Trace version history and provenance of a design rule or token in SQLite
frontend_traverse_graph Traverse parent/child lineage graphs for frontend design rules
LLM-assisted (requires Ollama for inference)
Tool Description
analyze_layout_structure HTML → CSS layout analysis (Flexbox vs Grid recommendation)
generate_component_styles RAG-enriched component style generation from natural language descriptions
Design Rule Paradigms

The query_design_rules and generate_component_styles tools support an optional paradigm filter:

  • universal (35 rules): WCAG accessibility, spacing scales, typography, color systems, layout patterns, animation timing
  • refactoring-ui (7 rules): Heuristics from Refactoring UI: hierarchy through weight, de-emphasized borders, visual alignment
  • vercel (6 rules): Vercel Next.js App Router SSR hydration safety (useMounted), unbuffered Edge SSE streaming (force-dynamic, no-transform), Web-Standards Edge runtime purity, zero-CLS font/SVG sizing, and vercel.json security headers

Development

# Run tests (48 cases)
npm test

# Seed RAG store (idempotent)
npm run seed

# Start MCP server (stdio mode)
npm start

Architecture

krusch-frontend-mcp/
├── src/
│   ├── index.js           # MCP server entrypoint (stdio transport)
│   ├── config.js           # Environment-based configuration
│   ├── rag-engine.js       # sqlite-vec vector store + paradigm-aware search
│   ├── lib/
│   │   ├── db.js           # Standalone better-sqlite3 wrapper
│   │   └── llm.js          # Minimal Ollama chat client
│   └── tools/
│       ├── color.js        # HSL/Hex math - palette generation + WCAG contrast
│       ├── tailwind.js     # AST-based CSS → Tailwind class mapping
│       ├── figma.js        # Figma JSON token ingestion + CSS variable generation
│       ├── design-rules.js # RAG-powered design rule retrieval
│       ├── layout.js       # LLM HTML → CSS layout analysis
│       ├── embed.js        # Ollama embedding client (fleet-aware)
│       ├── breakpoints.js  # Responsive breakpoint generator
│       └── component-styles.js # LLM-assisted component style generation
├── scripts/
│   ├── seed-utils.js              # Shared seeding utility
│   ├── seed-design-rules.js       # 29 universal baseline rules
│   ├── ingest-refactoring-ui.js   # 7 Refactoring UI aesthetic rules
│   └── ingest-universal-a11y.js   # 6 extended WCAG/ARIA rules
└── tests/                         # 27 test cases (node:test)

License

MIT

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry dev.krusch/krusch-frontend-mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229