Skip to Content
Helm

MCP server

Let AI assistants and agents profile clients through Helm.

The MCP server exposes Helm to any client that speaks the Model Context Protocol, such as Claude Desktop or Claude Code.

Use it when an assistant should interview a client and produce a risk profile. The model handles the conversation; Helm's versioned rules decide the profile and allocation, so results stay deterministic and auditable instead of depending on what the model guesses.

Connect a client

For Claude Desktop, open Settings → Developer → Edit Config and add:

{
  "mcpServers": {
    "helm": {
      "command": "npx",
      "args": ["-y", "@zagvar/helm-mcp"]
    }
  }
}

Restart Claude Desktop after saving. For Claude Code:

claude mcp add --transport stdio helm -- npx -y @zagvar/helm-mcp

Tools and prompt

NameKindUse it to
get_questionnaireToolFetch the questions, answer types, allowed values and ranges.
evaluate_risk_profileToolScore answers into a profile, allocation and audit metadata.
describe_risk_modelToolExplain profiles, score bands, allocations, weights and overrides.
risk_profile_interviewPromptRun the whole interview, optionally in another language.

evaluate_risk_profile returns the same result shape as the core engine (see Result shape) as structured output, plus a short plain-language summary for the model.

How the tool schema follows the definition

The input schema of evaluate_risk_profile is generated from the active definition when the server starts:

  • select questions become a fixed list of allowed values, with each option's label in the description so the model can map plain-language answers;
  • number questions carry their minimum, maximum and unit;
  • optional questions are optional in the schema.

Invalid arguments are rejected before Helm runs, with a message naming every field that failed, so the model can correct its call.

Custom definitions

Pass a definition file with --definition or HELM_DEFINITION:

{
  "mcpServers": {
    "helm": {
      "command": "npx",
      "args": ["-y", "@zagvar/helm-mcp", "--definition", "/absolute/path/definition.json"]
    }
  }
}

MCP clients start servers with a minimal environment, so set environment variables in the client's env block, not your shell. See Custom definitions for the definition format.

Embed in your own host

import { serveStdio } from "@modelcontextprotocol/server/stdio";
import { RiskProfilerEngine } from "@zagvar/helm-core";
import { createHelmMcpServer } from "@zagvar/helm-mcp";

const engine = new RiskProfilerEngine();
const handle = serveStdio(() => createHelmMcpServer({ engine }));

createHelmMcpServer returns an McpServer from the official TypeScript SDK, so the same server can be served over other MCP transports. Your host owns the engine's lifecycle and should call engine.dispose() on shutdown.

Last updated on

On this page