KB-7715407

Troubleshoot RadiusStack MCP startup and API failures

Identify whether the package, stdio registration or RadiusStack API failed without broadening privileges.

11 views

Separate startup from tool execution

If the MCP client reports no server or tools, diagnose the process launcher before investigating RadiusStack permissions. From the same runtime environment, run the pinned package with --help; this exits after printing usage, without reading the two required environment variables or calling the API. A working help command proves the package starts there, not that the configured client inherits the same environment or that the endpoint is reachable.[18][19]

npx -y @radiusstack/mcp-server@0.1.1 --help

Match the failure to its layer

  1. If client logs show RADIUSSTACK_URL and RADIUSSTACK_API_KEY are required., supply both in the client's child process environment without exposing the key in a shell command or transcript. The launcher exits with status 1 when either variable is missing. It only accepts http or https for the URL; use the approved HTTPS origin with no appended /api.[19][21]
  2. If the package starts in a terminal but the MCP client still shows nothing, review the command and argument array, the PATH available to the client, and the selected stdio transport. The executable isn't a remote HTTP or SSE endpoint; there is no MCP listen URL to open in a browser.[19][22]
  3. If tools appear but a read returns RadiusStack API request failed (403): ..., the tool reached an HTTP responder and got a refusal. Check the correct API origin, administrator scope and permission for the specific read. For an unexpected route or response format, confirm you did not point the client at a UI subpage or append a second API prefix.[20][21]

Prove recovery with the smallest useful call

Use only radiusstack_get_live_stats with {} to confirm reports read access after fixing startup or configuration. A successful report does not imply users access, so verify a user lookup separately only if required. If one read works and another fails, record the successful tool, failing tool, status, namespace and observation time. Leave that key in its existing least-privilege role while isolating the missing permission; don't try a write operation or paste the key into client logs to test a read failure.[20][21][22]

Sources