mcp wordpress
Implements a Model Context Protocol server for WordPress that enhances VS Code with WordPress-specific intelligence, including database integration, code completion, and documentation.
Implements a Model Context Protocol server for WordPress that enhances VS Code with WordPress-specific intelligence, including database integration, code completion, and documentation.
This VS Code extension implements a Model Context Protocol (MCP) server for WordPress integration. It helps VS Code understand your WordPress environment, making development easier and more intuitive.
WordPress MCP: Connect to WordPress
to explicitly connect to the WordPress installationThis extension doesn t require any additional settings.
Initial release of WordPress MCP Extension with basic WordPress integration features.
npm install
npm run compile
npm install -g vsce
vsce package
This creates a .vsix
file in your project directory that can be installed in VS Code.
After installing the extension, you can test its functionality using these commands:
> WordPress MCP: Connect to WordPress
This command will search for and connect to your WordPress installation.
> WordPress MCP: Show WordPress Configuration
This displays database credentials and other WordPress configuration details.
> WordPress MCP: Query Database
This allows you to execute natural language queries against your WordPress database.
@wordpress What is the database name in wp-config.php?
Use in the VS Code chat interface to test the MCP integration. Other useful queries: