Connecting Claude Code to Design Asset MCP Servers: Ship Real UI Components, Shaders, and Icons | HorizonX
← The Journal

Claude Code

Connecting Claude Code to Design Asset MCP Servers: Ship Real UI Components, Shaders, and Icons

Connect Claude Code to HorizonX MCP via OAuth or Bearer token to pull React/Svelte components, DESIGN.md tokens, WebGL shaders, and CC0 media.

Marcelo Cedeño

Marcelo Cedeño

·6 min read

Connecting Claude Code to Design Asset MCP Servers: Ship Real UI Components, Shaders, and Icons

Claude Code is fast at wiring state, routes, and API handlers, yet frontend builds still stall when the agent has to invent visual polish from scratch. Connecting Claude Code to a design asset MCP server gives the terminal agent direct access to verified UI kits, design tokens, WebGL shaders, and media files without leaving your repository.

HorizonX (horizonx.so) provides a hosted streamable-HTTP MCP server (https://horizonx.so/api/mcp) compatible with Claude Code, Codex, Cursor, Windsurf, VS Code, and Gemini CLI, alongside an official agent plugin (Mdx2025/horizonx-agent-plugin) with native plugin/extension setup for Claude Code, Codex, Cursor, and Gemini CLI. This guide walks through setup, OAuth authentication, DESIGN.md alignment, and a real component-and-asset workflow in Claude Code.

How Do You Connect Claude Code to HorizonX MCP?#

You can connect Claude Code to HorizonX MCP in two commands using native OAuth sign-in, with no manual JSON editing or pasted API keys required. The first command registers the remote streamable-HTTP endpoint, and the second opens your browser to authorize your HorizonX account.

Run the following in your terminal:

claude mcp add --transport http horizonx https://horizonx.so/api/mcp
claude mcp login horizonx

If you are running Claude Code in a headless environment or CI-adjacent container where browser OAuth is unavailable, generate an MCP key from your HorizonX account settings and pass a Bearer header instead:

claude mcp add --transport http horizonx https://horizonx.so/api/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

You can also verify or re-authenticate your connection at any time inside an active Claude Code session by running /mcp. For teams that want reusable agent skills and prompt patterns alongside the server, HorizonX publishes Mdx2025/horizonx-agent-plugin on GitHub, linked from /mcp.

Which HorizonX MCP Tools Should Claude Code Use First?#

Claude Code should always inspect your allowance and design tokens before exporting code or downloading files. HorizonX separates zero-cost discovery tools from metered export and download tools so your agent can search, inspect parameters, and read DESIGN.md specifications without burning plan quota.

MCP Tool Purpose in Claude Code Plan Quota Cost
get_quota Checks remaining daily/30-day editor exports, Library downloads, and reset windows Free (never counts)
get_design_md Fetches a Library design system as a structured DESIGN.md token and rule spec Free (never counts)
search_components Finds interactive components, shaders, textures, mockups, and cursors by description Free (never counts)
get_component Inspects export formats (HTML, Svelte, React) and tunable parameters Free (never counts)
export_component Exports tuned component code ready to drop into your repo Uses 1 editor export (30-day repeats free)
export_palette Generates an 11-step OKLCH color scale and gradient as HTML, Svelte, or React Free (never counts)
search_library Searches UI kits, landing templates, 3D models, sounds, and open-source icon packs Free (never counts)
get_library_item Checks included formats (Figma, code, media) and file manifest before downloading Free (never counts)
download_library_item Returns short-lived download links for Claude Code to fetch into your project Uses 1 standard or premium download

Step-by-Step: From DESIGN.md to Deployed UI and Shaders#

Start every frontend feature in Claude Code by anchoring the agent to a DESIGN.md specification before generating components. Pulling the design system first prevents mismatched Tailwind spacing, arbitrary hex colors, and inconsistent border radii across multi-file edits.

1. Check quota and lock your DESIGN.md#

Prompt Claude Code with an explicit instruction to inspect quota and load a design system:

"Use HorizonX get_quota to confirm available exports, then search the Library for a dark SaaS dashboard kit and call get_design_md. Save the design rules into DESIGN.md at the project root."

Once DESIGN.md is written to disk, reference it in your CLAUDE.md file so every subsequent sub-task respects the same color palette, typography scale, and component conventions.

2. Search, tune, and export interactive shaders or cursors#

Instead of asking Claude Code to hand-write fragile WebGL boilerplate, let it inspect and export a tuned shader or custom cursor from HorizonX's interactive catalogs (/shaders, /textures, /cursors):

"Call search_components on HorizonX for a subtle WebGL plasma background suitable for a dark hero section. Use get_component to check React export support and tune speed and opacity to low values, then run export_component and wire it into src/components/HeroBackground.tsx."

Because export_component delivers the exact code produced by the HorizonX browser editor with your agent's chosen settings applied, you avoid the trial-and-error shader debugging loop. Exporting the same item again within 30 days does not consume an additional export credit.

3. Pull CC0 3D models, UI sounds, and free placeholder logos#

For richer product demos, Claude Code can also pull non-code assets via search_library and download_library_item:

  • Audio feedback: 1,346 CC0 1.0 sound effects in WAV and MP3 at /sounds for button clicks, notifications, and game interactions.
  • 3D scenes: 520 CC0 1.0 glTF/GLB models at /3d-models ready for Three.js or React Three Fiber.
  • Placeholder logos: 75 free SVG placeholder logos at /logos for customer-logo strips and prototype navbars.

If you need a 3D device mockup, note that export_component returns the interactive HTML embed via MCP, whereas PNG/JPG (up to 4K on paid plans, 720p max without a plan) and 1080p MP4 renders are exported from the browser editor at /mockups.

Plan Limits and Licensing Guardrails for Agent Workflows#

All Claude Code MCP calls share your HorizonX web account limits, and HorizonX offers subscription plans only (no one-off purchases and no unlimited editor exports). Keeping get_quota at the start of automated prompts ensures your agent never hits an unexpected cap mid-sprint.

Plan Monthly / Annual (USD) Standard Downloads / Day Premium Downloads / Month Editor Exports (Day / 30 Days) Mockup MP4 / 30 Days
Starter $24.99/mo ($149.90/yr) 10 5 30 / 100 20
Pro $39.99/mo ($239.90/yr) 25 12 60 / 200 100
Max $99.99/mo ($599.90/yr) 50 25 150 / 600 400

Max also includes 3 teammates so small engineering teams can share downloads. HorizonX-created assets include a commercial license for client and commercial projects built while subscribed, while CC0 1.0 applies to /sounds and /3d-models, and third-party open-source icon packs on /icons keep their authors' MIT, ISC, or Apache 2.0 licenses. Full terms and plan breakdowns are available at /pricing.

Ready to Wire HorizonX Into Claude Code?#

Run the two-line claude mcp add and claude mcp login setup above, or explore all supported vibecoding workflows and connectors at /mcp. Starting with get_design_md and search_components gives Claude Code verified production components and visual assets in one reproducible loop.