Skip to main content
Glama
mrasadi

Design-Code Registry MCP

by mrasadi

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
registry_get_manifestA

Return the registry's manifest: schema version, registry version, project info, and configured design tool(s). Use this first to confirm a registry exists and understand what project it describes.

registry_list_componentsA

List all design components in the registry, optionally filtered by lifecycle status or tag. Use this to browse what already exists before proposing a new component.

registry_get_componentA

Fetch a single component by its exact stable registry id. Returns an error if no such component exists.

registry_find_componentA

Deterministic substring search across component id, name, aliases, tags, and description. NOT semantic/AI search — use registry_get_component or registry_find_by_design_reference when you already know an exact identifier.

registry_find_by_design_referenceA

Deterministically resolve a design-tool reference (e.g. a Figma fileKey/nodeId pair) to a registered component. Returns status 'resolved' with exactly one component, 'ambiguous' with all matching candidates, or 'unresolved' if nothing matches. Never guesses — if you get 'unresolved', treat the mapping as genuinely absent rather than inferring one.

registry_list_tokensA

List all design tokens, optionally filtered by category (color, spacing, typography, ...).

registry_get_tokenA

Fetch a single design token by its exact stable registry id.

registry_list_patternsA

List all higher-level UI patterns (e.g. empty state, search toolbar) registered in the project.

registry_get_patternA

Fetch a single UI pattern by its exact stable registry id, including the components it composes.

registry_get_rulesA

Return the full set of structured design/engineering rules (e.g. 'prefer existing Button component', 'do not use arbitrary colors'). Read this before generating UI code to respect project-specific constraints.

registry_validateA

Run comprehensive validation across the whole registry: duplicate ids, duplicate design references, broken cross-references (patterns/rules pointing at nonexistent components/tokens/patterns), circular pattern references, and other integrity issues. Returns valid=false with a list of issues if anything is wrong.

registry_initA

Create a complete starter registry (.design/registry/{manifest,components,tokens,patterns,rules}.json + README) at the resolved registry path. Fails if a registry already exists there unless force=true.

registry_create_componentA

Register a brand-new design component. Fails with DUPLICATE_ID if the id already exists — use registry_update_component instead. Only propose a new component when registry_find_component / registry_find_by_design_reference confirm no equivalent component exists.

registry_update_componentA

Patch an existing component by id. Only provided fields are changed; omitted fields are left as-is. Fails with NOT_FOUND if the id doesn't exist yet — use registry_create_component instead.

registry_deprecate_componentA

Mark a component as deprecated instead of deleting it. There is no destructive delete operation for components by design — history stays in git and agents can still see what a component used to map to.

registry_create_tokenA

Register a brand-new design token. Fails with DUPLICATE_ID if the id already exists — use registry_update_token instead.

registry_update_tokenC

Patch an existing token by id. Fails with NOT_FOUND if the id doesn't exist yet.

registry_create_patternC

Register a brand-new higher-level UI pattern composed of one or more components.

registry_update_patternA

Patch an existing pattern by id. Fails with NOT_FOUND if the id doesn't exist yet.

registry_update_rulesA

Replace the full set of structured design/engineering rules. This is a full-document replace (send the complete desired rule list, not a delta) so the rules file stays deterministic and diff-friendly.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/mrasadi/design-code-registry-mcp'

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