Hot Line:

+1 (917) 730-2010

AI-Powered Web Development, SEO, Shopify & WordPress — Get a Free Consultation Today. Get Started

Tutorials

How To Connect n8n MCP with Antigravity (Step-by-step)

  • 14 Sep, 2026
  • Comments
  • By WebSensePro
How To Connect n8n MCP with Antigravity (Step-by-step)

Stop wasting time manually dragging and dropping nodes in N8n. With the power of N8n’s instance-level MCP and the Antigravity IDE, you can now describe the automation you want and let AI build the entire workflow for you in seconds.

In this step-by-step guide, you’ll learn exactly how to connect Antigravity to your N8n instance using MCP, so you can generate fully functional, published workflows just by typing a prompt.


What Is N8n MCP and Why Does It Matter?

MCP (Model Context Protocol) is a powerful feature in N8n that allows external AI tools and IDEs to connect directly to your N8n instance. Instead of manually building workflows node by node, you can use an AI coding environment like Antigravity IDE to generate complete workflows automatically.

This is a game-changer for anyone who:

  • Wants to build automations faster
  • Is new to N8n and finds drag-and-drop overwhelming
  • Needs to spin up complex workflows without deep technical knowledge

What You’ll Need Before You Start

Before diving in, make sure you have the following:

  • A running N8n instance (self-hosted or cloud)
  • The latest version of N8n (v2.36.8 or newer as of this writing)
  • Antigravity IDE installed and open on your machine
  • An internet connection

Pro Tip: If you don’t have N8n set up yet, you can install it completely free using Google Cloud. Search for a tutorial on installing N8n on Google Cloud to get started at zero cost.


Step-by-Step: Connect Antigravity IDE to N8n Using MCP

Step 1: Update N8n to the Latest Version

The instance-level MCP feature is only available on the latest version of N8n, so this is a critical first step.

  1. Open your N8n dashboard.
  2. Click on Help in the bottom-left corner.
  3. Select About N8n to see your current version number.
  4. Head over to the N8n GitHub Releases page and compare your version with the latest release.
  5. If you’re behind, update your self-hosted instance or let your cloud version update automatically.

Step 2: Enable Instance-Level MCP in N8n

Once you’re on the latest version, it’s time to turn on MCP access.

  1. In your N8n dashboard, click on Settings.
  2. Look for the Instance Level MCP option in the settings menu.
  3. Click on it, then click Enable MCP Access.
  4. You’ll see a Connect Your Client section appear. This is where the magic starts.

Step 3: Generate Your N8n API Access Token

To securely connect Antigravity to your N8n instance, you’ll need an access token.

  1. Under the MCP settings, click on API Key as your connection method.
  2. Click the Generate New Token button.
  3. Copy the token immediately and save it somewhere safe. N8n will only show it once, so you cannot retrieve it again after leaving this page.

Step 4: Copy the JSON Configuration from N8n

Right alongside your access token, N8n provides a JSON configuration snippet that Antigravity needs to communicate with your instance.

  1. Copy the full JSON configuration displayed on the MCP settings page.
  2. Keep your browser tab open, as you’ll be switching back and forth between N8n and Antigravity in the next steps.

Step 5: Open Antigravity IDE and Access MCP Settings

Now let’s jump over to Antigravity.

  1. Open Antigravity IDE on your computer.
  2. Click on the Sidebar to expand it. You’ll see an Agent section.
  3. In the Agent panel, click on the three dots (⋯) menu icon.
  4. Select MCP Servers from the dropdown.
  5. A list of available MCP servers will appear. Search for “N8n” and you’ll notice it’s not listed by default.
  6. Click Manage MCP Servers, then choose View Raw Config.

This opens the raw JSON configuration file where you’ll add your N8n connection.


Step 6: Paste Your N8n Configuration into Antigravity

Now it’s time to link the two tools together.

  1. In the raw config file inside Antigravity, paste the JSON configuration you copied from N8n.
  2. Find the placeholder that says access_token (or similar) in the JSON.
  3. Replace it with the actual access token you generated in Step 3.
  4. Save the JSON file.

