GadgetBond

  • Latest
  • How-to
  • Tech
    • AI
      • Apple Intelligence
      • Gemini AI
      • Google DeepMind
      • Anthropic
      • Claude AI
      • Claude Code
      • OpenAI
      • ChatGPT
      • Codex
      • Perplexity
      • SpaceXAI
      • Grok AI
      • Microsoft Copilot
      • Meta AI
    • Amazon
    • Apple
    • CES
    • Computing
    • Creators
    • Google
    • Meta
    • Microsoft
    • Mobile
    • NVIDIA
    • Samsung
    • Security
    • Smart Home
    • Sony
    • Xbox
    • YouTube
  • Transportation
    • Audi
    • BMW
    • Cadillac
    • E-Bike
    • Ferrari
    • Ford
    • Honda Prelude
    • Lamborghini
    • McLaren
    • Mercedes
    • Porsche
    • Rivian
    • Tesla
  • Culture
    • Gaming
    • Streaming
    • Apple TV
    • Disney
    • Hulu
    • Marvel
    • HBO Max
    • Netflix
    • Paramount
    • SHOWTIME
    • Spotify
    • Star Wars
Add GadgetBond as a preferred source to see more of our stories on Google.
Font ResizerAa
GadgetBondGadgetBond
  • Latest
  • Tech
  • AI
  • Deals
  • How-to
  • Apps
  • Computing
  • Gaming
  • Mobile
  • Streaming
  • Transportation
Search
  • Latest
  • Deals
  • Buying Guide
  • How-to
  • Features
  • Tech
    • Amazon
    • Apple
    • CES
    • Computing
    • Creators
    • Google
    • Meta
    • Microsoft
    • Mobile
    • NVIDIA
    • Samsung
    • Security
    • Smart Home
    • Sony
    • Xbox
    • YouTube
  • AI
    • Apple Intelligence
    • Gemini AI
    • Google DeepMind
    • Anthropic
    • Claude AI
    • Claude Code
    • OpenAI
    • ChatGPT
    • Codex
    • Perplexity
    • SpaceXAI
    • Grok AI
    • Microsoft Copilot
    • Meta AI
  • Transportation
    • Audi
    • BMW
    • Cadillac
    • E-Bike
    • Ferrari
    • Ford
    • Lamborghini
    • McLaren
    • Mercedes
    • Porsche
    • Rivian
    • Tesla
  • Culture
    • Gaming
    • Streaming
    • Apple TV
    • Disney
    • Hulu
    • Marvel
    • HBO Max
    • Netflix
    • Paramount
    • SHOWTIME
    • Spotify
    • Star Wars
Follow US
AIAppsHow-toSecurityTech

How to enable the ExpressVPN MCP server on your AI tools

The ExpressVPN MCP server is in beta — and it's already one of the most useful developer features the VPN has ever shipped.

By
Shubham Sawarkar
Shubham Sawarkar's avatar
ByShubham Sawarkar
Editor-in-Chief
I’m a tech enthusiast who loves exploring gadgets, trends, and innovations. With certifications in CISCO Routing & Switching and Windows Server Administration, I bring a sharp...
Follow:
- Editor-in-Chief
Mar 10, 2026, 6:11 AM EDT
Share
GadgetBond is reader-supported. We may earn a commission from purchases through our links. Learn more
Person typing on a MacBook at a wooden desk with the ExpressVPN app open on screen beside a dark code editor window, illustrating AI-assisted VPN control in a real-world workspace.
Image: ExpressVPN
SHARE

ExpressVPN just made something pretty cool — you can now hook your VPN directly into AI developer tools like Claude Code, Codex, Cursor, VS Code, and more, all thanks to the Model Context Protocol (MCP). No more alt-tabbing to the VPN app. Your AI assistant handles it.

Here’s everything you need to know to get it running.


What is the ExpressVPN MCP server?

The ExpressVPN MCP server (currently in beta) lets your AI coding tools — think Claude Code, Codex, Cursor, VS Code, or LM Studio — read and control your VPN connection using natural language or programmatic commands. We’re talking connecting/disconnecting, switching server regions, changing protocols, running speed tests, and even toggling ad/malware blocking — all without ever opening the VPN app itself.​

It’s built on the Model Context Protocol, an open standard that allows AI assistants to interact with external tools and services. Anthropic introduced MCP in late 2024, and it’s been gaining rapid adoption across the developer ecosystem.

Related /

  • What is the ExpressVPN MCP server
  • ExpressVPN is the first to plug VPN infrastructure into Anthropic’s MCP ecosystem

Before you begin: prerequisites

You’ll need a few things checked off first:​

  • An active ExpressVPN subscription (1-year or 2-year plan on Basic, Advanced, or Pro tier — or ExpressVPN for Teams)
  • The latest ExpressVPN beta desktop app (macOS, Windows, or Linux)
  • An MCP-compatible AI client that supports HTTP-based MCP servers

Step 1: Enable MCP in ExpressVPN

  1. Open the ExpressVPN desktop app
  2. Go to Profile → Settings
  3. Toggle on “Enable MCP Server”
Screenshot of the ExpressVPN desktop app showing an active VPN connection to USA–Chicago with an “MCP Server Enabled” banner, connection timer, map view, and settings panel highlighting the toggled “Enable MCP Server” option with a local URL.
Image: ExpressVPN

