Astra MCP integration

Astra MCP: adjust your theme with the settings in view.

Connect Claude, Cursor or another MCP client to Astra through free EMCP. Inspect the theme’s current colors, fonts, layout and supported header/footer settings before applying a scoped change. Astra must be active; Spectra block editing has its own integration and does not require this theme.

Free integrationActive Astra

EMCP / AstraIllustrative workflow
From request to review

An Astra content-width change

An Astra content-width change: example plan
StepCheck
Read Astra’s layout groupInspect site-content-width, its current value and the field metadata returned by astra-read.
Prepare one width changeShow the proposed value before enabling Astra Write. Submit only the supported setting, leaving unrelated Astra options in place.
Check the saved widthRead the setting back and inspect a representative page. Astra’s dynamic CSS cache is cleared after the write.
DiscoverPrepareReview
Illustrative workflow, not live site data.

A practical place to start

Change Astra’s content width with the current settings in view.

  1. 01

    Read Astra’s layout group

    Inspect site-content-width, its current value and the field metadata returned by astra-read.

  2. 02

    Prepare one width change

    Show the proposed value before enabling Astra Write. Submit only the supported setting, leaving unrelated Astra options in place.

  3. 03

    Check the saved width

    Read the setting back and inspect a representative page. Astra’s dynamic CSS cache is cleared after the write.

Built for Astra

Work with Astra’s supported Customizer settings

Astra keeps its Customizer values in the shared astra-settings option. EMCP reads a curated set of those values through astra-read and updates supported keys through astra-write. Each returned field includes its type, label and group, so your assistant can explain the existing setting before proposing an edit.

For a layout request, ask for the layout group or the specific site-content-width key. For a typography task, inspect fields such as body-font-family and font-size-body; the font-size value is structured, so a plain number is not a substitute for the returned shape.

A width change without replacing the whole option

A useful first task is to compare the current content width with a proposed 1200px layout. Have your AI read the setting, show the proposed change, and submit only that key after review. Unsupported keys are reported in skipped. Read the result back rather than assuming every requested field was accepted.

Theme writes apply immediately and clear Astra’s dynamic CSS cache. Inspect an article, a landing page and a small-screen layout after a site-wide adjustment. A successful response establishes the stored value; it does not establish that every page looks right.

Connect Astra to your assistant

Install free EMCP with Astra active. In EMCP Tools → Tools → Themes, inspect the Astra switches, enable the write tool only when needed, and save your changes. Connect Claude Code, Claude Desktop or Cursor, then reconnect after changing tool access. Both Astra tools require theme-management permissions.

Choose Spectra for page content

Changing the theme’s width or colors is different from inserting a block into one page. Use the independent Spectra integration for Gutenberg content. Spectra does not require Astra, and editing its blocks does not require replacing the Astra settings option.

Read the Astra tool reference for the allowlist and operation parameters.

Get connected

Put Astra in your AI’s toolkit.

  1. 1

    Activate the native dependency

    Activate the Astra theme. Included in free EMCP.

  2. 2

    Inspect tool access

    Use Themes for theme settings. Enable only the required writes.

  3. 3

    Keep block editing separate

    Enable spectra independently in Page Builders when you need its Gutenberg tools.

Install EMCP

Then connect Claude Code, Claude Desktop, or Cursor to use the Astra tools enabled on your site. Compare Free and Pro access.

A few useful details

Before you connect.

Questions about Astra, supported operations, and the workflow on your site.

Which Astra settings can my AI change?

The curated allowlist includes colors, typography, layout and selected header/footer fields. Read the live setting metadata before writing; unsupported keys are returned as skipped.

Does Astra MCP also edit Spectra blocks?

No. These tools configure the active Astra theme. Spectra has a separate free Gutenberg integration and can be used on another theme.

Does a theme write wait for page publication?

No. Supported theme settings take effect immediately, and Astra’s dynamic CSS cache is cleared. Review the proposed change before applying it to a live site.

Your tools. Your WordPress site.

Make Astra part of the conversation.

Install EMCP free

Your EMCP guide

Answers from our docs

YOUR CHAT, YOUR CHOICE

Before we chat

MSR Builds processes your question and up to four recent messages on our server to answer from the EMCP docs. AI is optional and needs your separate permission.

The chat is kept in this page's memory, not saved as a conversation in our database or browser storage. Our hosting and security services process connection information, such as your IP address, to prevent abuse.

Cloudflare Turnstile checks your browser and connection to prevent automated abuse when you send a question. No login is required.

Please leave out personal, sensitive or confidential information, passwords and API keys.

You can withdraw consent and clear this page's chat at any time. This cannot undo a request already sent or erase provider/security records.

Chat privacy, retention & your rights ↗ · Privacy contact

Starting chat consents to this processing. You can browse our docs without using the chat.