Integration

Lamina + Claude

Install Lamina's MCP server into Claude Desktop, Claude Code, or claude.ai — five tools become native to the agent loop.

The Lamina + Claude integration installs the Lamina MCP server into Claude Desktop, Claude Code, and claude.ai so an agent can call lamina.create, lamina.track, lamina.evaluate, lamina.distribute, and lamina.brand_lookup as native tools. Drop a JSON config into claude_desktop_config.json or run npx @lamina/mcp install — no further wiring.

What you can do

  • Five MCP tools exposed natively in Claude Desktop and Claude Code
  • Server-sent events stream phase + progress back into the chat
  • Idempotency keys generated per Claude turn so retries don't double-bill
  • Brand kit lookup grounds prompts in the user's brand vocabulary
  • Distribute outputs to Shopify, Sanity, Drive, or webhooks from inside the conversation

Setup

  1. 1

    Install the MCP server

    Run `npx @lamina/mcp install` to write the Lamina entry into your claude_desktop_config.json automatically. Or paste the JSON manually.

  2. 2

    Add your API key

    Set LAMINA_API_KEY in the env block of the MCP entry. Restart Claude Desktop.

  3. 3

    Verify the tools are listed

    Open Claude Desktop → Tools menu. You should see lamina.create, lamina.track, lamina.evaluate, lamina.distribute, and lamina.brand_lookup.

  4. 4

    Try it from chat

    Ask Claude: 'Generate a hero image for Homestead SS26 — sage linen, north light, 16:9, four variants. Distribute to Shopify.'

Example

claude_desktop_config.json

// claude_desktop_config.json
{
  "mcpServers": {
    "lamina": {
      "command": "npx",
      "args": ["-y", "@lamina/mcp"],
      "env": { "LAMINA_API_KEY": "sk-lm-…" }
    }
  }
}

How it works

Lamina ships an MCP server (@lamina/mcp on npm) that runs over stdio and exposes five tools to any MCP-compatible Claude surface — Claude Desktop, Claude Code CLI, and remote claude.ai when configured. Each tool is JSON-Schema typed, so Claude sees argument shapes and returns structured outputs the model can reason over.

When to use it

Use this integration when your generative-media work flows through Claude — design exploration, draft creative ops, marketing automation. It's also the cleanest way to add image and video output to a Claude Code agent, since the same tools that work in Desktop work in Claude Code with no changes.