WordPress MCP Extension For VS Code MCP Server

A VS Code extension implementing MCP server for WordPress integration

Local serverstdio

What is the WordPress MCP Extension For VS Code MCP Server?

A VS Code extension implementing MCP server for WordPress integration

What the server does

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 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

Credentials and setup notes

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

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the WordPress MCP Extension For VS Code MCP Server

{
  "mcpServers": {
    "wordpress-sharmashivanand": {
      "command": "npx",
      "args": ["-y", "npm"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

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

Frequently asked questions

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