npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mhdd_24/netextender-mcp

v1.0.1

Published

MCP server for SonicWall NetExtender VPN connect, disconnect, and status via nxcli

Readme

@mhdd_24/netextender-mcp

MCP server for SonicWall NetExtender on Windows. Use it from Cursor or any MCP client to check VPN status, list profiles, connect, and disconnect via nxcli.exe.

Same layout as @mhdd_24/timelog-mcp: config-driven tools, env defaults, stdio MCP server.

Full documentation: docs/WIKI.md


Tools

| Tool | Purpose (timelog equivalent) | |------|------------------------------| | vpn_status | Check connection (whoami) | | list_vpn_profiles | List saved profiles (list_time_types) | | vpn_connect | Connect VPN (log_time) | | vpn_disconnect | Disconnect VPN |


Prerequisites

| Requirement | Notes | |-------------|--------| | Windows | Uses SonicWall nxcli.exe (NetExtender 10.3+) | | NetExtender installed | Default path: C:\Program Files\SonicWall\SSL-VPN\NetExtender\nxcli.exe | | VPN credentials | Set in MCP env or pass per tool call |


Project layout

netextender-mcp/
  src/
    index.ts
    env.ts
    config/netextender.config.ts
    interfaces/netextender.ts
    services/netextenderCliService.ts
    tools/
      index.ts
      statusTool.ts
      listProfilesTool.ts
      connectTool.ts
      disconnectTool.ts
  package.json
  tsconfig.json
  README.md

Local development

cd netextender-mcp
npm install
npm run build
npm run dev

Copy .env.example to .env for local testing.


Configure Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "netextender": {
      "command": "node",
      "args": ["C:/codeBase/netextender-mcp/dist/index.js"],
      "env": {
        "NETEXTENDER_CLI": "C:/Program Files/SonicWall/SSL-VPN/NetExtender/nxcli.exe",
        "NETEXTENDER_PROFILE": "<your-profile>",
        "NETEXTENDER_SERVER": "host:port",
        "NETEXTENDER_DOMAIN": "<your-domain>",
        "NETEXTENDER_USERNAME": "<your-vpn-username>",
        "NETEXTENDER_PASSWORD": "<your-vpn-password>",
        "NETEXTENDER_ALWAYS_TRUST": "true"
      }
    }
  }
}

After publishing to npm:

"netextender": {
  "command": "npx",
  "args": ["-y", "@mhdd_24/netextender-mcp"],
  "env": { ... }
}

Restart Cursor after saving.


Environment variables

| Variable | Required | Purpose | |----------|----------|---------| | NETEXTENDER_CLI | No* | Path to nxcli.exe (auto-detected) | | NETEXTENDER_PROFILE | No | Default connection profile name | | NETEXTENDER_SERVER | No | Default host:port | | NETEXTENDER_DOMAIN | No | Default VPN domain | | NETEXTENDER_USERNAME | No | Default username | | NETEXTENDER_PASSWORD | No | Default password | | NETEXTENDER_ALWAYS_TRUST | No | true to pass --always-trust |

* Required if NetExtender is not in the default install path.

Never commit VPN passwords. Keep them in MCP env only.


Usage in chat

Run vpn_status on the netextender MCP.

vpn_connect using profile <your-profile>.

vpn_disconnect

list_vpn_profiles


Notes

  • nxcli connection list may return current session status while connected (SonicWall CLI behavior).
  • OTP / Duo / SAML flows may need interactive approval outside MCP.
  • Uses nxcli from NetExtender 10.3+ (not legacy necli.exe).

License

ISC