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:
Test WordPress Connection:
> WordPress MCP: Connect to WordPress
This command will search for and connect to your WordPress installation.
View WordPress Configuration:
> WordPress MCP: Show WordPress Configuration
This displays database credentials and other WordPress configuration details.
Query WordPress Database:
> WordPress MCP: Query Database
This allows you to execute natural language queries against your WordPress database.
Test MCP Integration via Chat:
@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:
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!