Skip to main content
Glama

MCP WordPress Remote

Das Paket mcp-wordpress-remote fungiert als Brücke zwischen lokalen Model Context Protocol (MCP)-Clients und entfernten WordPress MCP-Servern. Durch die Nutzung von npx können Sie dieses Paket ohne globale Installation ausführen, was den Einrichtungsprozess vereinfacht.

Anforderungen

  • Node.js Version 22 oder höher

Related MCP server: Lodestar MCP Server

WordPress MCP-Plugin

Sie müssen das WordPress-MCP- Plugin auf Ihrer WordPress-Website installieren und die MCP-Funktionalität unter „Einstellungen“ > „MCP-Einstellungen“ aktivieren.

Warum

  1. Die meisten Clients unterstützen die Kommunikationsprotokolle SSE oder Streamable nicht.

  2. Verbesserte Effizienz. Dieser Proxy hält keine offene Verbindung zu Ihrer Website aufrecht und stellt nur bei Bedarf einfache REST-API-Anfragen an Ihre Website.

  3. Oauth2.1 ist in WordPress noch nicht standardmäßig verfügbar.

  4. Sicherheit durch WordPress-API-Passwörter und WooCommerce REST-API-Kundenschlüssel und -Geheimnis

  5. Einfach zu verwenden. Siehe Installationsanweisungen unten.

Verwendung

Umgebungsvariablen

Die folgenden Umgebungsvariablen sind erforderlich:

  • WP_API_URL : Die URL Ihrer WordPress-Site (z. B. https://example.com )

  • WP_API_USERNAME : Ihr WordPress-Benutzername

  • WP_API_PASSWORD : Ihr WordPress -Anwendungspasswort

  • WOO_CUSTOMER_KEY : Ihr WooCommerce-Kundenschlüssel (optional, wenn Sie WooCommerce MCP-Assets verwenden möchten)

  • WOO_CUSTOMER_SECRET : Ihr WooCommerce-Kundengeheimnis (optional, wenn Sie WooCommerce MCP-Assets verwenden möchten)

  • LOG_FILE : Optionaler vollständiger Pfad zu einer Protokolldatei

Konfiguration in MCP-Clients

Claude Desktop

Um einen MCP-Server zu Claude Desktop hinzuzufügen, müssen Sie die Konfigurationsdatei unter folgendem Pfad bearbeiten:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Beispielkonfiguration:

{ "mcpServers": { "wordpress-mcp": { "command": "npx", "args": ["-y", "@automattic/mcp-wordpress-remote@latest"], "env": { "WP_API_URL": "https://your-wordpress-site.com", "WP_API_USERNAME": "your-username", "WP_API_PASSWORD": "your-password", "WOO_CUSTOMER_KEY": "your-woo-customer-key", "WOO_CUSTOMER_SECRET": "your-woo-customer-secret", "LOG_FILE": "optional full path to the log file" } } } }

https://woocommerce.com/document/woocommerce-rest-api/

Cursor

Die Konfigurationsdatei befindet sich unter ~/.cursor/mcp.json .

Beispielkonfiguration:

{ "mcpServers": { "wordpress-mcp": { "command": "npx", "args": ["-y", "@automattic/mcp-wordpress-remote@latest"], "env": { "WP_API_URL": "https://your-wordpress-site.com", "WP_API_USERNAME": "your-username", "WP_API_PASSWORD": "your-password", "WOO_CUSTOMER_KEY": "your-woo-customer-key", "WOO_CUSTOMER_SECRET": "your-woo-customer-secret", "LOG_FILE": "optional full path to the log file" } } } }

VS Code

Die Konfigurationsdatei kann in .vscode/mcp.json in Ihrem Arbeitsbereich/Ordner erstellt werden.

{ "servers": { "wordpress-mcp": { "type": "stdio", "command": "npx", "args": ["-y", "@automattic/mcp-wordpress-remote@latest"], "env": { "WP_API_URL": "https://your-wordpress-site.com", "WP_API_USERNAME": "your-username", "WP_API_PASSWORD": "your-password", "WOO_CUSTOMER_KEY": "your-woo-customer-key", "WOO_CUSTOMER_SECRET": "your-woo-customer-secret", "LOG_FILE": "optional full path to the log file" } } } }

Weitere Informationen zu VS Code und MCP finden Sie in der VS Code-Dokumentation.

@todo

Dieses Paket befindet sich derzeit in der frühen Entwicklungsphase. Vorschläge, Fehlerberichte und PRs sind willkommen.

-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Automattic/mcp-wordpress-remote'

If you have feedback or need assistance with the MCP directory API, please join our Discord server