Search documentation

Search documentation

Install in Claude Desktop

Add the Stratta MCP server to the Claude Desktop app.

You can use Stratta in the Claude Desktop app by adding the server to its config file. Because the desktop config can't prompt you interactively, save your key with the CLI first.

Requirements#

Steps#

  1. Save your key once

    In a terminal, run the login command and paste your key when prompted. It's stored in ~/.stratta/config.json (owner-only).

    npx -y @stratta/mcp login
  2. Edit the Claude Desktop config

    Open Settings → Developer → Edit Config, then add the Stratta server. No key is needed in the file since it reads the one you just saved:

    {
      "mcpServers": {
        "stratta": {
          "command": "npx",
          "args": ["-y", "@stratta/mcp"]
        }
      }
    }
  3. Restart Claude Desktop

    Quit and reopen the app. The Stratta tools appear in the MCP indicator.

Keeping the key in the config instead#

Prefer to keep the key in the config file rather than ~/.stratta/config.json? Add an env block:

{
  "mcpServers": {
    "stratta": {
      "command": "npx",
      "args": ["-y", "@stratta/mcp"],
      "env": { "STRATTA_API_KEY": "sk_strt_xxx" }
    }
  }
}

This stores the key in plaintext in the config file. Keep that file private and don't sync it to a shared location.

A note on figures#

When you ask about a figure, Claude retrieves the image and includes a link to view it full-size. Claude Desktop does not render remote images inline. You'll see a clickable placeholder/link rather than the picture in the message body. This is a current limitation of the desktop client, not of Stratta. See Troubleshooting.

Next steps#