MCP.so
ログイン

WordPress MCP Extension for VS Code

@sharmashivanand

WordPress MCP Extension for VS Code について

A VS Code extension implementing MCP server for WordPress integration

基本情報

カテゴリ

開発者ツール

ライセンス

MIT

ランタイム

node

トランスポート

stdio

公開者

sharmashivanand

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is WordPress MCP Extension for VS Code?

This VS Code extension implements a Model Context Protocol (MCP) server for WordPress integration. It automatically detects your WordPress environment, connects to the database, and provides context-aware coding assistance, making WordPress development easier and more intuitive. It is for developers working with WordPress in VS Code.

How to use WordPress MCP Extension for VS Code?

Open a folder containing a WordPress installation or a child directory of one. The extension auto-searches for wp-config.php. Use the command WordPress MCP: Connect to WordPress to explicitly connect. Then use commands like WordPress MCP: Show WordPress Configuration, WordPress MCP: Query Database, or chat queries with @wordpress to interact with your WordPress environment.

Key features of WordPress MCP Extension for VS Code

  • Automatically detects wp-config.php by searching parent directories
  • Extracts WordPress database credentials and connects to the database
  • Provides context-aware code completion for WordPress functions and hooks
  • Shows documentation on hover, including the current WordPress version
  • Offers WordPress-specific code actions and quick fixes

Use cases of WordPress MCP Extension for VS Code

  • Develop WordPress plugins or themes with intelligent code assistance
  • Quickly view database credentials and WordPress configuration without leaving the editor
  • Execute natural language queries against the WordPress database via chat
  • Check active plugins, themes, and custom post types from within VS Code

FAQ from WordPress MCP Extension for VS Code

What dependencies are required?

VS Code 1.74.0 or higher and a WordPress installation that the extension can access. Node.js and npm are needed for development.

How does the extension find the WordPress installation?

It automatically searches for a wp-config.php file starting from the current directory up through parent directories.

What are the known limitations?

PHP serialization parsing is simplified and may not handle all serialized data formats. The database connection needs to close properly when VS Code shuts down.

Does the extension require any additional settings?

No, it doesn't require any additional settings.

How can I test the MCP integration?

Use the @wordpress mention in the VS Code chat interface with queries like "What is the database name in wp-config.php?" or "Show me active plugins."

コメント

「開発者ツール」の他のコンテンツ