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?

Connect WordPress MCP Extension For VS Code to Claude, Cursor or any other MCP client and it stops being a tab you switch to. A VS Code extension implementing MCP server for WordPress integration. The wordpress mcp extension for vs code mcp server is what makes that connection.

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

Installation

Installation goes through your MCP client rather than a global install: point it at npm on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

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)

Where it fits

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. It is maintained by sharmashivanand; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against WordPress MCP Extension For VS Code's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

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.