---
title: get_theme, update_theme
description: Update website themes — built-in daisyUI themes or custom CSS.
section: MCP Reference
order: 5
---

# get_theme, update_theme

Update website theme. Applied via `data-theme` attribute on `<html>`.

## Actions

### get

Get current theme configuration.

**Parameters:**
- `domain` — Website subdomain, domain, or UUID

### update

Update theme.

**Parameters:**
- `domain` — Website subdomain, domain, or UUID
- `config` — Theme configuration:
  - `{ name: "nord" }` — Built-in theme
  - `{ css: "[data-theme=\"custom\"] { ... }" }` — Custom CSS

## Version Management

Use the unified version tools with `target: "theme"`:

- `pin_version` — Pin a specific version
- `revert_version` — Revert to a previous version

## OAuth Scopes

| Action | Scope |
|--------|-------|
| get | `theme:read` |
| update | `theme:edit` |
| pin_version | `theme:pin` |
| revert_version | `version:revert` |
