KB-5835101

Connect an MCP client to RadiusStack with read-only access

Verify the published npm executable, configure stdio and a limited API key, and confirm the first reports read.

14 views

Verify the package before configuring the client

RadiusStack MCP Server runs as a local stdio child of an MCP client; it isn't an HTTP server you browse to. The GitHub README has a note dating from before publication, but npm lists @radiusstack/mcp-server version 0.1.1, with Node.js 20 or later required. Pin the version you reviewed. Run the executable's help check on the same machine that runs your MCP client; it requires no key and does not contact RadiusStack.[18][19][22]

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

Expect the heading RadiusStack MCP Server and two required environment variable names. If the command cannot be found, check Node and npm in the client's runtime environment, not just the shell on another machine.[18][19]

Register a local stdio server

  1. In a client that launches local MCP commands, register a server called radiusstack. Set the command to npx and args to -y and @radiusstack/mcp-server@0.1.1. Use a client that can pass private environment configuration to the child process.[18][22]
  2. Set RADIUSSTACK_URL to the approved API base origin, for example https://radius.example.com. Do not append /api; the client adds the endpoint paths itself. Pass RADIUSSTACK_API_KEY through the client's protected configuration. Give the dedicated API administrator reports read-only access for monitoring and users read-only access only if you need user lookups. Do not use a platform administrator key.[22][21]
  3. Reload the MCP client's configuration, then inspect its tools. Call radiusstack_get_live_stats with {} and expect a text response containing formatted JSON. Discovery only establishes that stdio is working; a successful real read is what establishes that the API accepts the configured key for reports.[19][20]

Stop at the read-only boundary

The server registers create and update tools as well as reads, regardless of which API key you supplied. Seeing those tools does not grant access. Restrict the client to read tools if it supports tool controls, and rely on the server-side read-only key as enforcement. If tools load but the first call fails, check the API origin, key scope and reports permission before changing the MCP transport or granting more access.[22][20][21]

Sources