wp-ssh MCP server
Commit 27. Okt. 2026Ermöglicht es AI Agents, selbst gehostete WordPress-Seiten zu verwalten, einschließlich Posts, WooCommerce und Elementor, ohne dass ein SSH-Zugriff erforderlich ist.
Auch bekannt als MSSOFTPC/wp-ssh-mcp
- Stars
- 0
- Tools
- —
- Downloads, 30 Tage
- —
- Neueste Version
- —
- Letzter Commit
- 27. Okt. 2026
- Lizenz
- GPL-2.0
Was ist wp-ssh MCP?
wp-ssh ist ein MCP server. Ermöglicht es AI Agents, selbst gehostete WordPress-Seiten zu verwalten, einschließlich Posts, WooCommerce und Elementor, ohne dass ein SSH-Zugriff erforderlich ist.
Zusammenfassung generiert aus dem README des Projekts
Über wp-ssh MCP server
Die Verwaltung selbst gehosteter WordPress-Seiten über AI Clients wie Claude Desktop, Cursor oder Claude Code ist ohne SSH-Zugriff möglich. Dieser lokale MCP server fungiert als Brücke zwischen deinem AI Agent und dem auf deiner WordPress-Seite installierten WP SSH Plugin. Da er auf deinem eigenen Rechner läuft, wird sichergestellt, dass deine Secret Keys auf deiner Maschine bleiben und nicht an einen gehosteten Relay gesendet werden.
Nutzer können den Zugriffsschutz steuern, indem sie den Modus auf read, write oder full setzen. Im standardmäßigen read-Modus kann die KI Aufgaben wie das Auflisten von Posts, das Prüfen von WooCommerce-Bestellungen oder das Ausführen von Site-Diagnosen übernehmen. Der Wechsel in die Modi write oder full ermöglicht die Erstellung von Inhalten, Media-Uploads und fortgeschrittenere Operationen wie Plugin-Management oder das Schreiben von Dateien. Der Server nutzt HTTPS und einen Secret Key für eine sichere Kommunikation mit dem Endpoint deiner Seite.
Was du damit machen kannst
- 1Site Health Checks durchführenBitte deinen AI Agent, Diagnosen durchzuführen, um herauszufinden, was deine WordPress-Website verlangsamen könnte.
- 2WooCommerce Verkaufsdaten verwaltenFordere eine Zusammenfassung deiner letzten Kundenbestellungen an, kategorisiert nach ihrem aktuellen Status.
- 3Elementor Designs zwischen Seiten übertragenAnweise die KI, ein spezifisches Elementor Page Design von einer Seite zu exportieren und als Entwurf auf einer anderen Seite zu importieren.
- 4Datenbank Search and Replace vorschauenNutze die KI, um zu prüfen, wie ein URL-Austausch aussehen würde, bevor du die Änderungen tatsächlich in der Datenbank anwendest.
Geschrieben aus dem README des Projekts. Jeder Use Case wurde gegen ein Zitat daraus geprüft.
So installierst du wp-ssh MCP
Formate geprüft am 10. Nov. 2026Zu Cursor hinzufügenZu Goose hinzufügenwp-ssh MCP in Claude Code installieren
$ claude mcp add wp-ssh-mcp -- npx -y wp-ssh-mcpwp-ssh MCP in Cursor installieren
~/.cursor/mcp.json
{
"mcpServers": {
"wp-ssh-mcp": {
"command": "npx",
"args": [
"-y",
"wp-ssh-mcp"
]
}
}
}wp-ssh MCP in VS Code installieren
.vscode/mcp.json
{
"servers": {
"wp-ssh-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"wp-ssh-mcp"
]
}
}
}wp-ssh MCP in VS Code CLI installieren
$ code --add-mcp '{"name":"wp-ssh-mcp","type":"stdio","command":"npx","args":["-y","wp-ssh-mcp"]}'wp-ssh MCP in Claude Desktop installieren
claude_desktop_config.json
{
"mcpServers": {
"wp-ssh-mcp": {
"command": "npx",
"args": [
"-y",
"wp-ssh-mcp"
]
}
}
}wp-ssh MCP in Codex installieren
$ codex mcp add wp-ssh-mcp -- npx -y wp-ssh-mcpwp-ssh MCP in Codex config.toml installieren
~/.codex/config.toml
[mcp_servers.wp-ssh-mcp] command = "npx" args = ["-y", "wp-ssh-mcp"]
wp-ssh MCP in Gemini CLI installieren
$ gemini mcp add -s user wp-ssh-mcp npx -- -y wp-ssh-mcpwp-ssh MCP in Gemini settings.json installieren
~/.gemini/settings.json
{
"mcpServers": {
"wp-ssh-mcp": {
"command": "npx",
"args": [
"-y",
"wp-ssh-mcp"
]
}
}
}Konfiguration
WPSSH_KEYWPSSH_MODEWPSSH_SITESWPSSH_URL
| Name | Beschreibung | Typ |
|---|---|---|
| WPSSH_KEY | — | |
| WPSSH_MODE | — | |
| WPSSH_SITES | — | |
| WPSSH_URL | — |
Automatisierte Checks
Geluften am 14. Nov. 2026Vollständiger Bericht →Noch nicht verifiziert. Ein Server benötigt einen Score von 80, keine kritischen Befunde und genug Daten für unsere Prüfung. Wie die Checks funktionieren · Was du für mehr Punkte verbessern kannst
- Source Repository verknüpft und erreichbarmssoftpc/wp-ssh-mcp is public and reachablegithub.com/mssoftpc/wp-ssh-mcp ↗Bestanden
- Paket nennt dieses Repository als Quellewp-ssh-mcp names mssoftpc/wp-ssh-mcp as sourcenpmjs.com/package/wp-ssh-mcp ↗Bestanden
- Build-Provenienz (Sigstore-Attestierung)No build attestation published for this releaseNicht geprüft
- Open Source Lizenz (OSI)GPL-2.0spdx.org/licenses/GPL-2.0.html ↗Bestanden
- Commit oder Release im letzten JahrLast commit or release 2026-10-27github.com/mssoftpc/wp-ssh-mcp ↗Bestanden
- OpenSSF ScorecardNicht geprüft
- Package-Name ähnelt keinem populären PackageNo popular package one edit away from wp-ssh-mcpBestanden
- Keine kritischen Advisories im Paket oder seinen AbhängigkeitenNicht geprüft
- Keine versteckten Anweisungen an das Modell0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersBestanden
- Destruktive Tools sind markiertNicht geprüft
- Remote-Endpoint beantwortet den MCP-HandshakeNicht geprüft
README
Auf GitHub ansehenwp-ssh-mcp: WordPress MCP server for the WP SSH plugin

