Skip to main content
Glama

WordPress MCP Server

Official
by Automattic

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

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

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Fungiert als Brücke zwischen lokalen MCP-Clients und WordPress-Websites und ermöglicht die Kommunikation mit WordPress über einfache REST-API-Anfragen, anstatt Verbindungen offen zu halten.

  1. Anforderungen
    1. WordPress MCP-Plugin
      1. Warum
        1. Verwendung
          1. Umgebungsvariablen
          2. Konfiguration in MCP-Clients
        2. @todo

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            An MCP server that enables fetching web content using the Node.js undici library, supporting various HTTP methods, content formats, and request configurations.
            Last updated -
            66
            8
            TypeScript
            MIT License
            • Apple
            • Linux
          • -
            security
            A
            license
            -
            quality
            An MCP server that helps novice developers deploy web applications through conversational interfaces, bridging the gap between LLMs and various hosting environments.
            Last updated -
            1
            Python
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            A proxy service that connects MCP clients to remote MCP servers, allowing users to use server keys from MCP.so to access remote resources without running their own server.
            Last updated -
            5,062
            2
            TypeScript
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            A server that enables interaction with WordPress sites through REST API, allowing users to create, retrieve, and update posts using JSON-RPC 2.0 protocol.
            Last updated -
            1
            JavaScript
            MIT License
            • Apple
            • Linux

          View all related MCP servers

          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