generate_pin

Pack: passwordgen · Endpoint: https://gateway.pipeworx.io/passwordgen/mcp

Generate a cryptographically-random numeric PIN (keyless, offline).

Parameters

NameTypeRequiredDescription
lengthnumbernoPIN length (3-32, default 6).
countnumbernoHow many (1-50, default 1).

Example call

Arguments

{
  "length": 6
}

curl

curl -X POST https://gateway.pipeworx.io/passwordgen/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"generate_pin","arguments":{"length":6}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('generate_pin', {
  "length": 6
});

More examples

{
  "length": 8,
  "count": 3
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "passwordgen": {
      "url": "https://gateway.pipeworx.io/passwordgen/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 15, 2026