Skip to content

IntegrationsMCP clients

Cursor

Add Artiwright to Cursor as a local MCP server, or connect a remote one.

Cursor.md

Cursor runs Artiwright as a local MCP server and gives its agent Artiwright’s tools.

You need: Node.js 22.13 or newer (prerequisites).

One click: Add to Cursor adds Artiwright for every project. Cursor asks you to confirm. To choose the file or folder yourself:

  1. Choose where to add it:

    File Applies to
    ~/.cursor/mcp.json Every project
    .cursor/mcp.json in a project That project (commit it to share with your team)
  2. Add Artiwright under mcpServers:

    {
    "mcpServers": {
    "artiwright": {
    "type": "stdio",
    "command": "npx",
    "args": ["-y", "artiwright@latest", "mcp"]
    }
    }
    }
  3. Turn it on: open Customize in the sidebar and switch Artiwright’s toggle on. Its tools appear under Available Tools.

In the agent chat, ask for a deck or a workbook:

  • “Make a three-slide summary of this sprint with a burndown chart.”
  • “Turn the numbers in data/sales.csv into a workbook with a pivot by region.” (The agent reads the file and passes the numbers to Artiwright.)

Finished files are saved in the project you have open, or where you ask. The agent tells you the path.

For an HTTP server, use url and a header. ${env:…} reads the token from your environment:

{
"mcpServers": {
"artiwright": {
"url": "https://artiwright.example.com/mcp",
"headers": { "Authorization": "Bearer ${env:ARTIWRIGHT_TOKEN}" }
}
}
}
Artiwright shows an error, or no tools

Run npx -y artiwright@latest version in a terminal; if it fails, install or update Node.js. Then check the server’s log: open the Output panel (Cmd+Shift+U on macOS, Ctrl+Shift+U on Windows) and choose MCP Logs.

You have more than one Node.js installed (nvm, fnm, Volta)

The app may start an older Node.js than your terminal does, and Artiwright then fails or times out. Make Node.js 22 or newer your default (with nvm: nvm alias default 24), then restart the app. If it still starts the old one, give the server a PATH that starts with your Node.js folder (nvm which 24 shows it, without the final /node):

"env": { "PATH": "/Users/you/.nvm/versions/node/v24.21.0/bin:/usr/bin:/bin" }
It’s slow to start the first time

The first start downloads Artiwright. Run npx -y artiwright@latest version once to download it ahead of time.