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

loxberry-client-mcp

v1.1.0

Published

stdio MCP server exposing LoxBerry client tools (plugins, JSON-RPC, logs)

Readme

loxberry-client-mcp

CI npm License: MIT

stdio Model Context Protocol server that exposes LoxBerry plugin and JSON-RPC operations as tools.

This package is developed in the loxberry-client-library monorepo (packages/loxberry-client-mcp) and published to npm as loxberry-client-mcp. The published tarball includes this README, CHANGELOG, and LICENSE; registry metadata also carries license: MIT from package.json.

Dependencies: package.json pins loxberry-client-library to ^1.0.0 (the core client on npm). Other runtime deps are @modelcontextprotocol/sdk and zod. The monorepo uses a single root package-lock.json; Dependabot (.github/dependabot.yml) opens weekly PRs to bump those packages—merge them like any other dependency update. New npm versions of this package follow semantic-release on main; chore:-only commits do not publish—see RELEASING.md.

Setup

Set environment variables (same as the main CLI):

  • LOXBERRY_BASE_URL — e.g. https://loxberry.local
  • LOXBERRY_USERNAME / LOXBERRY_PASSWORD — when admin login is required
  • If /admin is behind HTTP Basic Auth: LOXBERRY_HTTP_BASIC_USERNAME / LOXBERRY_HTTP_BASIC_PASSWORD, or LOXBERRY_HTTP_BASIC_SAME=1 to reuse the web UI credentials (same as the main library README).

Run

From a git clone (development)

After npm run build:all at the monorepo root:

node packages/loxberry-client-mcp/dist/server.js

After npm install (local or CI)

The package declares a bin: loxberry-client-mcpdist/server.js. You do not need a long node …/dist/server.js path if the package is installed and its node_modules/.bin is on your PATH:

npx loxberry-client-mcp
npm install -g loxberry-client-mcp
loxberry-client-mcp

(-g puts the shim on your global PATH; same idea as npx but persistent.)

Cursor / VS Code mcp.json

1. Local clone (absolute path to server.js) — valid; use forward slashes in JSON on Windows if you like, or escape backslashes (\\). You should pass LoxBerry settings via env so the process does not rely on a shell-loaded .env:

{
  "mcpServers": {
    "loxberry-client-mcp": {
      "type": "stdio",
      "command": "node",
      "args": ["C:/Github/loxberry-client-library/packages/loxberry-client-mcp/dist/server.js"],
      "env": {
        "LOXBERRY_BASE_URL": "https://loxberry.local",
        "LOXBERRY_USERNAME": "admin",
        "LOXBERRY_PASSWORD": "your-password",
        "LOXBERRY_SECURE_PIN": "your-secure-pin",
      }
    }
  }
}

2. After installing from npm — use the published binary name (no path to dist/):

{
  "mcpServers": {
    "loxberry-client-mcp": {
      "type": "stdio",
      "command": "loxberry-client-mcp",
      "args": [],
      "env": {
        "LOXBERRY_BASE_URL": "https://loxberry.local",
        "LOXBERRY_USERNAME": "admin",
        "LOXBERRY_PASSWORD": "your-password"
      }
    }
  }
}

If the global shim is not on the PATH Cursor sees, use the full path to the shim (e.g. %AppData%\\npm\\loxberry-client-mcp.cmd on Windows) or npx:

"command": "npx",
"args": ["-y", "loxberry-client-mcp"]

(-y accepts the install prompt for npx; still set env as above.)

Automated smoke (monorepo)

From the repo root, after npm run build:all:

npm run test:mcp

MCP Inspector

npx @modelcontextprotocol/inspector node packages/loxberry-client-mcp/dist/server.js

Tools

Each tool includes MCP tool annotations (readOnlyHint, destructiveHint, …) so clients can badge or gate calls. That is not a guarantee of safety (hints are advisory). For uninstall we also require an explicit confirmation string (see below).

  • plugins_list — read-only list (annotations: read-only).
  • plugins_upload{ filePath, securePin?, followInstallLog?, installTimeoutMs?, logTailChars? } — installs a plugin; after upload, follows the per-upload tempfile log by default and returns JSON (status, summary, logTail), not raw HTML. Set followInstallLog: false for upload-only metadata plus a short response preview.
  • plugins_uninstall{ pluginId, confirmPhrase, includeHtmlPreview? }confirmPhrase must be exactly UNINSTALL_CONFIRMED. pluginId is matched against plugins_list (md5, folder, or name); if nothing matches, no uninstall HTTP is sent (status: not_installed). If it matches, uninstall runs and the tool re-lists plugins so status: success means the row is actually gone (LoxBerry HTML alone is unreliable). Raw HTML only with includeHtmlPreview: true. Marked destructive in annotations.
  • logs_install{ follow?: boolean } — read install log (read-only).
  • jsonrpc_call{ method, params? } (params is a JSON string) — arbitrary JSON-RPC; use read-only methods when exploring.

Publishing

This package is published separately from loxberry-client-library and depends on it via semver in package.json. Releases are automated from main (see RELEASING.md).