@ai-growth/wordpress-mcp
v1.0.6
Published
MCP Server for WordPress AI Growth SEO plugin - Bridge between WordPress REST API and Model Context Protocol with enhanced prominence and fixed data structure compatibility
Readme
@ai-growth/wordpress-mcp
MCP Server for WordPress AI Growth SEO Plugin - Bridge between WordPress REST API and Model Context Protocol (MCP)
This package provides a MCP server that connects AI agents (like Cursor IDE) to WordPress sites running the AI Growth SEO plugin, enabling seamless SEO analysis and content discovery through the Model Context Protocol.
🚀 Features
- 🔧 4 MCP Tools:
discover_content,get_content,analyze_seo,get_seo_recommendations - 📡 STDIO Transport: Compatible with Cursor IDE and other MCP clients
- 🌐 WordPress Integration: Direct connection to WordPress REST API
- ⚙️ Configurable: Environment-based configuration for any WordPress site
- 🎯 SEO Focus: Specialized tools for SEO analysis and optimization
📦 Installation
Via NPX (Recommended)
npx @ai-growth/wordpress-mcpGlobal Installation
npm install -g @ai-growth/wordpress-mcp🔧 Configuration
Environment Variables
| Variable | Description | Default | Required |
|----------|-------------|---------|----------|
| WORDPRESS_BASE_URL | WordPress site URL | https://blog.vitalizen.app | ✅ |
| MCP_NAMESPACE | MCP API namespace | ai-growth-seo/v1/mcp | ❌ |
Example Configuration
export WORDPRESS_BASE_URL="https://your-wordpress-site.com"
npx @ai-growth/wordpress-mcp🎯 Usage with Cursor IDE
1. Configure .cursor/mcp.json
{
"mcpServers": {
"wordpress-ai-growth": {
"command": "npx",
"args": ["-y", "@ai-growth/wordpress-mcp"],
"env": {
"WORDPRESS_BASE_URL": "https://your-wordpress-site.com"
}
}
}
}2. Restart Cursor IDE
- Close all Cursor windows
- Restart Cursor completely
- Wait for MCP server initialization
3. Verify Connection
You should see: wordpress-ai-growth ✅ 4 tools enabled
🔨 Available Tools
1. discover_content - Discover WordPress posts and pages with SEO metadata
2. get_content - Get detailed content and SEO data for a specific post
3. analyze_seo - Perform SEO analysis on a WordPress post
4. get_seo_recommendations - Get SEO improvement recommendations
🧪 Testing
MCP Inspector
npx @modelcontextprotocol/inspector npx @ai-growth/wordpress-mcp📋 Requirements
- WordPress Plugin: AI Growth SEO
>= 1.7.4 - Node.js:
>= 18.0.0 - WordPress:
>= 5.0
📝 License
MIT License - see LICENSE file for details.
🔗 Links
- NPM: https://www.npmjs.com/package/@ai-growth/wordpress-mcp
- GitHub: https://github.com/ai-growth/wordpress-mcp
- AI Growth: https://ai-growth.com/
Made with ❤️ by AI Growth