Let Claude, Cursor, Claude Code and other MCP clients manage your self-hosted WordPress site (posts, WooCommerce, Elementor, diagnostics, files) without SSH access.
wp-ssh-mcp is a small program that runs on your own computer. It turns the WP SSH plugin's HTTPS endpoint into MCP tools, so your AI sees post_list, order_get, elementor_data_set and so on, with proper parameter schemas. No hosted relay, no accounts: your key stays on your machine.
This needs two pieces. The WordPress plugin does the real work on your site;
wp-ssh-mcponly connects your AI app to it.
Claude Desktop / Cursor / Claude Code
│ MCP (local, stdio)
▼
wp-ssh-mcp ← this repo, runs on your computer
│ HTTPS + X-WPSSH-Key
▼
your WordPress site ← WP SSH plugin (separate repo)
Quick start
Step 1: install the plugin on your WordPress site (once per site)
- Get it from MSSOFTPC/wp-ssh (Releases →
wp-ssh.zip). - WordPress admin: Plugins → Add New → Upload Plugin → Activate.
- Tools → WP SSH: tick Enable bridge, copy the Secret key.
Step 2: connect your AI app (see Install for Claude Desktop, Claude Code and Cursor)
claude mcp add my-site -e WPSSH_URL=https://yoursite.com -e WPSSH_KEY=your-key -- npx -y wp-ssh-mcp
Then ask: "Run diagnostics on my site."
Safe by default
The server starts in read mode. Write tools are not even shown to the AI until you opt in.
WPSSH_MODE |
What the AI can do | Action tools |
|---|---|---|
read (default) |
Look, never touch: site info, diagnostics, posts, orders, options, file reads, SELECT queries, dry-run search-replace, Elementor export | 21 |
write |
+ content changes: create/update posts, order status, Elementor data/import, product attributes, cache clear, media upload, menus | 34 |
full |
+ risky: file writes/restore, write SQL, permanent delete, real search-replace, plugin activate/deactivate | 41 |
More safety built in:
- Risky tools are marked destructive, so MCP clients show an approval prompt.
db_queryaccepts one read-only statement only. Writes need the separatedb_query_writetool (full mode).search_replace_previewalways sendsdry_run: true; the model cannot override it.confirm: trueis never added automatically. The model must pass it, and tool descriptions tell it to do so only after your approval.- The plugin's own protections still apply (Read-only mode, IP allowlist, lockout, auto-backups, activity log).
- Refuses plain
http://(except localhost), refuses to follow redirects (the key is never forwarded), and never prints your key.
Install
Requires Node.js 18+ and the WP SSH plugin active on your site (Tools → WP SSH → copy the secret key, tick Enable bridge).
Claude Desktop
Edit claude_desktop_config.json
(macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):
{
"mcpServers": {
"my-site": {
"command": "npx",
"args": ["-y", "wp-ssh-mcp"],
"env": {
"WPSSH_URL": "https://yoursite.com",
"WPSSH_KEY": "your-64-char-secret-key",
"WPSSH_MODE": "read"
}
}
}
}
Restart Claude Desktop.
Claude Code
claude mcp add my-site -e WPSSH_URL=https://yoursite.com -e WPSSH_KEY=your-key -- npx -y wp-ssh-mcp
Cursor
~/.cursor/mcp.json (or project .cursor/mcp.json): same mcpServers block as above.
Several sites
"env": {
"WPSSH_SITES": "[{\"name\":\"shop\",\"url\":\"https://shop.com\",\"key\":\"...\"},{\"name\":\"blog\",\"url\":\"https://blog.com\",\"key\":\"...\"}]",
"WPSSH_MODE": "read"
}
Every tool then gets a required site parameter (shop or blog).
Run from source
git clone https://github.com/MSSOFTPC/wp-ssh-mcp
cd wp-ssh-mcp
npm install && npm run build
# then use "command": "node", "args": ["/full/path/to/wp-ssh-mcp/dist/index.js"]
Configuration
| Variable | Meaning |
|---|---|
WPSSH_URL, WPSSH_KEY |
One site. URL like https://example.com, key from Tools → WP SSH |
WPSSH_NAME |
Optional name for the single site (default default) |
WPSSH_SITES |
JSON array for several sites (see above) |
WPSSH_MODE |
read (default), write, full |
WPSSH_ALLOW_HTTP |
1 to allow http:// on a trusted private network |
WPSSH_TIMEOUT_MS |
Request timeout, default 30000 |
WPSSH_MAX_CHARS |
Max characters returned per call (default 60000). Big Elementor pages are truncated with a hint |
Example prompts
- "Run diagnostics on my site and tell me what is slowing it down."
- "List draft posts tagged ready and show me before publishing any."
- "Preview a search-replace from
http://old.comtohttps://new.com. Don't apply it." - "Export the Elementor design of page 120 from
shopand import it as a draft onblog." - "Show today's WooCommerce orders and summarise by status."
ChatGPT, n8n, Make, Zapier (no MCP needed)
This repo also ships OpenAPI 3.1 files generated from the same action list:
openapi.json: read + content-write actions (use this one)openapi.full.json: everything, including risky actions (only for agents you fully trust)
Custom GPT: Configure → Actions → Import the file → set the server URL to your site → Authentication: API Key, Custom, header name X-WPSSH-Key.
Note that ChatGPT calls your site from OpenAI's servers, so an IP allowlist is not practical there; keep the plugin in Read-only mode unless you are actively making changes.
Regenerate after changing src/spec.ts: npm run build && npm run gen:openapi.
Privacy
wp-ssh-mcp talks only to the site URLs you configure. No telemetry, no analytics, no third-party servers. What the AI sees is the output of the tools you allow, and it is handled under your AI provider's terms.
Troubleshooting
| Symptom | Fix |
|---|---|
| "wrong or missing secret key" | Re-copy the key from Tools → WP SSH (regenerating invalidates the old one) |
| 403 | Bridge disabled, Read-only mode on in the plugin, or your IP is not on the allowlist |
| 404 | Plugin inactive, or permalinks/REST API blocked by a security plugin or server rule |
| "redirect" error | Use the exact final URL (https vs http, www vs non-www) |
| Tools missing | You are in read mode; set WPSSH_MODE=write or full and restart the client |
| Nothing shows in Claude Desktop | Check JSON syntax, fully restart the app, run npx wp-ssh-mcp --help in a terminal |
Development
npm install
npm test # builds and runs the end-to-end smoke test against a mock endpoint
npm run gen:openapi
src/spec.ts is the single list of actions. Add an action there and both the MCP tool and the OpenAPI schema appear.
License
GPL-2.0-or-later, same as the plugin.
wp-ssh MCP Fragen
Wie füge ich wp-ssh MCP zu Claude Code hinzu?
Führe claude mcp add wp-ssh-mcp -- npx -y wp-ssh-mcp in deinem Terminal aus. Füge --scope user hinzu, damit der Server in jedem Projekt verfügbar ist.
Wie füge ich wp-ssh MCP zu Cursor hinzu?
Öffne ~/.cursor/mcp.json und füge den Server unter mcpServers hinzu, mit der Cursor-Config aus dem Installationsabschnitt oben.
Ist ein SSH-Zugriff erforderlich?
Nein, es ermöglicht AI Agents die Verwaltung deiner WordPress-Seite ohne SSH-Zugriff, indem der HTTPS-Endpoint des WP SSH Plugins genutzt wird.