Skip to content

IntegrationsMCP clients

MCP clients

Use Artiwright from any AI app that supports the Model Context Protocol, locally or as a remote server.

MCP clients.md

Artiwright includes an MCP server. Add it to an AI app and the app’s agent gets Artiwright’s tools: it can build, look at, check and save decks and workbooks in the conversation, with no code on your side.

One click: Add to Cursor or Add to VS Code. Each opens the editor and asks you to confirm.

Most apps that support MCP take a server in this shape, under a key such as mcpServers:

{
"mcpServers": {
"artiwright": {
"command": "npx",
"args": ["-y", "artiwright@latest", "mcp"]
}
}
}
  • npx -y artiwright@latest mcp downloads Artiwright on first use and starts its MCP server. The app starts and stops it.
  • Finished files are saved in the folder the app works in (your project), or in Documents/Artiwright in your home folder when the app starts the server without one. The agent can also save where you ask.
  • Each conversation keeps its own documents, so two conversations open at once never edit the same deck. The work in progress (change history, previews) lives in your system’s folder for app data.

It needs Node.js 22.13 or newer (prerequisites).

Add these after mcp in the arguments:

Option What it does
--root <folder> Keeps everything in one folder: each conversation’s work, and finished files under <conversation>/outputs/. Without it, finished files go where you work.
--session <name> A fixed name for the conversation’s work, instead of one per conversation.
--theme <name or file> The theme new documents start in: a preset (spruce, ledger, studio, coast, classic), a template file (.potx), or a brand color as JSON ('{"brand":"#0B5FFF"}'). See themes.
--http Serve over HTTP instead of stdio, for a remote server.

All options are in the server options reference.

The server gives the agent twelve tools, from opening a file to saving the finished one:

Tool In short
artiwright_open Open an existing deck, workbook or template
artiwright_import Load a CSV or table export into a workbook
artiwright_run Build or change a document with code
artiwright_apply The same as a list of JSON operations
artiwright_inspect Read what’s on a slide or sheet
artiwright_render See slides or sheets as images
artiwright_lint Find problems, each with the shape or cell to fix
artiwright_finalize Check the file and save it
artiwright_status What’s in the session
artiwright_undo, artiwright_redo Step back and forward
artiwright_help Look up the API

The server also explains the work loop to the agent (build, look, check, fix, review, save), and offers the presentations and spreadsheets prompts with longer guidance. Details for every tool are in the MCP tools reference.

You don’t need either: the server teaches the agent its work loop and tells it to read the full guide first (artiwright_help with "skill presentations"), and the agent loads detailed guides the same way when it needs them. Prompts and skills put the guide in front of the agent before it starts, so it doesn’t depend on the agent following that instruction.

Prompts. The server offers two prompts, presentations and spreadsheets, which put Artiwright’s full guide into the conversation. In Claude Code they are slash commands: run /mcp__artiwright__presentations, then send your request. Other apps that support MCP prompts list them in their own menus.

Skills. The same guides come as two Agent Skills (artiwright-presentations and artiwright-spreadsheets). Copy them into your app’s skills folder:

npx -y artiwright@latest skills install ~/.claude/skills

For Codex and the ChatGPT app, use ~/.codex/skills. In Claude Code, /artiwright-presentations and /artiwright-spreadsheets then work as slash commands, and Claude loads them by itself when you ask for a deck or a workbook. A skill is only instructions: the MCP server still does the building, so keep it connected.

For a team or a hosted agent, run the server over HTTP and point apps at its URL:

ARTIWRIGHT_MCP_TOKEN=choose-a-long-random-token npx -y artiwright@latest mcp --http --root /srv/artiwright

It listens on http://127.0.0.1:8765/mcp. Clients send Authorization: Bearer <token>. To reach it from other machines, add --host 0.0.0.0 and put it behind HTTPS. Over HTTP the server can’t read files by path, so clients send a file’s contents to artiwright_open instead. See HTTP server and Docker.