figma-rust-mcp 2.8.4 → 2.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/figma-mcp.js +3 -1
  2. package/package.json +1 -1
package/bin/figma-mcp.js CHANGED
@@ -234,6 +234,7 @@ async function installService(binPath) {
234
234
  <key>ProgramArguments</key>
235
235
  <array>
236
236
  <string>${binPath}</string>
237
+ <string>--server</string>
237
238
  </array>
238
239
  <key>RunAtLoad</key>
239
240
  <true/>
@@ -272,7 +273,7 @@ After=network.target
272
273
 
273
274
  [Service]
274
275
  Type=simple
275
- ExecStart=${binPath}
276
+ ExecStart=${binPath} --server
276
277
  Restart=on-failure
277
278
  RestartSec=5
278
279
 
@@ -325,6 +326,7 @@ async function uninstallService() {
325
326
  }
326
327
 
327
328
  try { execSync(`launchctl unload -w "${plistPath}"`, { stdio: 'inherit' }); } catch (_) {}
329
+ try { execSync(`pkill -f figma-mcp 2>/dev/null`, { stdio: 'pipe' }); } catch (_) {}
328
330
  fs.unlinkSync(plistPath);
329
331
 
330
332
  console.log(`\x1b[32m✓ figma-rust-mcp service uninstalled.\x1b[0m`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "figma-rust-mcp",
3
- "version": "2.8.4",
3
+ "version": "2.8.5",
4
4
  "description": "Claude Code to Figma — Bidirectional MCP bridge. AI draws UI on Figma canvas, reads designs back. Works with Claude, Cursor, VS Code, Windsurf, Antigravity. No API key needed.",
5
5
  "mcpName": "io.github.BuiHung1612/figma-mcp",
6
6
  "type": "module",