Cursor logo

Cursor Integration

Cursor + WordPress, with safer writes by default

Respira adds a safety contract between Cursor and your site. Cursor can move fast, while duplicate-before-edit and approval flow keep production stable.

Setup

Choose your setup mode

  1. Open your project in Cursor.
  2. Create .cursor/mcp.json if it does not exist.
  3. Paste the config below and set your site URL + API key.
  4. Restart Cursor and ask: "List WordPress pages from respira-wordpress."
{
  "mcpServers": {
    "respira-wordpress": {
      "command": "npx",
      "args": ["-y", "@respira/wordpress-mcp-server"],
      "env": {
        "WORDPRESS_URL": "https://yoursite.com",
        "WORDPRESS_API_KEY": "respira_your_api_key"
      }
    }
  }
}

Health check

Recommended first commands

npx @respira/wordpress-mcp-server --setup
npx @respira/wordpress-mcp-server --test

First prompts

Start safe, then scale

  1. "Inspect Home page structure and summarize improvements. No edits yet."
  2. "Duplicate Home page and change only hero headline + CTA copy."
  3. "Validate duplicate and output approval + rollback checklist."

Safety contract reminder

Cursor speed is useful. The goal is not raw speed; the goal is safe speed. Keep duplicate-before-edit and approval-first steps in the prompt for production work.