Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PENPOT_URLYesThe URL of your Penpot instance
PENPOT_TOKENYesYour MCP key for Penpot

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_design_contextA

Extract compressed brand context from a Penpot file. Returns design tokens, components, pages, and layout constraints in a token-efficient format. Use this FIRST to understand the design system before generating any UI.

get_tokensA

Extract design tokens (colors, typography, spacing) from a Penpot file. Returns structured token data for use in code generation.

get_componentsA

List components in a Penpot file with their variants. Use to understand available building blocks before generating UI.

list_filesA

List Penpot files accessible to the authenticated user. Use to discover available design files.

create_elementA

Create a shape element (rectangle, ellipse, text, board, svg) on a Penpot page. Use get_constraints FIRST to understand layout boundaries before creating elements.

get_constraintsA

Get layout constraints and design guardrails for a Penpot file. Returns spacing scale, color tokens, typography scale, and MUST/MUST NOT rules. Call this BEFORE generating any UI to avoid layout overflow and brand inconsistency.

get_page_layoutA

Get the layout structure of a Penpot page as a compact tree. Shows frame hierarchy, layout types (flex/grid), gaps, and sizing. Use to understand spatial structure before creating or modifying elements.

import_figmaA

Import a Figma file's design system into Penpot. Converts colors, typography, components, and page structure. Use dryRun=true first to preview the conversion before writing.

update_elementB

Update an existing shape on a Penpot page. Can modify name, position, size, fill color, corner radius, and visibility.

delete_elementA

Delete a shape from a Penpot page. Use with caution — this is irreversible.

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/Doyajin174/teguma'

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