That’s it. The local MCP server starts automatically in the background. It runs on 127.0.0.1:20090 by default — but check the app, as your machine may use a different port.​


Step 2: Connect your AI tool

Pick your tool below and follow the one-time setup:

Claude Code

Run this in your terminal:

claude mcp add --transport http expressvpn http://127.0.0.1:20090/mcp

Codex

Add the following to your Codex MCP configuration file:

{
  "mcpServers": {
    "expressvpn": {
      "url": "http://127.0.0.1:20090/mcp"
    }
  }
}

Cursor

Go to Settings → Tools & MCP → + Add custom MCP, then paste:

{
  "mcpServers": {
    "expressvpn": {
      "url": "http://127.0.0.1:20090/mcp",
      "headers": {}
    }
  }
}

VS Code

Open the Command Palette (Shift+Cmd+P), run MCP: Add Server, and use:

{
"servers": {
"expressvpn": {
"type": "http",
"url": "http://127.0.0.1:20090/mcp"
}
}
}

LM Studio

Go to the right sidebar → Integrations tab → Install → Edit mcp.json and add the same config as Cursor above.

Any other tool

If your tool isn’t listed, just manually add http://127.0.0.1:20090/mcp it as an HTTP-based MCP server.


What can your AI actually do with it?

Once connected, your AI assistant can:​

  • Connect/disconnect the VPN
  • Switch regions (e.g., “connect to Germany before running integration tests”)
  • Check your real and VPN IP addresses
  • Change VPN protocols (Lightway, OpenVPN, WireGuard)
  • Enable Network Lock (kill switch)
  • Set Split Tunnel rules per app
  • Toggle Threat Manager — ad blocking, tracker blocking, malicious site blocking
  • Run speed tests and diagnostics

It’s genuinely useful for developers doing geo-based testing or QA work across regions.


Is it safe?

Yes, and ExpressVPN is pretty upfront about the design:​

  • The server is local only — it never talks to the internet, only your own machine
  • Your account credentials are never passed through the MCP interface
  • It’s opt-in — disabled by default
  • You can turn it off instantly by toggling MCP off in Settings

Quick troubleshooting

  • Can’t connect? Make sure the ExpressVPN app is open and the toggle is on. Run curl http://127.0.0.1:20090/mcp in your terminal to verify the server is live.​
  • Wrong port? The app shows the actual port when you enable MCP — use that instead of 20090 if it differs.
  • AI using curl instead of MCP tools? Restart the AI client and re-run the MCP add command.​
  • Firewall blocking it? On Windows, add an inbound rule for TCP port 20090. On macOS, check Privacy & Security → Local Network and grant permission to your terminal app.​

The ExpressVPN MCP server is a neat step toward VPN management becoming a native part of AI-assisted developer workflows. If you’re already living inside tools like Cursor or Claude Code, it’s worth the five-minute setup.


Discover more from GadgetBond

Subscribe to get the latest posts sent to your email.

Topic:ExpressVPN
Leave a Comment

Leave a ReplyCancel reply

Most Popular

How to sign up for Amazon Prime Access — and cut your Prime bill in half
Amazon Prime still offers free trials in 2026 — if you know where to look
Early Prime deal knocks $75 off Echo Show 8
How to shop Prime Big Deal Days 2026 without a Prime membership
Samsung slashes prices on stunning 5K monitor in rare deal

Also Read

A smiling person leans on a wooden railing outdoors, holding a purple Amazon Kindle in one hand and a mug in the other.

Kindle 2026 vs. 2024: What’s new in Amazon’s latest e-reader?

A look at the front and the back of the Apple's M4 MacBook Pro in Space Black and Silver.

Apple adds touch gesture code to macOS ahead of rumored touchscreen Mac

Person taking an ECG reading with Apple Watch Series 4.

Apple ordered to pay another $184 million in interest over Apple Watch patent infringement

Illustrated image of artificial intelligence (AI)

AI’s biggest problem may be the web it is changing

A horizontal side profile of a burgundy iPhone 18 Pro lying flat against a black background, set in front of large, reflective metallic text spelling "PRO" with subtle iridescent light refractions.

Apple’s flagship iPhones nearly got more RAM

OneDrive icon.

OneDrive support ending for iPhone XR, XS, XS Max, and iPad 7

Canon Ivy 2 Mini Photo Printer

Canon Ivy 2 Mini Photo Printer drops to $90 on Amazon

Edifier ES850NB headphones

Edifier ES850NB headphones fall to $113 for Prime Big Deal Days

Company Info
  • Homepage
  • Support my work
  • Latest stories
  • Company updates
  • GDB Recommends
  • Daily newsletters
  • About us
  • Contact us
  • Write for us
  • Editorial guidelines
Legal
  • Privacy Policy
  • Cookies Policy
  • Terms & Conditions
  • DMCA
  • Disclaimer
  • Accessibility Policy
  • Security Policy
  • Do Not Sell or Share My Personal Information
Socials
Follow US

Disclosure: We love the products we feature and hope you’ll love them too. If you purchase through a link on our site, we may receive compensation at no additional cost to you. Read our ethics statement. Please note that pricing and availability are subject to change.

Copyright © 2026 GadgetBond. All Rights Reserved. Use of this site constitutes acceptance of our Terms of Use and Privacy Policy | Do Not Sell/Share My Personal Information.