PSMCP
Verified Safeby astrocyte
Overview
A comprehensive WordPress management system for SST.NYC, combining MCP server tools, LearnDash LMS automation, WooCommerce integration, SEO analysis, and affiliate program management.
Installation
bash -c "source .venv/bin/activate && python src/server.py"Environment Variables
- WP_SITE_URL
- WP_SSH_HOST
- WP_SSH_USER
- WP_SSH_KEY_PATH
- WP_SSH_PASSWORD
- WP_REMOTE_PATH
- WP_API_USER
- WP_API_PASSWORD
- MAILCHIMP_API_KEY
- MAILCHIMP_SERVER
- MAILCHIMP_LIST_ID
Security Notes
The Python MCP server itself is well-structured, utilizing secure libraries (paramiko for SSH, requests for HTTP/APIs) with timeouts and input validation via Pydantic/dataclasses. Remote command execution via wp-cli over SSH is an inherently powerful operation, but it is sandboxed to 'cd {remote_path} && wp {command}', and wp-cli itself handles subcommand sanitization. Input schemas for MCP tools further limit arbitrary command injection. The included PHP plugins for affiliate and class registration demonstrate strong security practices, including nonce and capability checks, robust input sanitization, secure file upload/serving (with path traversal prevention, file type/size/MIME validation, and .htaccess protection), and prepared statements for database interactions. A minor information leak risk exists where some error logs might contain PII, but no direct exploitation vector is apparent.
Similar Servers
dataforseo-mcp-server
A Model Context Protocol (MCP) server that enables LLMs to interact with DataForSEO and Local Falcon SEO APIs for tasks like keyword research, backlink analysis, and SERP data retrieval.
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.
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.