Step 7: Refresh Antigravity’s MCP Servers

With your config saved, go back to the Manage MCPs panel in Antigravity and hit Refresh.

You should now see N8n appear in the list of available MCP servers, along with all the tools it exposes, including options to:

  • Search workflows
  • Create new workflows
  • Execute workflows
  • And 36 more tools (39 total)

If N8n shows up with all its tools listed, you’re successfully connected.


How to Use Antigravity to Auto-Generate an N8n Workflow

Now for the fun part: let AI do the heavy lifting.

Example: Build a Website Uptime Monitor Workflow

  1. Inside Antigravity, start a new conversation.
  2. Select your preferred AI model (in this example, Gemini).
  3. Type a prompt describing the workflow you want. For example:“Please create a workflow for monitoring website uptime. This is my website: [your-website-url]”
  4. Antigravity’s AI will ask for permission to use the N8n tools. Click Yes, allow this all the time and hit Submit.

Within seconds, the AI will:

  • Design the workflow nodes automatically
  • Set up a Schedule Trigger that runs every 5 minutes
  • Configure an HTTP Request node to ping your website
  • Add a Slack notification node that fires an alert if your site goes down
  • Publish the workflow directly to your N8n instance with no manual setup required

Verify the Workflow in N8n

Head back to your N8n dashboard and click on Workflows.

You’ll see the newly created workflow listed there, with a timestamp showing when it was last updated. Click on it to open it and you’ll find a complete, fully published, and functional workflow ready to run.

In this uptime monitor example, the workflow includes:

  • Schedule Trigger: runs a check every 5 minutes
  • HTTP Request node: pings your website for a status code
  • Conditional logic: checks if the site returned an error
  • Slack message node: sends an instant alert with the status code and check timestamp if downtime is detected

All of this was built automatically. Zero dragging, zero dropping, zero manual configuration.


Why This Workflow Changes Everything for N8n Users

Before this integration, building workflows in N8n meant:

  • Manually searching for the right nodes
  • Dragging them onto the canvas one by one
  • Configuring each node individually
  • Testing and debugging connections

Now, with Antigravity + N8n MCP, you describe what you want in plain English and get a working automation in under a minute.

This is especially powerful for:

  • Agencies building client automations at scale
  • Solo founders who want automation without hiring developers
  • Developers who want to prototype workflows faster
  • Beginners who are still learning what’s possible with N8n

Frequently Asked Questions

Does this work with both self-hosted and cloud N8n? Yes! The MCP feature is available on both versions. Just make sure you’re on the latest release.

Do I need to pay for Antigravity? Antigravity offers different plans, so check their website for current pricing and free tier options.

Is my access token secure? Your token is only shown once in N8n, so copy it immediately. Treat it like a password: don’t share it or commit it to public code repositories.

What AI models can I use in Antigravity? Antigravity supports multiple models. In this tutorial, Gemini was used, but you can choose whichever model is available in your Antigravity plan.

Can I build other types of workflows, not just uptime monitors? Absolutely. You can prompt Antigravity to build any N8n workflow: email automations, CRM syncs, social media schedulers, lead generation pipelines, and much more.


Final Thoughts

The combination of N8n’s instance-level MCP and Antigravity IDE is one of the most exciting developments for no-code and low-code automation builders right now. You no longer need to be a workflow expert to build powerful automations. You just need to know what you want and type it out.

If you’ve been putting off building N8n automations because the node editor felt intimidating, this is your sign to give it another shot. The barrier is lower than ever.


Found this guide helpful? Share it with your team, bookmark it for later, and drop a comment below letting us know what kind of workflow you’re planning to build first.

4.9/5 · 119 votes
Tags:
  • Antigravity IDE tutorial
  • Google Antigravity 2.0
  • ai overview

Comments

Background Pattern

Want to work with us?

Let’s build your website, grow your traffic, and automate your business with AI.

Background Pattern