Skip to main content
Glama

Claude Talk to Figma MCP

by mulerrr
defaults.ts494 B
import { Color, ColorWithDefaults } from '../types/color'; export const FIGMA_DEFAULTS = { color: { opacity: 1, }, stroke: { weight: 1, } } as const; export function applyDefault<T>(value: T | undefined, defaultValue: T): T { return value !== undefined ? value : defaultValue; } export function applyColorDefaults(color: Color): ColorWithDefaults { return { r: color.r, g: color.g, b: color.b, a: applyDefault(color.a, FIGMA_DEFAULTS.color.opacity) }; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mulerrr/figma-mcp-mini'

If you have feedback or need assistance with the MCP directory API, please join our Discord server