MCP, MCP server
io.github.LucasGorgal/localfig
The Figma desktop app as an MCP server. localfig gives an AI agent the full Figma Plugin API on the file you have open — through a tiny dev plugin and a loopback HTTP bridge, entirely on your machine.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 0242238cd8af, unchanged since the check below.
PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
test-e2e.mjs, line 170
if (inlPath) try { fs.unlinkSync(inlPath); } catch {} - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
server.mjs, line 383
res = await fetch('http://' + HOST + ':' + PORT + '/command?t=' + TOKEN, {
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Concern
can delete files.
PERMISSION_DELETE_FILES
test-e2e.mjs, line 170
if (inlPath) try { fs.unlinkSync(inlPath); } catch {}
test-e2e.mjs, line 210
if (ejPath) try { fs.unlinkSync(ejPath); } catch {}
test-e2e.mjs, line 305
fs.unlinkSync(imgPath);
Show more
test-e2e.mjs, line 312
try { fs.rmSync(TEST_HOME, { recursive: true, force: true }); } catch {}
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
server.mjs, line 383
res = await fetch('http://' + HOST + ':' + PORT + '/command?t=' + TOKEN, {
server.mjs, line 559
const r = await fetch('http://' + HOST + ':' + PORT + '/health').then((x) => x.json());
test-e2e.mjs, line 59
const res = await fetch(`${BASE}/poll?t=${TOKEN}`);
Show more
test-e2e.mjs, line 63
const ab = await fetch(`${BASE}/asset?t=${TOKEN}&id=${cmd.payload.assetId}`).then((r) => r.arrayBuffer());
test-e2e.mjs, line 70
const r = await fetch(`${BASE}/blob?t=${TOKEN}&name=${encodeURIComponent(b.name)}`, {
test-e2e.mjs, line 77
await fetch(`${BASE}/result?t=${TOKEN}`, {
test-e2e.mjs, line 89
const health = await fetch(`${BASE}/health`).then((r) => r.json());
test-e2e.mjs, line 92
const bad = await fetch(`${BASE}/poll?t=wrong`);
Secrets
Pass
No read of a credential file or secret environment variable found.
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 0242238cd8af. can delete files. can reach a host that is not written as a fixed address.
Date and source
Date checked:
github.com
Commit graded: 0242238cd8af955e3431f20f122b6daeb84ec171
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.