Enhance VS Code WordPress development with a Model Context Protocol server that detects configuration, connects to the database, provides context-aware code completion, documentation hover, and WordPress-specific code actions.
Unlock the full potential of WordPress MCP Extension through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.
Free tier available • No credit card required
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!