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.

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.