panelica-mcp 0.5.1 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  > [Model Context Protocol](https://modelcontextprotocol.io) client.
7
7
 
8
8
  [![npm](https://img.shields.io/npm/v/panelica-mcp?color=CB3837&logo=npm)](https://www.npmjs.com/package/panelica-mcp)
9
- [![Tools](https://img.shields.io/badge/tools-404-blue)](tools/tools.json)
9
+ [![Tools](https://img.shields.io/badge/tools-488-blue)](tools/tools.json)
10
10
  [![Scopes](https://img.shields.io/badge/permission%20scopes-50-8A2BE2)](#permission-scopes)
11
11
  [![Docker](https://img.shields.io/badge/ghcr.io-panelica%2Fpanelica--mcp-2496ED?logo=docker&logoColor=white)](https://github.com/Panelica/panelica-mcp/pkgs/container/panelica-mcp)
12
12
  [![Zero drift](https://img.shields.io/badge/catalogue-auto--generated%20weekly-brightgreen)](#keeping-the-tool-catalogue-current)
@@ -310,7 +310,7 @@ Edit your Claude Desktop config:
310
310
 
311
311
  Save, fully quit Claude Desktop (not just close the window — *Quit*), and
312
312
  re-open it. A new chat will show `panelica` as a connected MCP server with
313
- "404 tools available" (the core set plus three meta tools; set `PANELICA_TOOLSETS=all` for all 404).
313
+ "37 tools available" (the core set plus three meta tools; set `PANELICA_TOOLSETS=all` for all 488).
314
314
 
315
315
  ### Cursor
316
316
 
@@ -457,7 +457,7 @@ this still works — its tools simply show `{status, data}` without field names.
457
457
 
458
458
  ## Tool catalogue
459
459
 
460
- **404 tools** are auto-generated from the panel's live `/v1/api-spec`, so they never
460
+ **488 tools** are auto-generated from the panel's live `/v1/api-spec`, so they never
461
461
  drift from the API. Each tool carries MCP safety annotations
462
462
  (![read-only](https://img.shields.io/badge/-read--only-brightgreen) 181 ·
463
463
  ![mutating](https://img.shields.io/badge/-mutating-orange) 177 ·
@@ -626,7 +626,7 @@ fans out many calls; create the assistant's key with a higher tier if you see
626
626
 
627
627
  | Symptom | Likely cause | Fix |
628
628
  |---------|--------------|-----|
629
- | Client reports "404 tools available" | Server crashed at startup — usually a missing env var | Run `panelica-mcp` once from a shell with the three env vars set; read stderr |
629
+ | Client reports "0 tools available" | Server crashed at startup — usually a missing env var | Run `panelica-mcp` once from a shell with the three env vars set; read stderr |
630
630
  | `401 MISSING_API_KEY` | `PANELICA_API_KEY` not set or wrong header passthrough | Re-check the MCP client config; restart the client after editing |
631
631
  | `401 INVALID_SIGNATURE` | Wrong `PANELICA_API_SECRET`, or clock drift > 5 min | `chronyc tracking` (or `timedatectl status`) on both the MCP host and panel host |
632
632
  | `401 INVALID_TIMESTAMP` | Local clock drift > 5 min | Sync NTP on the MCP host |
package/dist/catalog.js CHANGED
@@ -24,6 +24,9 @@ const REDACTORS = [
24
24
  // Any IPv4 (private or public), with an optional :port.
25
25
  { re: /\b(?:\d{1,3}\.){3}\d{1,3}(?::\d{2,5})?\b/g, sub: "<ip>" },
26
26
  { re: /\b[\w.+-]+@[\w-]+\.[\w.-]+\b/g, sub: "<email>" },
27
+ // A bare "@domain.tld" (catch-all forwarders, sender block rules) has no local
28
+ // part, so the rule above leaves it; the CI leak guard still flags it.
29
+ { re: /(^|[^\w.+-])@[\w-]+\.[\w.-]+\b/g, sub: "$1@<domain>" },
27
30
  { re: /\/opt\/panelica[\w/.-]*/g, sub: "<path>" },
28
31
  { re: /\/home\/[\w.-]+[\w/.-]*/g, sub: "<path>" },
29
32
  { re: /\b(?:pk|sk)_[A-Za-z0-9]{8,}\b/g, sub: "<key>" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "panelica-mcp",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "MCP server exposing the Panelica hosting panel External API to AI assistants. Manage accounts, domains, databases, email, DNS, SSL, FTP, security, and server resources through natural language.",
5
5
  "type": "module",
6
6
  "bin": {