MCP Server Generator for Cursor IDE
Generate a Node.js MCP server to connect your WordPress site with Cursor IDE
🎉 Works with FREE Cursor Account!
No Claude subscription required. This MCP server works with the free version of Cursor IDE.
Your MCP Server (wordpress-mcp-server.js)
📦 Installation Instructions:
⚠️ Prerequisites: Install Node.js First!
- Download Node.js from https://nodejs.org/
- Install the LTS version (recommended)
- Verify installation: Open terminal and run
node --version - You should see a version number like
v20.x.x
Step 1: Save the MCP Server File
Windows Users:
- Click "Copy to Clipboard" above
- Open Notepad
- Paste the code (Ctrl+V)
- Click File → Save As
- Save as:
wordpress-mcp-server.js - Save location:
%USERPROFILE%(your user folder, e.g.,C:\Users\YourName\) - File type: All Files (*.*)
- (Optional) Set permissions - Open Command Prompt and run:
icacls "%USERPROFILE%\wordpress-mcp-server.js" /grant "%USERNAME%:(RX)"
Mac/Linux Users:
- Click "Copy to Clipboard" above
- Open terminal
- Create the file:
nano ~/wordpress-mcp-server.js
- Paste the code (Cmd+V or Ctrl+Shift+V)
- Save and exit (Ctrl+X, then Y, then Enter)
- Make it executable:
chmod +x ~/wordpress-mcp-server.js
Step 2: Configure Cursor IDE (Easy Method - Recommended)
- Open Cursor
- Click the ⚙️ Settings icon (bottom left corner)
- Navigate to Tools & MCP
- Click Add a Custom MCP Server
- Copy the configuration from below and paste it into the JSON editor
- Click Save
- Quit Cursor completely and reopen it
Configuration to paste:
Alternative: Manual mcp.json File Method (Click to expand)
Windows:
- Open Notepad
- Copy the configuration from above
- Paste into Notepad
- Click File → Save As
- Navigate to:
C:\Users\YourName\.cursor\(create the folder if it doesn't exist) - Save as:
mcp.json - File type: All Files (*.*)
Mac/Linux:
- Open terminal
- Create or edit the config file:
nano ~/.cursor/mcp.json
- Paste the configuration
- Save and exit (Ctrl+X, then Y, then Enter)
Step 3: Verify & Start Using!
- After reopening Cursor, go to Settings → Tools & MCP
- You should see "wordpress" with "9 tools enabled" ✅
- If you see errors or "0 tools", click the server name to view logs for troubleshooting
- Press Cmd+L (Mac) or Ctrl+L (Windows) to open Claude chat
- Try asking: "Show me the latest posts from my WordPress site"
- Or: "Create a new blog post about AI"
✨ Available Commands:
- Create, update, and delete blog posts
- List and search existing posts
- Manage categories and tags
- Upload images to media library
- Get site information
⚠️ Troubleshooting:
- Error: 'node' is not recognized: Install Node.js from nodejs.org and restart your computer
- If showing "No tools": Make sure Node.js is installed (
node --version) - File location (Windows): Must be in
C:\Users\YourName\wordpress-mcp-server.js - File location (Mac/Linux): Must be in
~/wordpress-mcp-server.js - Application Password format: Remove ALL spaces from the password
- Still not working? Check the MCP server output in Cursor → Settings → MCP Servers → wordpress → Show Output
📝 Note:
No subscription needed! This works with the free version of Cursor. You don't need a Claude Pro or Cursor Pro subscription to use MCP servers.
