MCP Server Manifest Pluginのロゴ

MCP Server Manifest Plugin

コミュニティ
cristianuibar

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

公開者cristianuibar
リポジトリbricks-mcp
言語PHP
フォーク
25
スター
123
利用可能なツール
0
通信方式stdio, streamable-http
カテゴリ
ライセンスGPL-2.0
リンク
  • ツールをAIワークフローに接続

    MCP Server Manifest Pluginは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには123件のスターと25件のフォークがあります。

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 Code, Claude Desktop, Cursor, or any compatible MCP client and manage pages, templates, global classes, theme styles, WooCommerce layouts, and more through natural language.

Features

  • 11 canonical 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, Cursor, and other compatible MCP clients

Requirements

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

Installation

No Composer required. The plugin ships its own PSR-4 autoloader (includes/Autoloader.php) that maps the BricksMCP\ namespace to the includes/ directory. Simply upload and activate -- no build step needed.

  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

LocalWP / Manual Server Setup

If you run LocalWP or a custom server stack, PHP and Nginx may need configuration changes for stable MCP connections (SSE streaming requires longer timeouts and unbuffered responses). See the LocalWP Setup Guide for step-by-step instructions.

Connecting Your AI Tool

Claude Code

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

Claude Desktop / Cursor / Other MCP Clients

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

