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.

Enter your full WordPress site URL (including https://)

Your WordPress admin username

Generate in WordPress: Users → Profile → Application Passwords

Your MCP Server (wordpress-mcp-server.js)

📦 Installation Instructions:

⚠️ Prerequisites: Install Node.js First!
  1. Download Node.js from https://nodejs.org/
  2. Install the LTS version (recommended)
  3. Verify installation: Open terminal and run node --version
  4. You should see a version number like v20.x.x
Step 1: Save the MCP Server File

Windows Users:

  1. Click "Copy to Clipboard" above
  2. Open Notepad
  3. Paste the code (Ctrl+V)
  4. Click File → Save As
  5. Save as: wordpress-mcp-server.js
  6. Save location: %USERPROFILE% (your user folder, e.g., C:\Users\YourName\)
  7. File type: All Files (*.*)
  8. (Optional) Set permissions - Open Command Prompt and run:
    icacls "%USERPROFILE%\wordpress-mcp-server.js" /grant "%USERNAME%:(RX)"

Mac/Linux Users:

  1. Click "Copy to Clipboard" above
  2. Open terminal
  3. Create the file:
    nano ~/wordpress-mcp-server.js
  4. Paste the code (Cmd+V or Ctrl+Shift+V)
  5. Save and exit (Ctrl+X, then Y, then Enter)
  6. Make it executable:
    chmod +x ~/wordpress-mcp-server.js
Step 2: Configure Cursor IDE (Easy Method - Recommended)
  1. Open Cursor
  2. Click the ⚙️ Settings icon (bottom left corner)
  3. Navigate to Tools & MCP
  4. Click Add a Custom MCP Server
  5. Copy the configuration from below and paste it into the JSON editor
  6. Click Save
  7. Quit Cursor completely and reopen it

Configuration to paste:



					
Alternative: Manual mcp.json File Method (Click to expand)

Windows:

  1. Open Notepad
  2. Copy the configuration from above
  3. Paste into Notepad
  4. Click File → Save As
  5. Navigate to: C:\Users\YourName\.cursor\ (create the folder if it doesn't exist)
  6. Save as: mcp.json
  7. File type: All Files (*.*)

Mac/Linux:

  1. Open terminal
  2. Create or edit the config file:
    nano ~/.cursor/mcp.json
  3. Paste the configuration
  4. Save and exit (Ctrl+X, then Y, then Enter)
Step 3: Verify & Start Using!
  1. After reopening Cursor, go to Settings → Tools & MCP
  2. You should see "wordpress" with "9 tools enabled"
  3. If you see errors or "0 tools", click the server name to view logs for troubleshooting
  4. Press Cmd+L (Mac) or Ctrl+L (Windows) to open Claude chat
  5. Try asking: "Show me the latest posts from my WordPress site"
  6. 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.