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

bitdefender-gravityzone-mcp

v1.0.1

Published

MCP Server for Bitdefender GravityZone Cloud API

Readme

Bitdefender GravityZone MCP Server

MCP server for Bitdefender GravityZone Cloud API using TypeScript and stdio transport.

Supported services

  • bitdefender_server_info
  • bitdefender_accounts
  • bitdefender_companies
  • bitdefender_network
  • bitdefender_policies
  • bitdefender_incidents
  • bitdefender_licensing
  • bitdefender_reports
  • bitdefender_sandbox_report
  • bitdefender_push

Each service tool accepts:

  • method: GravityZone JSON-RPC method name from the allowed list
  • params: raw JSON object forwarded to GravityZone
  • version: API version, when the service supports multiple versions

Environment variables

Copy .env.example to .env and set:

BITDEFENDER_API_KEY=your_api_key_here
BITDEFENDER_API_BASE_URL=https://cloud.gravityzone.bitdefender.com/api

If you already keep secrets in an external env file, do not hardcode them in source code or MCP config. Instead, point the server at that file with BITDEFENDER_ENV_FILE.

For EU cloud, use:

BITDEFENDER_API_BASE_URL=https://cloudgz.gravityzone.bitdefender.com/api

Install

npm install
npm run build

Run locally

BITDEFENDER_API_KEY=your_api_key_here npm run dev

Run on demand with pnpm dlx

After the first npm release, you can run it without keeping a local clone:

pnpm dlx bitdefender-gravityzone-mcp

Recommended MCP config after publish:

{
  "mcpServers": {
    "bitdefender-gravityzone": {
      "command": "pnpm",
      "args": ["dlx", "bitdefender-gravityzone-mcp"],
      "env": {
        "BITDEFENDER_ENV_FILE": "/home/rookief/.env/bitdefender.env"
      }
    }
  }
}

If you publish under a scope, replace the package name accordingly, for example @your-scope/bitdefender-gravityzone-mcp.

Release flow

The first release means the first public package version and GitHub release, for example v1.0.0.

This repository is set up so that:

  • pushing a tag like v1.0.0 triggers npm publish
  • the workflow checks that the tag matches package.json version
  • GitHub release notes are generated automatically

Recommended: use npm Trusted Publishing with GitHub Actions OIDC instead of storing NPM_TOKEN.

That means:

  • no long-lived npm token stored in GitHub secrets
  • npm trusts this GitHub repository/workflow to publish
  • safer for multiple projects because each repo can be explicitly authorized

One-time npm setup is still required in npm package settings to trust this repository.

Fallback option: if you do not want OIDC yet, you can still use a repo secret named NPM_TOKEN and switch the workflow back to token-based publish.

Release commands:

npm version patch
git push origin main --follow-tags

If you want to release 1.0.0 exactly and the package already has that version, create and push the tag directly:

git tag v1.0.0
git push origin v1.0.0

Example MCP config

Add this server to your MCP client config:

{
  "mcpServers": {
    "bitdefender-gravityzone": {
      "command": "node",
      "args": ["/absolute/path/to/bitdefender/dist/index.js"],
      "env": {
        "BITDEFENDER_ENV_FILE": "/absolute/path/to/bitdefender.env"
      }
    }
  }
}

Example for your WSL file path:

{
  "mcpServers": {
    "bitdefender-gravityzone": {
      "command": "node",
      "args": ["/absolute/path/to/bitdefender/dist/index.js"],
      "env": {
        "BITDEFENDER_ENV_FILE": "/home/rookief/.env/bitdefender.env"
      }
    }
  }
}

Use the real Linux path in WSL, not the vscode-remote://... URI.

Tool usage examples

Get accounts list

{
  "method": "getAccountsList",
  "params": {
    "page": 1,
    "perPage": 50
  }
}

Get endpoints list

{
  "method": "getEndpointsList",
  "version": "v1.1",
  "params": {
    "page": 1,
    "perPage": 100
  }
}

Get license info

{
  "method": "getLicenseInfo",
  "params": {}
}

Notes

  • Authentication uses HTTP Basic Auth with API_KEY: encoded as base64.
  • GravityZone Cloud API uses JSON-RPC 2.0 over HTTP POST.
  • Rate limiting is enforced by Bitdefender. If you hit a limit, the API returns 429 with Retry-After.
  • This server forwards params as-is so you can use new or niche API fields without changing the MCP code.