Mirva Help Center

Connecting Claude Desktop and Cursor to Mirva

Connect Claude Desktop, Cursor, Claude Code or Codex to your Mirva account with the Mirva MCP server and a personal access token.

Updated
On this page

The Mirva MCP server connects an AI app you already use, like Claude Desktop, Cursor, Claude Code or Codex, to your Mirva account. That app can then read your boards, paint on canvases, arrange cards and ask Mirva for images, on the same live board your team sees.

You need two things: a personal access token from your Mirva account, and a short entry in your app's settings. The MCP connection is available on every plan.

The full setup guide, with the tool reference, is on the Mirva MCP server page.

1. Get your API key

  1. Click your avatar in the top bar and pick Account & Billing.
  2. Open the API tab. The page is called Personal access tokens.
  3. If you have no key yet, click Generate API key. If you already have one, use that one.
  4. Click the key to copy it.

Your email address needs to be verified to create a key.

Each key's ⋯ menu has Refresh and Remove. Refreshing or removing a key disconnects every app that uses it. Your own sign-in isn't affected.

Tip: The key acts as you. Keep it in your app's settings only, and don't put it in shared files or repositories.

On a board, Share › Share with Claude also opens the API page.

When your app asks Mirva for something, it sends Mirva a message as you. The images, videos and 3D models Mirva makes for it use your credits, the same as when you chat with Mirva yourself. See AI credits and usage limits.

2. Add Mirva to your app

Your app runs the Mirva MCP server, @mirva/mcp, on your computer with npx. This needs Node.js 20 or later. There's nothing else to install.

In each example, replace your-api-key with your key.

Claude Desktop

  1. In Claude Desktop, open Settings › Developer › Edit Config. This opens claude_desktop_config.json.
  2. Add Mirva under mcpServers:
{
  "mcpServers": {
    "mirva": {
      "command": "npx",
      "args": ["-y", "@mirva/mcp"],
      "env": {
        "MIRVA_API_KEY": "your-api-key"
      }
    }
  }
}
  1. Restart Claude Desktop.

Cursor

Add the same entry to ~/.cursor/mcp.json to use Mirva in every project, or to .cursor/mcp.json inside one project to use it only there.

Claude Code

Run this once in a terminal:

claude mcp add mirva --scope user -e MIRVA_API_KEY=your-api-key -- npx -y @mirva/mcp

--scope user makes Mirva available in all your projects. Type /mcp in Claude Code to see the server and its tools.

Codex

Add this to ~/.codex/config.toml:

[mcp_servers.mirva]
command = "npx"
args = ["-y", "@mirva/mcp"]
env = { MIRVA_API_KEY = "your-api-key" }

Other apps

Any app that runs MCP servers over standard input and output needs the same three things: the command npx, the arguments -y @mirva/mcp, and MIRVA_API_KEY set to your key.

What your app can do

Your app works as you, with your permissions: it can open the boards you can open and make the changes you may make. On a board, it shows as Bot for followed by your name, and its changes are part of the board's history.

It can:

  • Boards and canvases: find your boards and canvases by name and see how they look now.
  • Board objects: see what's on a board, add sections, notes and cards, move them, and copy and paste them.
  • Canvases and layers: create canvases and layers, reorder, copy, merge, trim, clear or remove layers, resize a canvas, and undo and redo.
  • Painting: draw strokes, shapes and text with the editor's brushes, fill areas, paste images, apply filters and transform layers.
  • Selection: select part of a layer, so a fill, filter, transform or delete applies only there.
  • Documents: read and write the documents on a board.
  • Comments: read, add, reply to and resolve comments.
  • Board versions: save a version, see what changed since one, restore one, and take back what Mirva changed.
  • Mirva: start a chat with Mirva, send it a request, and read its replies and the images it made.

Try asking your app, for example:

  • "Read my Character sheets board and tell me which sections still have no final render."
  • "Ask Mirva to paint over the sketch on the canvas I'm working on, using our house skill, and put the result next to it."
  • "Go through the open comments on this board and summarise what the art director asked for."

Name the board you mean: your app finds it by name.

If something doesn't work

  • "npx: command not found", or the server fails to start: install Node.js 20 or later, then restart your app.
  • Every tool fails with "Connection closed": Mirva didn't accept the key. It may be missing, mistyped, refreshed or removed, or your email isn't verified. Copy the key again from the API tab.
  • Your app doesn't show a tool: restart the app, or reconnect the server (/mcp in Claude Code).

Was this article helpful?

Still need help?

Our support team and assistant are happy to help. You can also email [email protected].

Chat with us