# wp-ssh MCP server

> Enables AI agents to manage self-hosted WordPress sites including posts, WooCommerce, and Elementor without requiring SSH access.

- Repository: https://github.com/MSSOFTPC/wp-ssh-mcp
- Page: https://hostedmcp.org/servers/mssoftpc/wp-ssh-mcp
- Transport: stdio
- Stars: 0
- License: GPL-2.0

## Install

### Claude Code

```sh
claude mcp add wp-ssh-mcp -- npx -y wp-ssh-mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "wp-ssh-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "wp-ssh-mcp"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "wp-ssh-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "wp-ssh-mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"wp-ssh-mcp","type":"stdio","command":"npx","args":["-y","wp-ssh-mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "wp-ssh-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "wp-ssh-mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add wp-ssh-mcp -- npx -y wp-ssh-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.wp-ssh-mcp]
command = "npx"
args = ["-y", "wp-ssh-mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user wp-ssh-mcp npx -- -y wp-ssh-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "wp-ssh-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "wp-ssh-mcp"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `WPSSH_KEY` | no | no |  |
| `WPSSH_MODE` | no | no |  |
| `WPSSH_SITES` | no | no |  |
| `WPSSH_URL` | no | no |  |

## FAQ

### Does this require SSH access?

No, it allows AI agents to manage your WordPress site without SSH access by using the WP SSH plugin's HTTPS endpoint.
