Back to Home
mcp-wp icon

mcp-server

Verified Safe

by mcp-wp

Overview

This plugin implements a Model Context Protocol (MCP) server for WordPress, exposing WordPress's data and functionality through its REST API to AI clients.

Installation

Run Command
No command provided

Security Notes

The server leverages WordPress's authentication mechanisms (user login or application passwords) for API access, which is a strong security practice. It uses `logiscape/mcp-sdk-php` for JSON-RPC message handling, delegating core protocol parsing security to the SDK. The `RestController` includes `Access-Control-Allow-Origin: *` header, noted as a 'workaround for MCP Inspector', which can be a security risk (e.g., CSRF vulnerability) if not strictly controlled or intended for production. The `MediaManager::upload_to_media_library` function accepts a `$media_path` parameter directly, which could be a vulnerability if an MCP tool exposes this functionality without robust sanitization of the path. The `RestApi::rest_callable` function dynamically constructs REST API routes and dispatches requests, relying on WordPress's internal API validation for safety.

Similar Servers

Stats

Interest Score47
Security Score7
Cost ClassLow
Avg Tokens750
Stars59
Forks17
Last Update2025-12-01

Tags

WordPressPluginMCPREST APIAI