Figma Mcp Server Actor — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Figma Mcp Server Actor (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Model Context Protocol (MCP) server that exposes Figma REST API capabilities to AI assistants (Cursor, Claude, custom agents). Runs as a long-running web server on the Apify platform (standby / container URL) or locally via apify run.
Recommended for solo use. Set `figmaAccessToken` in Actor input (or FIGMA_ACCESS_TOKEN in env).
X-Figma-Token/oauth/* routes return an error).Use when you omit figmaAccessToken and provide a Figma OAuth app:
| Input | Purpose |
|---|---|
oauthClientId | From Figma → Developers → Apps |
oauthClientSecret | Same app |
oauthRedirectUri | Exact redirect URL registered on the app, e.g. https://<your-run>.runs.apify.net/oauth/callback |
oauthScopes | Optional; comma-separated scopes. Must be a subset of the app’s configured scopes. Defaults include file_content:read, file_content:write, file_comments:read, file_comments:write. |
Flow
FIGMA_OAUTH_SESSION) and refreshed when near expiry.Token exchange uses Figma’s documented endpoints (https://api.figma.com/v1/oauth/token and .../oauth/refresh). Codes expire quickly — complete the redirect promptly.
npm install
apify login
apify pushIn Apify Console, open the Actor, set input (at minimum figmaAccessToken), start with web server / long-running as required by your template, then use the Container URL from the run.
Deploy reference: apify push builds and publishes; see Apify CLI.
| Parameter | Type | Default | Description |
|---|---|---|---|
figmaAccessToken | string | — | PAT (recommended). If set, used for all Figma API calls. |
port | integer | 8080 | HTTP listen port (Apify may override via web_server_port). |
oauthClientId | string | — | OAuth app client ID (only if not using PAT). |
oauthClientSecret | string | — | OAuth app secret (secret input). |
oauthRedirectUri | string | — | Must match Figma app redirect URI exactly. |
oauthScopes | string | — | Optional scope override (comma-separated). |
maxConcurrentRequests | integer | 10 | Reserved / future use. |
enableCaching | boolean | true | Cache GET responses from Figma. |
Local / CLI input file example (apify run):
{
"figmaAccessToken": "figd_...",
"port": 8080
}| Method | Path | Description | ||
|---|---|---|---|---|
GET | / | Service info and endpoint list | ||
GET | /health | Liveness; includes auth_mode: pat \ | oauth \ | pending_oauth, figma_authenticated |
POST | /mcp | MCP JSON-RPC 2.0 (primary transport for this server) | ||
GET | /oauth/authorize | Start OAuth (browser); disabled if PAT is set | ||
GET | /oauth/callback | OAuth redirect handler |
Apify MCP path: .actor/actor.json sets webServerMcpPath to `/mcp`. Your MCP client URL is typically:
https://<container-id>.runs.apify.net/mcp
(Use the Container URL from the run page + /mcp.)
Example (remote HTTP MCP — adjust to your Cursor version’s expected shape):
{
"mcpServers": {
"figma-mcp-standby": {
"url": "https://YOUR_RUN_ID.runs.apify.net/mcp"
}
}
}Notes
mcp.json is not passed to this Node process; it does not replace Figma auth. Use `figmaAccessToken` (or OAuth) in Actor input.mcp.json and restart Cursor after a new run.curl https://.../health.Use your client’s supported way to attach a remote MCP URL (e.g. mcp-remote pointing at https://.../mcp). Paths and query params depend on the client version.
npm install
apify runOr run the entry with Node if you inject env / input yourself:
export FIGMA_ACCESS_TOKEN="figd_..."
node src/main.jsCheck health (port from logs or input):
curl -s http://localhost:8080/health | jq .Sample MCP initialize:
curl -s -X POST http://localhost:8080/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'figma_mcp_actor/
├── .actor/
│ ├── actor.json # Apify Actor metadata (incl. webServerMcpPath: /mcp)
│ ├── input_schema.json
│ ├── output_schema.json
│ └── dataset_schema.json
├── src/
│ ├── main.js # Express app, /mcp, /oauth/*, Apify bootstrap
│ ├── figma/
│ │ ├── auth.js # PAT + OAuth token exchange, refresh, KV hook
│ │ └── client.js # Figma REST wrapper
│ ├── oauth/
│ │ └── persist.js # Apify KV: FIGMA_OAUTH_SESSION
│ ├── mcp/ # Protocol, handlers, server
│ ├── tools/
│ ├── resources/
│ └── prompts/
├── Dockerfile
├── package.json
└── README.mdIncludes (names may vary slightly in code): file analysis (analyze_file, get_file_structure, …), components (list_components, …), export (export_node, …), comments (get_comments, create_comment, …), design modification helpers, plus resources (figma://file/..., etc.) and prompts for common tasks.
npm run lint
npm run lint:fix
npm run formatISC
FIGMA_OAUTH_SESSION).oauthRedirectUri, oauthScopes.auth_mode, figma_authenticated./mcp JSON-RPC.References: Apify Actors · Figma REST API · Model Context Protocol
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.