Just opened: the Novamira community on Facebook. Join us →
MCP for Code Snippets

Novamira Pro.
Expertise for Code Snippets.

New to Novamira?

Novamira is the MCP server that connects your AI agent to WordPress with full access: read content, write code, run commands. For dev and staging environments with backups.

How it works →

Capabilities

What your AI can do.

  • Create PHP snippets inactive by default and validate them before flipping active
  • Pick the right type and scope pair from the available types on this install
  • Inject HTML, CSS, and JS into head, footer, or shortcode contexts
  • Author single-use snippets for one-shot data migrations that auto-deactivate
  • Build Pro conditions as JSON groups with subject, operator, and object
  • Detect free versus Pro at runtime and fall back to html scopes when CSS or JS is unavailable

Try it

Ask in your own words.

Your AI follows the safe path the plugin was designed for: create inactive, validate, show you the body, then enable. It picks the right type and scope from the install's available list, never includes the leading PHP tag, and uses tags so agent-authored snippets are easy to find later.

You > Add a filter that strips query strings from script and style URLs. Confirmed Code Snippets is active and picked type php scope global Created the snippet with active false Validated the PHP body with token_get_all Enabled the snippet after showing you the body Tagged it nvp for later discovery

Simulated output for illustration purposes. Actual results depend on your site and AI model.


More in Novamira Pro

Other integrations.

MCP for

All in One SEO

Post SEO, term SEO, schema, redirects, site settings.

Learn more →
MCP for

Rank Math

Post SEO, term SEO, schema, site settings.

Learn more →
MCP for

Yoast SEO

Post SEO, term SEO, redirects, site settings.

Learn more →
MCP for

Elementor

Pages, atomic widgets, v4 migrations, global styles.

Learn more →
MCP for

Bricks

Pages, templates, components, styles, dynamic data.

Learn more →
MCP for

ACF

Field groups, custom post types, taxonomies, options pages, values.

Learn more →
MCP for

JetEngine

Meta boxes, Custom Content Types, options pages, values.

Learn more →
MCP for

Meta Box

Field groups, post types, taxonomies, relationships, values.

Learn more →
MCP for

ACPT

Post types, taxonomies, meta groups, option pages, values.

Learn more →
MCP for

Pods

Custom post types, advanced content types, fields, items.

Learn more →
MCP for

ASE

Custom field groups, post types, taxonomies, values.

Learn more →
MCP for

WooCommerce

Products, variations, categories, tags, attributes, shipping classes.

Learn more →
MCP for

Divi 5

Pages, modules, loops, dynamic content, theme builder.

Learn more →
MCP for

GeneratePress

Theme settings, GP Premium elements, hooks, site library, conditions.

Learn more →
MCP for

Kadence

Theme settings, Kadence Blocks, header builder, forms, palettes.

Learn more →
MCP for

Breakdance

Templates, element tree, design tokens, conditions, popups.

Learn more →
MCP for

WPBakery Page Builder

Pages, shortcode tree, rows and columns, templates, grid loops.

Learn more →
MCP for

Etch

Pages, etch blocks, components, stylesheets, loops, dynamic data.

Learn more →
MCP for

Mosaic

Themes, templates, element tree, variables, components, utility classes.

Learn more →
FAQ

Questions worth answering.

Free or Pro?

Both. PHP and HTML work on free. CSS, JS, and conditions need Pro. The setup check reports available types so your AI never picks one that does not exist on this install.

Is it safe to enable PHP snippets?

Your AI creates inactive by default, validates the body without executing it, and only flips active after you confirm. PHP fatals are caught by the plugin, but validation still runs first.

Why is my CSS snippet not rendering on Pro?

Most likely the Freemius license is not activated. The snippet saves correctly, but the front-end enqueue is gated by license status. Activate the license under Code Snippets to fix it.

Available in Novamira Pro.