stifli-flex-mcp
by estebanstifli
Overview
Transforms a WordPress site into an AI-powered Model Context Protocol (MCP) server, exposing 117 tools for AI agents like ChatGPT and Claude to manage WordPress and WooCommerce content.
Installation
No command providedEnvironment Variables
- SFLMCP_DEBUG
Security Notes
The plugin contains several instances of direct database queries (e.g., using `$wpdb->query`, `$wpdb->get_var`, `$wpdb->delete`, `$wpdb->update`) without consistently utilizing `$wpdb->prepare()` for dynamic parts of the SQL, as indicated by multiple 'WordPress.DB.PreparedSQL.NotPrepared' errors in the `checktest.md` file. While some dynamic table names are derived from internal WordPress variables, this pattern can lead to SQL injection vulnerabilities if user input were to influence any part of these unprepared queries. The 'fetch' tool allows making HTTP requests to arbitrary URLs. Although it requires an authenticated user with 'edit_posts' capability and client-side confirmation, the lack of a more granular server-side capability check specifically for network access introduces a potential Server-Side Request Forgery (SSRF) risk. The use of `maybe_unserialize()` for messages stored in the plugin's queue table, while seemingly processing internal plugin-generated content, is a generally discouraged practice that could introduce PHP object injection vulnerabilities if the serialized data ever becomes controllable by an attacker. No hardcoded secrets or obvious obfuscation were found, and authentication is delegated to WordPress Application Passwords, which is a good practice.
Similar Servers
mcp-server
This plugin implements a Model Context Protocol (MCP) server for WordPress, exposing WordPress's data and functionality through its REST API to AI clients.
php-mcp
Facilitates communication and integration between LLM applications and external data sources or tools by implementing the Model Context Protocol (MCP).
mcp-for-woocommerce
Connects WordPress and WooCommerce to AI systems via Model Context Protocol, enabling AI agents to query and manage e-commerce data (products, orders, categories, shipping, payments, taxes) and content (posts, pages).
mcp-ai-wpoos
Provides a stable API and server framework for integrating AI models and tools into WordPress, enabling advanced AI assistant capabilities and workflow automation.