#NAbox 4.1 is available

1 messages · Page 1 of 1 (latest)

hexed crater
#
  • new: Add ASAr2 dashboards from Harvest 25.11
  • new: Moved alerts configuration to /etc/nabox/vmalert for easier customization
  • new: Implement Harvest-MCP
  • new: API tokens are no longer stored in cleartext on disk
  • new: API tokens are created with custom scopes (privilege domains)
  • new: Automatic version check and one-click upgrade for Harvest and NAbox
  • new: Add configuration for http proxy
  • Harvest 25.11.0 (new deployments only)
  • Grafana 12.2.1
  • Flatcar Container Linux 4459.2.0

https://nabox.org/downloads/

regal loom
#

Congratulations on the new release! Update run smooth.
I have a couple of questions regarding MCP. Is there any documentation available for MCP and for debugging it? I’m unable to connect via OpenWebUI or via curl.

teal comet
#

@hexed crater can add more details w.r.t to NABox implementation

hexed crater
#

Did you enable MCP in preferences?

regal loom
#

Yes

hexed crater
#

interesting, what does curl say ?

#

You also have to generate a token by the way

regal loom
#

curl -X POST https://grafana.xxxxxx/mcp -H "Authorization: Bearer 6dba8xxxxb612d9" <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <link rel="icon" type="image/svg+xml" href="/assets/favicon-DhTzhEKd.ico" /> <meta name="viewport" content="minimum-scale=1, initial-scale=1, width=device-width, user-scalable=no" /> <title>NAbox</title> <script type="module" crossorigin src="/assets/index-CXlQ2WE1.js"></script> <link rel="stylesheet" crossorigin href="/assets/index-D9QzQSYr.css"> </head> <body> <div id="root"></div> </body> </html>

hexed crater
#

no https

regal loom
#

then i get no response from curl

hexed crater
#

like, it stalls ?

regal loom
#
*   Trying 192...:80...
* Connected to grafana.aaaaa(192....) port 80 (#0)
> POST /mcp HTTP/1.1
> Host: grafana.aaaa
> User-Agent: curl/7.76.1
> Accept: */*
> Authorization: Bearer xxxx
> 
* Mark bundle as not supporting multiuse
< HTTP/1.1 302 Found
< Location: /mcp/
< Server: Caddy
< Date: Mon, 17 Nov 2025 08:46:44 GMT
< Content-Length: 0
< 
* Connection #0 to host grafana.aaaaa left intact```
hexed crater
#

looking good

#

-L would make curl follow redirect, or you can add the trailing / in your command

regal loom
#
*   Trying 192....:80...
* Connected to grafana.AAAAA (192....) port 80 (#0)
> POST /mcp HTTP/1.1
> Host: grafana.AAAAA
> User-Agent: curl/7.76.1
> Accept: */*
> Authorization: Bearer XXXXXXXXXXXX
> 
* Mark bundle as not supporting multiuse
< HTTP/1.1 302 Found
< Location: /mcp/
< Server: Caddy
< Date: Mon, 17 Nov 2025 08:53:16 GMT
< Content-Length: 0
< 
* Connection #0 to host grafana.AAAAA left intact
* Issue another request to this URL: 'http://grafana.AAAAA/mcp/'
* Found bundle for host grafana.AAAAA: 0x55bc4a171240 [serially]
* Can not multiplex, even if we wanted to!
* Re-using existing connection! (#0) with host grafana.AAAAA
* Connected to grafana.AAAAA (192....) port 80 (#0)
> POST /mcp/ HTTP/1.1
> Host: grafana.AAAAA
> User-Agent: curl/7.76.1
> Accept: */*
> Authorization: Bearer XXXXXXXXXXXX
> 
* Mark bundle as not supporting multiuse
< HTTP/1.1 502 Bad Gateway
< Server: Caddy
< Date: Mon, 17 Nov 2025 08:53:16 GMT
< Content-Length: 0
< 
* Connection #0 to host grafana.AAAAA left intact```
hexed crater
#

mmmm. You sur MCP server in running ? dc ps ?

regal loom
#

Thats a good point:

#
alertmanager       alertmanager       "/bin/alertmanager -…"   alertmanager       11 minutes ago   Up 11 minutes             9093/tcp
caddy              caddy              "caddy run --config …"   rproxy             11 minutes ago   Up 11 minutes             0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 443/udp, 2019/tcp
cadvisor           cadvisor           "/usr/bin/cadvisor -…"   cadvisor           11 minutes ago   Up 11 minutes (healthy)   8080/tcp
grafana            grafana-oss        "/run.sh"                grafana            11 minutes ago   Up 11 minutes             127.0.0.1:3000->3000/tcp
havrest            havrest:latest     "/havrest"               havrest            11 minutes ago   Up 11 minutes             8080/tcp
node-exporter      node-exporter      "/bin/node_exporter …"   node-exporter      11 minutes ago   Up 11 minutes             9100/tcp
victoria-metrics   victoria-metrics   "/victoria-metrics-p…"   victoria-metrics   11 minutes ago   Up 11 minutes             127.0.0.1:8428->8428/tcp
vmagent            vmagent            "/vmagent-prod -remo…"   vmagent            11 minutes ago   Up 11 minutes             8429/tcp
vmalert            vmalert            "/vmalert-prod -rule…"   vmalert            11 minutes ago   Up 11 minutes             8880/tcp```
hexed crater
#

dang it

#

Let's apply the good old method

#

"can you turn it off and on again ?"

regal loom
#

yes that worked and started the mcp container

#

but after rebbot it's not up again, only after disable and enable it by hand

hexed crater
#

Ok I wonder what makes that different for you, I need to do some tests, thank you !

regal loom
#

If you need any logs DM me.

#

If someone need a curl for connection debug, try this: