WordPress MCP Extension for VS Code

WordPress MCP Extension for VS Code

mcp-wordpress-sharmashivanand•bysharmashivanand

A VS Code extension implementing an MCP server that detects WordPress installations and connects to WordPress databases for context-aware assistance.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Automatically locates wp-config.php by searching from the current directory up through parent directories and detects the WordPress installation path.
  • •Extracts WordPress database credentials and connects to the WordPress database.
  • •Allows running natural language queries against the WordPress database.
  • •Provides WordPress-specific editor features such as context-aware code completion, documentation hover, and code actions.

BEST FOR

  • •Developers working on WordPress sites in VS Code who want environment-aware coding assistance.
  • •Answering questions about a WordPress configuration and database through the VS Code chat interface.

ABOUT MCP-WORDPRESS-SHARMASHIVANAND

WordPress MCP Extension for VS Code is cataloged as an MCP server attributed to sharmashivanand. A VS Code extension implementing an MCP server that detects WordPress installations and connects to WordPress databases for context-aware assistance. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for WordPress MCP Extension for VS Code are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the extension connect to a WordPress installation?

It searches for a wp-config.php file starting from the current directory upward, and you can also explicitly connect using the WordPress MCP: Connect to WordPress command.

What can I ask through the VS Code chat integration?

You can use the @wordpress participant to query configuration details, active plugins, the active theme, and available custom post types.

Upstream README

View this exact version on GitHub

README.md · 016acc7f2eaf · Fetched 2026-11-13 10:53:28 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

WordPress MCP Extension for VS Code

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.

Features

  • WordPress Configuration Detection: Automatically finds your wp-config.php file by searching from the current directory up through parent directories
  • Database Integration: Extracts WordPress database credentials and connects to your WordPress database
  • WordPress Installation Path: Detects the WordPress installation directory
  • Intelligent Code Completion: Provides context-aware code completion for WordPress functions and hooks
  • Documentation Hover: Shows documentation for WordPress functions including the current WordPress version
  • Code Actions: Offers WordPress-specific code actions and quick fixes

Requirements

  • VS Code 1.74.0 or higher
  • A WordPress installation that the extension can access
  • Node.js and npm (for development)

Usage

  1. Open a folder that contains a WordPress installation or is a child directory of a WordPress installation
  2. The extension will automatically search for a wp-config.php file
  3. Use the command WordPress MCP: Connect to WordPress to explicitly connect to the WordPress installation
  4. Enjoy enhanced WordPress coding with intelligent assistance based on your specific WordPress environment

Extension Settings

This extension doesn't require any additional settings.

Known Issues

  • PHP serialization parsing is implemented in a simplified way and may not handle all serialized data formats
  • Database connection needs to close properly when VS Code shuts down

Release Notes

0.1.0

Initial release of WordPress MCP Extension with basic WordPress integration features.


Development

Building the Extension

npm install
npm run compile

Packaging the Extension

npm install -g vsce
vsce package

This creates a .vsix file in your project directory that can be installed in VS Code.

Testing the Extension

After installing the extension, you can test its functionality using these commands:

  1. Test WordPress Connection:

    > WordPress MCP: Connect to WordPress
    

    This command will search for and connect to your WordPress installation.

  2. View WordPress Configuration:

    > WordPress MCP: Show WordPress Configuration
    

    This displays database credentials and other WordPress configuration details.

  3. Query WordPress Database:

    > WordPress MCP: Query Database
    

    This allows you to execute natural language queries against your WordPress database.

  4. 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:

    • @wordpress What is the database username?
    • @wordpress Show me active plugins
    • @wordpress What theme is active?
    • @wordpress What custom post types are available?

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for WordPress MCP Extension for VS Code from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-wordpress-sharmashivanand)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools