WordPress MCP Extension
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 (開発用)
使用法
WordPress インストールを含むフォルダ、または WordPress インストールの子ディレクトリを開きます。
拡張機能は自動的にwp-config.phpファイルを検索します。
WordPress MCP: Connect to WordPressコマンドを使用して、WordPressインストールに明示的に接続します。特定の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ファイルがプロジェクト ディレクトリに作成されます。
拡張機能のテスト
拡張機能をインストールした後、次のコマンドを使用して拡張機能の機能をテストできます。
WordPress接続のテスト:
> WordPress MCP: Connect to WordPressこのコマンドは、WordPress インストールを検索して接続します。
WordPress の設定を表示:
> WordPress MCP: Show WordPress Configurationこれには、データベースの資格情報とその他の WordPress 構成の詳細が表示されます。
WordPressデータベースのクエリ:
> WordPress MCP: Query Databaseこれにより、WordPress データベースに対して自然言語クエリを実行できるようになります。
チャット経由でMCP統合をテストする:
@wordpress What is the database name in wp-config.php?VS CodeのチャットインターフェースでMCP統合をテストするために使用します。その他の便利なクエリ:
@wordpress データベースのユーザー名は何ですか?
@wordpress アクティブなプラグインを表示
@wordpress どのテーマがアクティブですか?
@wordpress どのようなカスタム投稿タイプが利用できますか?
This server cannot be installed
Maintenance
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
- Alicense-qualityCmaintenanceA 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.689MIT
- Alicense-qualityDmaintenanceAn 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.2371MIT
- Flicense-qualityDmaintenanceA Model Context Protocol (MCP) server that provides VSCode context and filesystem operations for AI assistants.9
- Alicense-qualityDmaintenanceEnables 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.201MIT
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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