Skip to content

Instantly share code, notes, and snippets.

@dusskapark
Last active July 11, 2025 09:41
Show Gist options
  • Save dusskapark/4e292ec11e6324f224235e1864c2fd83 to your computer and use it in GitHub Desktop.
Save dusskapark/4e292ec11e6324f224235e1864c2fd83 to your computer and use it in GitHub Desktop.
Replace server path

✅ Fix .cursor/mcp.json to run TalkToFigma using an absolute path

  1. Build the project:
bun install
bun run build
  1. Get the absolute path to dist/server.js:
realpath ./dist/server.js

Copy the full path (e.g. /Users/yourname/path-to-project/dist/server.js).

  1. Open .cursor/mcp.json and update only the TalkToFigma section like this:
{
  "mcp": {
    "TalkToFigma": {
      "command": "bun",
      "args": ["/absolute/path/to/your/project/dist/server.js"]
    }
  }
}
  1. Save the file and restart the Cursor app.

  2. ✅ Open Cursor settings → MCP tab and check that the green dot appears next to TalkToFigma.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment