generate_password
Pack: passwordgen · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/generate_password for the schema, then POST the same URL with its arguments for the data.
Generate cryptographically-random password(s) (keyless, offline, CSPRNG). Control the character sets and length; returns the password(s) and their entropy in bits.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
length | number | no | Password length (4-256, default 20). |
uppercase | boolean | no | Include A-Z (default true). |
lowercase | boolean | no | Include a-z (default true). |
digits | boolean | no | Include 0-9 (default true). |
symbols | boolean | no | Include punctuation (default true). |
exclude_ambiguous | boolean | no | Exclude look-alikes (0/O, 1/l/I) (default false). |
count | number | no | How many to generate (1-50, default 1). |
Example call
Arguments
{
"length": 20,
"uppercase": true,
"lowercase": true,
"digits": true,
"symbols": true
}
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_password","arguments":{"length":20,"uppercase":true,"lowercase":true,"digits":true,"symbols":true}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('generate_password', {
"length": 20,
"uppercase": true,
"lowercase": true,
"digits": true,
"symbols": true
});
More examples
{
"length": 32,
"uppercase": true,
"lowercase": true,
"digits": true,
"symbols": false,
"exclude_ambiguous": true,
"count": 5
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the passwordgen pack
{
"mcpServers": {
"passwordgen": {
"url": "https://gateway.pipeworx.io/passwordgen/mcp"
}
}
}
See Getting Started for client-specific install steps.