Skip to content

Installation

  • 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:

Terminal window
npm install -g cyber-figma

Or run it without installing:

Terminal window
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:

Terminal window
npm install cyber-figma

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.

Terminal window
/plugin marketplace add cyberuni/cyber-figma
/plugin install cyber-figma@cyberuni

The 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:

Terminal window
npx skills add cyberuni/cyber-figma

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.

Two environment variables cover the common setup:

Terminal window
export FIGMA_ACCESS_TOKEN=<your-personal-access-token>
export FIGMA_TEAM_ID=<team-id> # optional default team

FIGMA_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.

To work on cyber-figma itself:

Terminal window
git clone https://github.com/cyberuni/cyber-figma.git
cd cyber-figma
pnpm install
pnpm verify # lint + build + typecheck + test + knip
pnpm dev <resource> <action>

See CONTRIBUTING.md for the in-repo MCP server setup.