AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Hex Core

mcp-oscarabcorona-hex-core · by oscarabcorona

AI-native component library for LLMs and humans.

— No reviews yet
0 installs
32 views
0.0% view→install

Install

$ agentstack add mcp-oscarabcorona-hex-core

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-oscarabcorona-hex-core)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
● 2mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Hex Core? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Hex Core

[](https://github.com/oscarabcorona/hex-core/actions/workflows/ci.yml) [](https://www.npmjs.com/package/@hex-core/components) [](https://www.npmjs.com/package/@hex-core/components) [](LICENSE) [](https://github.com/sponsors/oscarabcorona)

The component layer for spec-driven UI development.

Hex Core turns a brief (or a spec.md / plan.md section) into a ranked component checklist over MCP. No server, no runtime — just static JSON and 16 MCP tools over a catalog of 183 components, including 43 section blocks and 8 page recipes.

Why Hex Core?

shadcn/ui is built for humans browsing docs. Hex Core is built for AI agents that need:

  • Machine-readable component specs — Zod schemas with props, variants, slots, and constraints
  • AI hints — whenToUse, whenNotToUse, commonMistakes, accessibilityNotes per component
  • Recipes — spec-driven blueprints (auth flows, settings page, pricing table, data table, confirm-destructive, command palette, and the app-shell layout starter) with ordered install steps and post-install checklists
  • MCP server — 16 tools for component discovery, installation, theming, scaffolding, spec resolution, and emitting paste-into-LLM app context
  • Token budgets — each component declares its token cost for efficient LLM context usage

> [!WARNING] > Use the scoped package names. The npm packages are @hex-core/cli and @hex-core/mcp. An unrelated hex-core package is published on npm by a different author — npx hex-core … will fail with npm error could not determine executable to run. Always include the @hex-core/ scope in install commands.

Quick Start

For AI (MCP)

Add to your Claude Code settings (.claude/settings.json):

{
  "mcpServers": {
    "hex-core": {
      "command": "npx",
      "args": ["@hex-core/mcp"]
    }
  }
}

Then ask Claude: "Search hex-core for a button component and add it to my project"

For Humans (CLI)

npx @hex-core/cli init                    # detects Tailwind v3 vs v4, scaffolds globals.css, auto-installs peer deps
npx @hex-core/cli add button input label  # writes components, auto-installs Radix peers, rewrites imports to your @/ alias
npx @hex-core/cli doctor                  # diagnose what's missing if anything breaks

Packages

| Package | Description | |---------|-------------| | @hex-core/registry | Zod schemas and types for the component registry | | @hex-core/tokens | Design token engine with 3 themes | | @hex-core/components | Component source code (React + Tailwind) | | @hex-core/motion | UI animation primitives + deterministic timeline composer (zero-dep WAAPI core, optional motion@^11 adapter) | | @hex-core/mcp | MCP server for AI-native distribution | | @hex-core/cli | CLI for human developers |

MCP Tools

| Tool | Purpose | |------|---------| | search_components | Discover components by query, category, or tags | | search_compositions | Find component examples by composition tags (destructive, confirm, form-action, …) | | get_component | Get full source code + metadata for installation | | get_component_schema | Get props/variants/AI hints (token-efficient) | | describe_intent | Intent-first payload: per-variant useWhen, structured anti-patterns, token intents — call before generating JSX | | get_theme | Get theme in CSS, JSON, or Tailwind format | | list_themes | List available themes | | search_themes | Search the theme catalog by category, tags, or free-text | | emit_figma_tokens | Render a theme as a Figma Variables REST POST payload | | scaffold_project | Generate complete project setup | | customize_component | Apply CSS overrides to components | | list_recipes | Catalog of spec-driven blueprints | | get_recipe | Ordered install steps + post-install checklist | | resolve_spec | Deterministic brief → ranked component + recipe shortlist | | verify_checklist | Cross-check installed components against the internal-dep graph | | emit_app_context | Synthesize a paste-into-LLM markdown payload of theme + installed components |

See hex-core.dev/docs/spec-driven for the full spec-driven workflow.

Spec-driven example

# 1. Discover recipes
npx @hex-core/cli recipe list

# 2. Install every component in a recipe + print its checklist
npx @hex-core/cli recipe add settings-page

Or from an MCP client: ask "Resolve this spec into hex-core components: build a settings page with notifications toggle" — resolve_spec returns the settings-page recipe and a ranked component shortlist.

Skills (for Claude Code)

Hex Core ships nine prose context packs in SKILL.md format — overview, MCP tools decision tree, recipes workflow, theming, CLI, a11y, anti-patterns, registry authoring, motion. Install in one command:

npx @hex-core/cli skills install

This copies the skills into .claude/skills/ so any agent working in your repo loads them via trigger keywords on demand. See hex-core.dev/docs/skills.

Themes

  • Default — Refined, neutral. Professional and versatile.
  • Midnight — Dark-first with deep blues. Built for developer tools.
  • Ember — Warm terracotta and amber. For creative applications.

Components

117 registry items across primitives (Button, Input, Checkbox, Switch, Slider, …), compounds (Combobox, DataTable, Command, Calendar, Date Picker, Kanban, DnD primitives, …), AI-native (Composer, Message, Reasoning, ToolCall, Terminal, Canvas, Diagram, AudioPlayer, AudioWaveform, SpeechRecognition, …), 23 artifact diagrams (sankey, mindmap, gantt, …), and 11 motion primitives (Motion factory, Presence, Timeline composer, useAnimate, useScroll, …). DataTable rows and Tree top-level nodes also opt into drag-to-reorder via the shared DnD primitive set. Every item ships with a machine-readable .schema.ts containing props, variants, AI hints (whenToUse, whenNotToUse, commonMistakes, accessibilityNotes), and a token budget.

Full catalog + live demos: hex-core.dev/docs

Development

pnpm install
pnpm build
pnpm run build:registry

Architecture

hex-core/
├── packages/
│   ├── registry/       # Zod schemas + types
│   ├── tokens/         # Design token engine
│   ├── components/     # React component source
│   ├── mcp-server/     # MCP server
│   └── cli/            # CLI tool
├── registry/           # Built registry JSON
└── scripts/            # Build scripts

Each component has two files:

  • {name}.tsx — React component (Radix UI + Tailwind + CVA)
  • {name}.schema.ts — Machine-readable spec with props, variants, AI hints

Releases

Feature branch → PR → main → /release skill. CI on main runs Lint / Build / Test (~2 min). Slow regression checks (a11y axe-scan + Playwright visual diffs) run locally via pnpm regression as a pre-release gate; see [CONTRIBUTING.md](CONTRIBUTING.md#releasing).

Sponsor

If hex-core saves you time, consider sponsoring development on GitHub.

License

[MIT](LICENSE)

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.