🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@variel/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@variel/mcp-server

The Variel MCP server — gives your coding agent live access to your brand: tokens, components, voice, and on-brand validation. It runs over stdio and resolves your brand from the Variel API using your project's API key, so there's nothing to clone and no

Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
33
-58.23%
Maintainers
1
Weekly downloads
 
Created
Source

@variel/mcp-server

The Variel MCP server — gives your coding agent live access to your brand: tokens, components, voice, and on-brand validation. It runs over stdio and resolves your brand from the Variel API using your project's API key, so there's nothing to clone and no database to point at.

Connect

Get your BRAND_API_KEY (vrl_…) from your project's Activation page in the Variel dashboard, then:

# Claude Code
claude mcp add variel -e BRAND_API_KEY=vrl_… -- npx @variel/mcp-server

For Cursor / other agents, add an mcpServers entry:

{
  "mcpServers": {
    "variel": {
      "command": "npx",
      "args": ["@variel/mcp-server"],
      "env": { "BRAND_API_KEY": "vrl_…" }
    }
  }
}

Tools

  • get_brand_tokens — the live token set (colors, type, spacing, radius…)
  • list_components / get_component — brand components to use before rolling your own
  • validate_design — deterministic on-brand conformance for changed code
  • validate_copy — voice/tone check for copy
  • grade_visual_quality — model-judged visual quality (needs ANTHROPIC_API_KEY)
  • propose_token — propose a new token when nothing fits

Resources: brand://voice, brand://moodboard, brand://guidelines.

Configuration

EnvDefaultPurpose
BRAND_API_KEYYour project key (vrl_…). Required.
VARIEL_API_URLhttps://variel.aiOverride for self-host / staging.
ANTHROPIC_API_KEYRequired only for grade_visual_quality.
BRAND_SOURCE(unset)Set to db to read Postgres directly (DATABASE_URL) instead of the HTTP API — for local dev / self-host.

Without a valid key the server falls back to a neutral bootstrap brand so your agent still starts.

FAQs

Package last updated on 17 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts