Skip to main content

How to Connect Swipe Pages MCP to Codex Desktop

Follow these steps to connect the Swipe Pages MCP directly into the Codex Desktop app

Written by Swipe Pages

Step 1: Generate Your MCP API Key

  1. Open your AI Page Builder dashboard and click on Settings in the bottom-left corner.

  2. Click on MCP Keys.

  3. Give your key a name and click generate.

  4. Important: Copy the API Key and save it somewhere safe; you will need it in the next steps

Step 2: Open Your Codex Settings

  1. Go to Settings > MCP

  2. Add the URL provided from the above step and API key

  3. Save the MCP Setup.

Note: You will see the MCP which says Authenticate. which you can ignore as you used API key the authentication will automatically happen.
​
Please close the Codex completely and wait for few seconds to update its configuration and open the Codex again.

Step 3: Test the Connection

  1. Open a chat window in Codex.

  2. Type the testing prompt to make sure Codex sees your tools:

    "Give me the Tools you have from Swipe pages MCP"

Codex will list all available Swipe Pages building tools, confirming that the setup was successful!

Here are Example of what you can ask Codex to do for your Ai Page.

Once the connector is active, you can type natural prompts to manage your landing pages. Here are some examples of what you can do:


1. Audit and Review Your Pages

You can ask Claude to look through your project, find specific pages, or analyze your branding.

  • Prompt: "List all the pages in my project and find the one titled 'Summer Sale'."

  • Prompt: "Take a look at my homepage mysite.com branding using the scrape tool, and tell me what fonts and primary colors we are using."

2. Make Quick Text Edits

Instead of opening the builder, you can ask Claude to update text or change headers instantly.

  • Prompt: "Find the main hero block on my pricing page and change the headline from 'Start for Free' to 'Get Started Risk-Free for 14 Days'."

  • Prompt: "Look at the block with ID block_123 and fix the typo in the second paragraph."

3. Build & Move Sections

You can ask Claude to reorganize a page or insert new sections using existing HTML templates.

  • Prompt: "Insert a new call-to-action block right after the testimonial section on my landing page."

  • Prompt: "Rewrite the entire features block (block_456) to change it from a two-column layout to a three-column layout."

4. Check Availability & Publish

Claude can help you manage your links and push your pages live when they are ready.

  • Prompt: "Check if the URL mysite.com/blackfriday is available. If it is, go ahead and publish my promo page there."

  • Prompt: "Update the slug of my registration page to /webinar-thank-you and publish it."

5. Safety First (Destructive Actions)

For security, Claude will always ask for your explicit confirmation before deleting anything.

  • Prompt: "Delete the page titled 'Old Draft 2024'." (Claude will ask: "Are you sure you want to permanently delete this page? This cannot be undone.")

Cost-Saving Tip:

Running Swipe Pages through Codex uses your Codex subscription or It work on your Free Tier if you don't have subscription but it will be limit on free tier. This means you won't have to spend extra on your own OpenRouter tokens for BYOK users or Genie Credits for Subscription Users to build your pages!

Did this answer your question?