Skip to main content
Glama

WordPress MCP Server

Official
by Automattic

MCP WordPress Удаленный

Пакет mcp-wordpress-remote действует как мост между локальными клиентами Model Context Protocol (MCP) и удаленными серверами WordPress MCP. Используя npx, вы можете запустить этот пакет без глобальной установки, что упрощает процесс настройки.

Требования

  • Node.js версии 22 или выше

WordPress MCP-плагин

Вам необходимо установить плагин wordpress-mcp на свой сайт WordPress и включить функциональность MCP в разделе «Настройки» > «Настройки MCP».

Почему

  1. Большинство клиентов не поддерживают протоколы связи SSE или Streamable.
  2. Повышенная эффективность. Этот прокси не будет поддерживать открытое соединение с вашим сайтом, а будет делать только простые запросы REST API к вашему сайту при необходимости.
  3. Oauth2.1 пока недоступен в WordPress «из коробки».
  4. Безопасность посредством паролей API WordPress и ключа и секрета пользователя API REST WooCommerce
  5. Простота использования. Инструкции по установке см. ниже.

Использование

Переменные среды

Требуются следующие переменные среды:

  • WP_API_URL : URL-адрес вашего сайта WordPress (например, https://example.com )
  • WP_API_USERNAME : Ваше имя пользователя WordPress
  • WP_API_PASSWORD : Ваш пароль приложения WordPress
  • WOO_CUSTOMER_KEY : Ваш ключ клиента Woocommerce (необязательно, если вы собираетесь использовать ресурсы WooCommerce MCP)
  • WOO_CUSTOMER_SECRET : Ваш секретный код клиента WooCommerce (необязательно, если вы собираетесь использовать ресурсы WooCommerce MCP)
  • LOG_FILE : Необязательный полный путь к файлу журнала.

Конфигурация в клиентах MCP

Клод Десктоп

Чтобы добавить MCP-сервер в Claude Desktop, вам необходимо отредактировать файл конфигурации, расположенный по адресу:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Пример конфигурации:

{ "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/mcp.json .

Пример конфигурации:

{ "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

Файл конфигурации можно создать внутри .vscode/mcp.json в вашей рабочей области/папке.

{ "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" } } } }

Более подробную информацию о VS Code и MCP можно найти в документации VS Code.

@todo

На данный момент этот пакет находится на ранних стадиях разработки. Любые предложения, отчеты об ошибках, PR приветствуются.

-
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.

Выступает в качестве моста между локальными клиентами MCP и веб-сайтами WordPress, обеспечивая взаимодействие с WordPress посредством простых запросов REST API вместо сохранения открытых соединений.

  1. Требования
    1. WordPress MCP-плагин
      1. Почему
        1. Использование
          1. Переменные среды
          2. Конфигурация в клиентах MCP
        2. @todo

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            This MCP server connects clients with Shopify store data, enabling retrieval of product and customer information via exposed tools.
            Last updated -
            4
            Python
            MIT License
          • -
            security
            F
            license
            -
            quality
            This is an MCP server that facilitates building tools for interacting with various APIs and workflows, supporting Python-based development with potential for customizable prompts and user configurations.
            Last updated -
            Python
          • -
            security
            A
            license
            -
            quality
            WooCommerce MCP Server enables interaction with WooCommerce stores through the WordPress REST API. It provides comprehensive tools for managing all aspects of products, orders, customers, shipping, taxes, discounts, and store configuration using JSON-RPC 2.0 protocol.
            Last updated -
            47
            JavaScript
            MIT License
            • Apple
            • Linux
          • -
            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 -
            53
            3
            TypeScript
            MIT License
            • Apple

          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