json
{
  "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).

ChatGPT is not currently supported as an MCP client for this plugin. ChatGPT's MCP flow requires OAuth 2.1 and dynamic client registration, while Bricks MCP uses WordPress Application Passwords for authentication.

Available Tools

ToolDescription
get_site_infoRead WordPress site details and run connection diagnostics
get_builder_guideRead the Bricks builder guide before editing content
bricksManage Bricks builder settings, schema, queries, and references
contentManage WordPress and Bricks content across posts, pages, and elements
templateManage Bricks templates, conditions, and template taxonomies
designManage Bricks design tokens across classes, styles, palettes, variables, and fonts
mediaUpload media, search Unsplash, manage library
menuWordPress menu management
componentBricks component (reusable element) management
woocommerceWooCommerce page templates and product layouts
codePage-level CSS and JavaScript

Try It Out

Once connected, try these prompts with your AI tool. Each one exercises different MCP tools and can be used to verify the integration is working.

Basic checks

What WordPress site am I connected to? What version is it running?
List all active plugins on this site.
Show me the Bricks Builder guide so I understand how to build pages.

Page building

Create a new page called "About Us" with a hero section containing a heading
"About Our Company" and a paragraph of placeholder text below it.
Add a two-column container to the About Us page. Put a heading and text in the
left column, and an image placeholder in the right column.
List all my pages and show which ones use Bricks Builder.

Global styles

Create a global class called "btn-primary" with 12px 24px padding, white text,
#2563eb background, 6px border radius, and 600 font weight.
Create a color palette called "Brand Colors" with: Primary #2563eb, Secondary
#7c3aed, Accent #f59e0b, and Neutral #64748b.
Create a theme style that sets all H1 headings to 48px bold and H2 to 36px
semibold.

Templates

Create a section template called "CTA Banner" with a dark background section
containing a centered heading and a button.
List all my templates and their types.

Menus

Create a navigation menu called "Main Menu" with links to Home (/), About
(/about/), Services (/services/), and Contact (/contact/).

Advanced

Show me the Bricks settings and breakpoints configured on this site.
Create a typography scale with steps: xs 12px, sm 14px, base 16px, lg 20px,
xl 24px, 2xl 32px, 3xl 48px. Use the prefix --fs-.
Create a set of global CSS variables for spacing: --space-xs 4px, --space-sm
8px, --space-md 16px, --space-lg 32px, --space-xl 64px.

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:

php
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

Prerequisites: Docker and Node.js 18+.

bash
git clone https://github.com/cristianuibar/bricks-mcp.git
cd bricks-mcp
npm install
npm run start

That's it. The first start takes a few minutes to download WordPress and set up the containers. Composer dependencies are installed automatically inside the containers.

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

Available Commands

bash
npm run start        # Start WordPress environment (Docker via wp-env)
npm run stop         # Stop the environment
npm run test         # Run all PHPUnit tests
npm run test:unit    # Run unit tests only
npm run lint         # WordPress coding standards check
npm run lint:fix     # Auto-fix linting issues
npm run wp <command> # Run WP-CLI commands
npm run logs:watch   # Tail the PHP debug log

How It Works

The dev environment uses @wordpress/env (wp-env), which runs WordPress in Docker containers. The plugin directory is mounted directly into the container, so file changes are reflected immediately.

A mu-plugin is included to fix Docker networking quirks (REST API loopback and Application Passwords over HTTP).

License

GPL-2.0-or-later

インストール

TypingMind
{
  "mcpServers": {
    "bricks-mcp": {
      "command": "npm",
      "args": [
        "run",
        "start"
      ]
    }
  }
}

MCP Server Manifest PluginのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度MCP Server Manifest Pluginに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 お使いのデバイス上でMCPをローカル実行することも、リモートMCPサーバーのURLに接続することもできます。

方法1:ローカルコネクタを使用

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

MCP Server Manifest Pluginをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. MCP Server Manifest PluginのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "bricks-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "bricks-mcp"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてMCP Server Manifest PluginのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. MCP Server Manifest PluginのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
MCP Server Manifest Pluginを使ってこのタスクを手伝ってもらえますか?
MCP Server Manifest Plugin
はい、読みました。
MCP Server Manifest Pluginで調べた結果をお伝えします。

方法2:MCPサーバーのURLを追加

MCP Server Manifest Pluginがすでにリモートでホストされている場合や、チームの複数のユーザーで1つのコネクタを共有したい場合は、この方法を使います。

1

MCPコネクタを開く

TypingMindで「プラグイン」に移動し、「MCPコネクタ」を開いて「URLを追加」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 「プラグイン」に移動してください。
  3. 「MCPコネクタ」を開いてください。
  4. 「URLを追加」をクリックします。
TypingMindの「カスタムMCPサーバーURLを追加」フォーム
2

サーバーURLを貼り付け

「サーバーURL」欄にhttps://yoursite.com/wp-json/bricks-mcp/v1/mcpを入力してください。サーバーで必要とされる場合は、接続名、説明、アイコン、カスタムHTTPヘッダー、OAuthクライアント設定を追加してください。

  1. 「サーバーURL」欄にhttps://yoursite.com/wp-json/bricks-mcp/v1/mcpを貼り付けてください。
  2. MCP Server Manifest Pluginの接続名を入力してください。
  3. 接続を識別しやすくするには、説明とアイコンを追加してください。
  4. サーバーで認証が必要な場合は、カスタムHTTPヘッダーまたはOAuthクライアントの詳細情報を追加してください。
3

接続を作成

「接続を作成」をクリックし、プラグイン一覧に戻って、新しいMCP接続が有効になっていることを確認してください。

  1. 「接続を作成」をクリックします。
  2. MCPコネクタの一覧に戻ってください。
  3. MCP Server Manifest Pluginの接続が「有効」と表示されていることを確認してください。
  4. 接続がすぐに表示されない場合は、プラグイン一覧を更新してください。
4

再接続せずにモデルを切り替え

お好みのモデルでチャットを開始し、「プラグイン」でMCP Server Manifest Pluginのツールを有効にしてください。必要に応じて別のモデルに切り替えられます。MCP接続は、TypingMindのワークスペースで引き続き利用できます。

  1. TypingMindで新しいチャットを開始してください。
  2. 使用するAIモデルを選択してください。
  3. 「プラグイン」でMCP Server Manifest Pluginのツールを有効にしてください。
  4. 必要に応じて、ツールを使うようモデルに依頼してください。
  5. 別のAIモデルに切り替えて、同じMCP接続を再利用してください。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
MCP Server Manifest Pluginを使ってこのタスクを手伝ってもらえますか?
MCP Server Manifest Plugin
はい、読みました。
MCP Server Manifest Pluginで調べた結果をお伝えします。

よくある質問

MCP Server Manifest Plugin MCPサーバーは何に使いますか?

MCP Server Manifest Pluginは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでMCP Server Manifest Plugin MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでMCP Server Manifest Pluginを利用できます。

TypingMindでMCP Server Manifest Plugin MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。MCP Server Manifest Pluginを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

MCP Server Manifest Plugin MCPをTypingMindに接続するにはどうすればよいですか?

MCP Server Manifest Pluginは、ローカルMCPコネクタを使うか、リモートMCPサーバーのURLを追加することでTypingMindに接続できます。サーバーがデバイス上のファイル、アプリ、プライベートリソースにアクセスする必要がある場合はローカルコネクタを、MCPサーバーがリモートでホストされている場合はサーバーURLを使用してください。

TypingMindでMCP Server Manifest Plugin MCPのどのようなツールを利用できますか?

MCP Server Manifest PluginはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

MCP Server Manifest Plugin MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。MCP Server Manifest Pluginで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