Skip to main content
Glama

VS Code 用 WordPress MCP 拡張機能

このVS Code拡張機能は、WordPressとの統合のためのモデルコンテキストプロトコル(MCP)サーバーを実装します。これにより、VS CodeはWordPress環境を理解しやすくなり、開発がより容易かつ直感的になります。

特徴

  • WordPress設定検出:現在のディレクトリから親ディレクトリまで検索してwp-config.phpファイルを自動的に見つけます

  • データベース統合: WordPressデータベースの資格情報を抽出し、WordPressデータベースに接続します

  • WordPressインストールパス: WordPressのインストールディレクトリを検出します

  • インテリジェントなコード補完: WordPressの関数とフックのコンテキスト認識コード補完を提供します

  • ドキュメントホバー: 現在の WordPress バージョンを含む WordPress 機能のドキュメントを表示します

  • コードアクション: WordPress固有のコードアクションとクイックフィックスを提供します

Related MCP server: wp-devdocs-mcp

要件

  • VS Code 1.74.0 以上

  • 拡張機能がアクセスできるWordPressインストール

  • Node.js と npm (開発用)

使用法

  1. WordPress インストールを含むフォルダ、または WordPress インストールの子ディレクトリを開きます。

  2. 拡張機能は自動的にwp-config.phpファイルを検索します。

  3. WordPress MCP: Connect to WordPressコマンドを使用して、WordPressインストールに明示的に接続します。

  4. 特定のWordPress環境に基づいたインテリジェントな支援による強化されたWordPressコーディングをお楽しみください

拡張機能の設定

この拡張機能では追加の設定は必要ありません。

既知の問題

  • PHPのシリアル化解析は簡略化された方法で実装されており、すべてのシリアル化されたデータ形式を処理できるとは限りません。

  • VS Code がシャットダウンするときにデータベース接続を適切に閉じる必要がある

リリースノート

0.1.0

基本的な WordPress 統合機能を備えた WordPress MCP 拡張機能の初期リリース。


発達

拡張機能の構築

npm install
npm run compile

拡張機能のパッケージ化

npm install -g vsce
vsce package

これにより、VS Code にインストールできる.vsixファイルがプロジェクト ディレクトリに作成されます。

拡張機能のテスト

拡張機能をインストールした後、次のコマンドを使用して拡張機能の機能をテストできます。

  1. WordPress接続のテスト:

    > WordPress MCP: Connect to WordPress

    このコマンドは、WordPress インストールを検索して接続します。

  2. WordPress の設定を表示:

    > WordPress MCP: Show WordPress Configuration

    これには、データベースの資格情報とその他の WordPress 構成の詳細が表示されます。

  3. WordPressデータベースのクエリ:

    > WordPress MCP: Query Database

    これにより、WordPress データベースに対して自然言語クエリを実行できるようになります。

  4. チャット経由でMCP統合をテストする:

    @wordpress What is the database name in wp-config.php?

    VS CodeのチャットインターフェースでMCP統合をテストするために使用します。その他の便利なクエリ:

    • @wordpress データベースのユーザー名は何ですか?

    • @wordpress アクティブなプラグインを表示

    • @wordpress どのテーマがアクティブですか?

    • @wordpress どのようなカスタム投稿タイプが利用できますか?

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    C
    maintenance
    A Model Context Protocol server that turns WordPress sites into AI-operable surfaces by exposing CRUD primitives for posts, users, comments, and settings. It supports both local STDIO and remote HTTP transports, allowing AI assistants to manage content and site configuration directly.
    68
    9
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    An MCP server that indexes WordPress hooks, filters, block registrations, and JS API calls to provide AI assistants with a verified source-code database. It enables models to search, validate, and retrieve code context for WordPress and its plugins to eliminate hook-name hallucinations.
    23
    71
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables AI assistants to interact with VS Code's language server protocol features (definitions, references, diagnostics) and debugger (breakpoints, stepping, variable inspection) via an MCP server.
    20
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • A Model Context Protocol server for Wix AI tools

  • Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sharmashivanand/mcp-wordpress'

If you have feedback or need assistance with the MCP directory API, please join our Discord server