A

Artifact Site

by lexmount · io.github.lexmount/artifact-site

One place for every AI agent's pages and docs. Publish HTML, build folders, ZIPs, PDFs and Office documents as sandboxed, versioned share links, then search, read and update them later from any MCP client. Sign in with Google or GitHub via OAuth. Open source and self-hostable: https://github.com/lexmount/artifact-site

npm Remote GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-lexmount-artifact-site": {
      "command": "npx",
      "args": [
        "-y",
        "@artifact-site/cli"
      ],
      "env": {
        "ARTIFACT_SITE_URL": "<VALUE>",
        "ARTIFACT_SITE_TOKEN": "<YOUR_VALUE>",
        "ARTIFACT_IMAGE": "<VALUE>",
        "ARTIFACT_DOMAIN": "<VALUE>",
        "ARTIFACT_PUBLIC_URL": "<VALUE>",
        "ARTIFACT_WITH_CADDY": "<VALUE>",
        "ARTIFACT_ADMIN_EMAILS": "<VALUE>",
        "ARTIFACT_WITH_GOTENBERG": "<VALUE>",
        "ARTIFACT_ENFORCE_OWNERSHIP": "on"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-lexmount-artifact-site": {
      "command": "npx",
      "args": [
        "-y",
        "@artifact-site/cli"
      ],
      "env": {
        "ARTIFACT_SITE_URL": "<VALUE>",
        "ARTIFACT_SITE_TOKEN": "<YOUR_VALUE>",
        "ARTIFACT_IMAGE": "<VALUE>",
        "ARTIFACT_DOMAIN": "<VALUE>",
        "ARTIFACT_PUBLIC_URL": "<VALUE>",
        "ARTIFACT_WITH_CADDY": "<VALUE>",
        "ARTIFACT_ADMIN_EMAILS": "<VALUE>",
        "ARTIFACT_WITH_GOTENBERG": "<VALUE>",
        "ARTIFACT_ENFORCE_OWNERSHIP": "on"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-lexmount-artifact-site": {
      "command": "npx",
      "args": [
        "-y",
        "@artifact-site/cli"
      ],
      "env": {
        "ARTIFACT_SITE_URL": "<VALUE>",
        "ARTIFACT_SITE_TOKEN": "<YOUR_VALUE>",
        "ARTIFACT_IMAGE": "<VALUE>",
        "ARTIFACT_DOMAIN": "<VALUE>",
        "ARTIFACT_PUBLIC_URL": "<VALUE>",
        "ARTIFACT_WITH_CADDY": "<VALUE>",
        "ARTIFACT_ADMIN_EMAILS": "<VALUE>",
        "ARTIFACT_WITH_GOTENBERG": "<VALUE>",
        "ARTIFACT_ENFORCE_OWNERSHIP": "on"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-lexmount-artifact-site": {
      "command": "npx",
      "args": [
        "-y",
        "@artifact-site/cli"
      ],
      "env": {
        "ARTIFACT_SITE_URL": "<VALUE>",
        "ARTIFACT_SITE_TOKEN": "<YOUR_VALUE>",
        "ARTIFACT_IMAGE": "<VALUE>",
        "ARTIFACT_DOMAIN": "<VALUE>",
        "ARTIFACT_PUBLIC_URL": "<VALUE>",
        "ARTIFACT_WITH_CADDY": "<VALUE>",
        "ARTIFACT_ADMIN_EMAILS": "<VALUE>",
        "ARTIFACT_WITH_GOTENBERG": "<VALUE>",
        "ARTIFACT_ENFORCE_OWNERSHIP": "on"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-lexmount-artifact-site": {
      "command": "npx",
      "args": [
        "-y",
        "@artifact-site/cli"
      ],
      "env": {
        "ARTIFACT_SITE_URL": "<VALUE>",
        "ARTIFACT_SITE_TOKEN": "<YOUR_VALUE>",
        "ARTIFACT_IMAGE": "<VALUE>",
        "ARTIFACT_DOMAIN": "<VALUE>",
        "ARTIFACT_PUBLIC_URL": "<VALUE>",
        "ARTIFACT_WITH_CADDY": "<VALUE>",
        "ARTIFACT_ADMIN_EMAILS": "<VALUE>",
        "ARTIFACT_WITH_GOTENBERG": "<VALUE>",
        "ARTIFACT_ENFORCE_OWNERSHIP": "on"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-lexmount-artifact-site": {
      "command": "npx",
      "args": [
        "-y",
        "@artifact-site/cli"
      ],
      "env": {
        "ARTIFACT_SITE_URL": "<VALUE>",
        "ARTIFACT_SITE_TOKEN": "<YOUR_VALUE>",
        "ARTIFACT_IMAGE": "<VALUE>",
        "ARTIFACT_DOMAIN": "<VALUE>",
        "ARTIFACT_PUBLIC_URL": "<VALUE>",
        "ARTIFACT_WITH_CADDY": "<VALUE>",
        "ARTIFACT_ADMIN_EMAILS": "<VALUE>",
        "ARTIFACT_WITH_GOTENBERG": "<VALUE>",
        "ARTIFACT_ENFORCE_OWNERSHIP": "on"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
ARTIFACT_SITE_URL No Address of your artifact-site deployment, e.g. https://artifact-site.app.lexmount.com. Optional after `artifact-site login`.
ARTIFACT_SITE_TOKEN secret No Personal token from /for-agents#mcp on your deployment. Optional after `artifact-site login`; without it the server lists its tools and every call explains how to sign in.
ARTIFACT_IMAGE No When set, uses a prebuilt Docker image instead of building locally.
ARTIFACT_DOMAIN No The domain to use when ARTIFACT_WITH_CADDY=on.
ARTIFACT_PUBLIC_URL No A stable public address for the server. Sign-in callbacks, request-origin checks and the address given to agents derive from it. Set a reachable URL and configure a reverse proxy, or alternatively enable Caddy with ARTIFACT_WITH_CADDY=on and ARTIFACT_DOMAIN.
ARTIFACT_WITH_CADDY No Set to 'on' to enable Caddy and automatic certificates. Requires ARTIFACT_DOMAIN.
ARTIFACT_ADMIN_EMAILS No Comma-separated verified sign-in emails of administrators. Add these to enable the admin console.
ARTIFACT_WITH_GOTENBERG No Set to 'on' to enable Office preview via Gotenberg.
ARTIFACT_ENFORCE_OWNERSHIP No The default is 'on'. Enables account-based access control once OIDC is configured. Default: on

Similar servers