GadgetBond

  • Latest
  • How-to
  • Tech
    • AI
    • Amazon
    • Apple
    • CES
    • Computing
    • Creators
    • Google
    • Meta
    • Microsoft
    • Mobile
    • Samsung
    • Security
    • Xbox
  • Transportation
    • Audi
    • BMW
    • Cadillac
    • E-Bike
    • Ferrari
    • Ford
    • Honda Prelude
    • Lamborghini
    • McLaren
    • Mercedes
    • Porsche
    • Rivian
    • Tesla
  • Culture
    • Apple TV
    • Disney
    • Gaming
    • Hulu
    • Marvel
    • HBO Max
    • Netflix
    • Paramount
    • SHOWTIME
    • Star Wars
    • Streaming
Add GadgetBond as a preferred source to see more of our stories on Google.
Font ResizerAa
GadgetBondGadgetBond
  • Latest
  • Tech
  • AI
  • Deals
  • How-to
  • Apps
  • Mobile
  • Gaming
  • Streaming
  • Transportation
Search
  • Latest
  • Deals
  • How-to
  • Tech
    • Amazon
    • Apple
    • CES
    • Computing
    • Creators
    • Google
    • Meta
    • Microsoft
    • Mobile
    • Samsung
    • Security
    • Xbox
  • AI
    • Anthropic
    • ChatGPT
    • ChatGPT Atlas
    • Gemini AI (formerly Bard)
    • Google DeepMind
    • Grok AI
    • Microsoft Copilot
    • OpenAI
    • Perplexity
    • xAI
  • Transportation
    • Audi
    • BMW
    • Cadillac
    • E-Bike
    • Ferrari
    • Ford
    • Honda Prelude
    • Lamborghini
    • McLaren W1
    • Mercedes
    • Porsche
    • Rivian
    • Tesla
  • Culture
    • Apple TV
    • Disney
    • Gaming
    • Hulu
    • Marvel
    • HBO Max
    • Netflix
    • Paramount
    • SHOWTIME
    • Star Wars
    • Streaming
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
We may get a commission from retail offers. 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

LEGO brings back the Batman Returns Batmobile in brick form

Phonak launches EON, a smaller, smarter hearing aid line

ASUS ROG Archer Suitcase 20 brings silent 360° wheels to carry-on travel

AI companies are buying rare books to destroy them

Signia’s MaX platform launches with Pure C&G MaX

Also Read
Woman using a Apple's 2026 Mac Studio workstation with three displays, video color-grading controls, external drives, and a keyboard in a home office.

Where to preorder the M6 Mac mini and M5 Ultra Mac Studio

2026 Apple Mac mini shown beneath a large display running a video-editing project, with the compact silver desktop positioned beside the lower edge of an iMac-style monitor.

The Mac mini power button is still there, but you won’t care

Apple’s light gray polishing cloth shown in full on a white background, with an embossed Apple logo near the bottom-right corner.

Apple’s $9 polishing cloth is real, useful, and still kind of silly

A sleek, dark 3D render featuring a large, glossy, glass-like '2.0' floating in the center. Below the text is an angled, dark interface panel with a shallow depth of field. The blurred interface displays list items such as 'Clipboard History' and 'AI Chat' on the left, and an 'Open Application' button alongside keyboard shortcuts on the right edge.

The Raycast 2.0 update bridges the macOS and Windows gap

Front view of Apple’s silver Mac Studio desktop, showing two front USB-C ports, an SD card slot, a white status light, and the perforated ventilation grille along the base.

Apple’s Mac Studio gets an M5 Max and M5 Ultra upgrade

Front view of the silver Mac mini showing two USB-C ports, a status light, and a 3.5mm headphone jack above its black vented base.

The new Mac mini has an M6 and an M5 Pro

Apple M6 and M5 Ultra chip graphics shown side by side, with glowing blue-green and purple-pink edges against a white background.

Apple’s M6 and M5 Ultra: the chips powering the AI Mac

ASUS ROG Flux Charger Dock at the center of a white gaming setup, surrounded by a laptop, monitor, handheld console, headset, keyboard, mouse and other ROG accessories.

ASUS ROG Flux Charger Dock splits 260W across laptops and handhelds

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.