Bricks MCP

Bricks MCP

A WordPress plugin that enables AI assistants to manage Bricks Builder sites through natural language. It provides over 20 tools for reading and writing pages, templates, global styles, and WooCommerce layouts directly from MCP-compatible clients.

Category
Visit Server

README

Bricks MCP

AI-powered assistant for Bricks Builder. Control your website with natural language through MCP-compatible AI tools like Claude.

Talk to your website. It listens.

What It Does

Bricks MCP is a WordPress plugin that implements an MCP (Model Context Protocol) server, letting AI assistants read and write your Bricks Builder site. Connect Claude, Gemini, or any MCP-compatible client and manage pages, templates, global classes, theme styles, WooCommerce layouts, and more — all through natural language.

Features

  • 20+ MCP tools covering the full Bricks Builder data model
  • Read and write pages, templates, elements, and global settings
  • WooCommerce support (product pages, cart, checkout, account templates)
  • Global classes, theme styles, typography scales, color palettes, variables
  • Media library management with Unsplash integration
  • WordPress menus, fonts, and custom code management
  • Built-in connection tester and config snippet generator
  • Works with Claude Code, Claude Desktop, Gemini, and any MCP client

Requirements

  • WordPress 6.4+
  • PHP 8.2+
  • Bricks Builder 1.6+

Installation

  1. Download the latest release from GitHub Releases
  2. Upload to your WordPress site via Plugins > Add New > Upload Plugin
  3. Activate the plugin
  4. Go to Settings > Bricks MCP to configure

Connecting Your AI Tool

Claude Code

claude mcp add bricks-mcp https://yoursite.com/wp-json/bricks-mcp/v1/mcp --transport http

Claude Desktop / Other MCP Clients

Add to your MCP config (.mcp.json or equivalent):

{
  "mcpServers": {
    "bricks-mcp": {
      "type": "http",
      "url": "https://yoursite.com/wp-json/bricks-mcp/v1/mcp",
      "headers": {
        "Authorization": "Basic BASE64_ENCODED_CREDENTIALS"
      }
    }
  }
}

Authentication uses WordPress Application Passwords (Users > Profile > Application Passwords).

Available Tools

Tool Description
get_site_info WordPress site information and configuration
wordpress Manage posts, pages, users, plugins, comments, taxonomies
get_builder_guide Bricks Builder documentation for AI context
bricks Read/write Bricks settings, query loops, interactions
page Create, read, update, delete Bricks pages and elements
element Fine-grained element operations (add, move, style, clone)
template Manage Bricks templates (header, footer, section, etc.)
template_condition Set display conditions on templates
template_taxonomy Manage template taxonomy terms
global_class Create and manage global CSS classes
theme_style Create and manage theme styles
typography_scale Typography scale presets
color_palette Color palette management
global_variable Global CSS variables
media Upload media, search Unsplash, manage library
menu WordPress menu management
component Bricks component (reusable element) management
woocommerce WooCommerce page templates and product layouts
font Custom font management
code Page-level CSS and JavaScript

Configuration

Go to Settings > Bricks MCP in WordPress admin:

  • Enable MCP Server — toggle the server on/off
  • Require Authentication — restrict access to authenticated users
  • Custom Base URL — for reverse proxies or custom domains
  • Dangerous Actions — enable write access to global Bricks settings and code execution

Extending

Add custom tools using the bricks_mcp_tools filter:

add_filter( 'bricks_mcp_tools', function( $tools ) {
    $tools['my_custom_tool'] = [
        'name'        => 'my_custom_tool',
        'description' => 'My custom tool description',
        'inputSchema' => [
            'type'       => 'object',
            'properties' => [],
        ],
        'handler'     => function( $args ) {
            return ['result' => 'success'];
        },
    ];
    return $tools;
});

Local Development

npm install
npm run start        # Start WordPress (Docker via wp-env)
npm run test         # Run PHPUnit tests
npm run lint         # WordPress coding standards check
npm run lint:fix     # Auto-fix linting issues

Local site: http://localhost:8888 (admin / password)

License

GPL-2.0-or-later

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured