Skip to content
VS Code

wordpress mcp for VS Code

io.github.cvrt-jh/wordpress-mcp

Lightweight WordPress MCP server - 42 tools, token-optimized (95% smaller responses)

client:VS Code transport:stdio runtime:npm

Install wordpress mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "wordpress-site-url",
      "description": "WORDPRESS_SITE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wordpress-username",
      "description": "WORDPRESS_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wordpress-password",
      "description": "WORDPRESS_PASSWORD",
      "password": true
    }
  ],
  "servers": {
    "wordpress-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cavort-it-systems/wordpress-mcp"
      ],
      "env": {
        "WORDPRESS_SITE_URL": "${input:wordpress-site-url}",
        "WORDPRESS_USERNAME": "${input:wordpress-username}",
        "WORDPRESS_PASSWORD": "${input:wordpress-password}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

wordpress mcp in other clients