Installation
Requirements
Section titled “Requirements”- Node.js 22 or newer — the package declares
"engines": { "node": ">=22" }. - A Figma credential. A personal access token is the default and works on every plan, including free ones. See Authentication.
Install globally to get the cyber-figma command on your PATH:
npm install -g cyber-figmaOr run it without installing:
npx cyber-figma <resource> <action>For a project-local install — which is what an agent host should use, so the version is pinned in the repo:
npm install cyber-figmaAgent plugin
Section titled “Agent plugin”The published npm package is the plugin root, so installing the plugin gets the skills, the MCP server, and the CLI in one step — there is no clone to keep in sync.
/plugin marketplace add cyberuni/cyber-figma/plugin install cyber-figma@cyberuniThe package ships an Agent Plugins 1.0.0
manifest (plugin.json / mcp.json) alongside per-vendor manifests for Claude Code
(.claude-plugin/), Cursor (.cursor-plugin/), and Codex (.codex-plugin/), so a
spec-conformant client and a vendor-specific one both find what they need.
To take the skills on their own, without the CLI or the MCP server:
npx skills add cyberuni/cyber-figmaMCP server
Section titled “MCP server”The MCP server ships in the same package and speaks stdio. Host-by-host configuration — Claude Desktop, Claude Code, Cursor, Codex, and the MCP Inspector — is on the MCP reference.
Configuration
Section titled “Configuration”Two environment variables cover the common setup:
export FIGMA_ACCESS_TOKEN=<your-personal-access-token>export FIGMA_TEAM_ID=<team-id> # optional default teamFIGMA_TEAM_ID exists because Figma provides no way to discover a team ID from a
token — you read it out of the team page URL, from the segment after /team/. Both can
be overridden per invocation with --token and --team.
Read Authentication before putting that export in a shell
profile — a Figma personal access token is a bearer credential with a 90-day life and no
rotation.
From source
Section titled “From source”To work on cyber-figma itself:
git clone https://github.com/cyberuni/cyber-figma.gitcd cyber-figmapnpm installpnpm verify # lint + build + typecheck + test + knippnpm dev <resource> <action>See CONTRIBUTING.md for the in-repo MCP server setup.