Cursor Setup

Use the ASCII Motion MCP server with Cursor.

Prerequisites

  • Cursor installed.
  • Node.js 22 or 24, with npx available.
  • A desktop browser on the same computer as Cursor. Live sync doesn't work when Cursor is connected to a remote host or for cloud agents. See Remote and cloud agents.

Add the server

Create .cursor/mcp.json in your project, or ~/.cursor/mcp.json to make the server available in every project:

json
{
  "mcpServers": {
    "ascii-motion": {
      "command": "npx",
      "args": [
        "-y",
        "ascii-motion-mcp@3",
        "--live",
        "--project-dir",
        "/absolute/path/to/ascii-motion-projects",
        "--port",
        "9876"
      ]
    }
  }
}

Then open Cursor's MCP settings and check that ascii-motion is enabled and shows its tools. Cursor's agent uses MCP tools automatically when they're relevant.

Connect the editor

Cursor starts the server when the MCP configuration loads. Connect your browser to that server; don't also run npx ascii-motion-mcp --live in a terminal, which would start a second server with a different token on the same port.

  1. Ask Cursor:

    text
    Use ascii-motion to call get_auth_token and get_connection_status.
  2. Open ASCII Motion on the same computer, then ☰ → MCP Connection.

  3. Paste the token into Auth Token, confirm Port is 9876, and click Connect.

  4. Run the reversible check from Verify the connection.

The token changes every time the server restarts. If the connection drops after Cursor restarts, repeat these steps.

What to expect

Version 3 needs ASCII Motion 2.2.6 or later, which ascii-motion.app already runs. While connected, tools go through the open editor: layers, groups, content frames, keyframes, effects, shaders, generators, selection, palettes, import, export and undo. Changes appear immediately, and each one can be undone in the app. Signed-in cloud project tools are still untested; see Cloud projects are untested signed in.

The server lists 216 tools. If your client limits or slows down with many tools, see Discover before you edit.

Example prompt

text
Using ascii-motion, add a turbulent-noise generator layer, then export_react
to Background.tsx so I can use it in my app.

More in Example prompts.

Troubleshooting

  • Server fails to start: desktop apps often don't load your shell PATH. Replace "command": "npx" with the full path from which npx (macOS/Linux) or where npx (Windows).
  • Port already in use: another copy of the server is running. Stop it, or change --port here and in the MCP Connection dialog.
  • More issues: see Live Sync troubleshooting.