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

genieacs-nbi-mcp

v0.1.1

Published

Read-only MCP server for GenieACS (TR-069 ACS) NBI: inspect CPE/ONT devices, faults, tasks and files without any write access.

Readme

genieacs-nbi-mcp

CI npm License: Apache-2.0

Let your LLM look at your TR-069 fleet, without letting it touch a single CPE.

genieacs-nbi-mcp is a strictly read-only Model Context Protocol server for the GenieACS northbound interface (NBI). It helps ISP/NOC staff ask an AI assistant questions such as which ONTs have not informed for a week, why does this CPE fault on provisioning, what firmware is on file — using only HTTP GET.

Status: v0.1, not yet published to npm. Install from source or a release tarball until then. Independent project; not affiliated with GenieACS. Sibling of netscope-mcp.

Why read-only

The GenieACS NBI can reboot devices, factory-reset them, rewrite Wi-Fi settings and delete files. A hallucinated task is a customer outage. This server makes observation the only mode:

  • GET only. The HTTP verb is a constant in the client; there is no code path that sends anything else.
  • Guard before the network. POST/PUT/PATCH/DELETE, /devices/{id}/tasks, tag paths and the connection_request flag are refused by policy before a request is built. Unknown collections, .., double slashes and absolute URLs are refused too.
  • Secrets stay home. Wi-Fi keys, PPP/ACS passwords, SNMP communities and password-like assignments in provision scripts are masked; the NBI credentials are scrubbed from every output. Redaction is best-effort and based on parameter names (a heuristic, not a comprehensive guarantee); redact: false disables it.
  • Bounded. Row limits, output size limit, body cap, timeouts, no redirects followed.

The guard is one layer. Also give this server an NBI account/proxy that only allows GET (see SECURITY.md).

Quickstart

git clone https://github.com/tempatsimpanku-pixel/genieacs-mcp && cd genieacs-mcp
npm ci && npm run build

export GENIEACS_NBI_URL=http://acs.example.net:7557
# export GENIEACS_NBI_USER=noc GENIEACS_NBI_PASS=...   # only if the NBI needs basic auth
node dist/cli.js --check          # validates config and pings the NBI

Once published: npx genieacs-nbi-mcp --check.

MCP client entry (stdio):

{
  "mcpServers": {
    "genieacs": {
      "command": "npx",
      "args": ["-y", "genieacs-nbi-mcp"],
      "env": { "GENIEACS_NBI_URL": "http://acs.example.net:7557" }
    }
  }
}

HTTP mode (shared server, bearer token ≥ 32 chars, loopback by default):

GENIEACS_MCP_TOKEN="$(openssl rand -hex 32)" genieacs-nbi-mcp --http 127.0.0.1:8080

Tools

| Tool | NBI call | Purpose | |---|---|---| | acs_devices | GET /devices | List/search devices (query, projection, limit, skip, sort) | | acs_device | GET /devices?query={"_id":…} | One device by exact _id | | acs_tasks | GET /tasks | Queued operations (optionally per device) | | acs_faults | GET /faults | Failed sessions / provisions | | acs_files | GET /files | Firmware and config file metadata | | acs_presets | GET /presets | Preset definitions | | acs_provisions | GET /provisions | Provision scripts (secrets masked) | | acs_read | GET <path> | Raw GET on a readable path; any other verb is refused |

Details and examples: docs/TOOLS.md. Configuration: docs/CONFIG.md.

Compatibility

| Component | Supported | |---|---| | Node.js | >= 20 (CI: 22, 24; runtime smoke on 20) | | GenieACS NBI | 1.2.x REST API (/devices, /tasks, /faults, /files, /presets, /provisions, /virtualparameters, /objects) — tested against a mock; verify on your version with --check | | MCP transports | stdio, Streamable HTTP (stateless, JSON responses) | | MCP clients | any client that speaks MCP 2025 revisions (Claude, Codex, Cursor, …) | | Write operations | none, by design |

Development

npm ci && npm run typecheck && npm run lint && npm test && npm run build

Tests use a local mock NBI; they never contact a real ACS. See CONTRIBUTING.md.

License

Apache-2.0. See LICENSE and NOTICE. Indonesian version: README.id.md.