# Nninteractive\_agent on mac

**URL:** <https://discourse.slicer.org/t/nninteractive-agent-on-mac/48939>\
**Category:** Support\
**Created:** [November 17, 2026, 3:59am UTC](https://discourse.slicer.org/t/nninteractive-agent-on-mac/48939 "2026-11-17T03:59:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean\_Pinson](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jean_pinson/32/79053_2.png) [@Jean\_Pinson](https://discourse.slicer.org/u/Jean_Pinson)\
**Post date:** [November 17, 2026, 3:59am UTC](https://discourse.slicer.org/t/nninteractive-agent-on-mac/48939/1 "2026-11-17T03:59:50Z")

</div>

Hi everyone, and thanks @lassoan for the new **nnInteractive\_agent** integration in Slicer, it’s a great addition.

I’m trying it on macOS (Slicer 5.12.4) with nnInteractive running remotely: an `nninteractive-server` v2.6 on a Windows PC (RTX 5080), exposed through an ngrok tunnel, started with `--api-key`.

In the Server panel I use “Internal server” with “nnInteractive runs on: nnInteractive server” and the tunnel URL. The connection fails with `401 Unauthorized` on `/claim`, so the server is reachable but the key is not sent.

I couldn’t find a field for the nnInteractive server API key in the panel. The “API key file” field seems to be for the LLM only. From the nninteractive-agent README, I understand the client reads `NN_INTERACTIVE_API_KEY` from the environment, but Slicer launched from the Dock doesn’t inherit my shell variables.

Questions:

1. Is there a way to provide the nnInteractive server key from the GUI that I missed? I’m using nninteractive from my mac a lot and it works well.
2. Would a key field next to the server URL be possible in a future version? It would help anyone using a shared GPU server.

Happy to share logs or test anything. Thanks!
