password-mcp
by MukundaKatta
README.md
# password-mcp
[](https://www.npmjs.com/package/@mukundakatta/password-mcp)
[](https://modelcontextprotocol.io)
[](LICENSE)
MCP server: generate strong passwords and score password strength with
zxcvbn. Randomness comes from Node's `crypto.randomBytes` with rejection
sampling so the distribution is uniform across the chosen alphabet.
## Tools
### `generate`
```json
{ "length": 20, "exclude_ambiguous": true }
```
→ `{ "password": "aB3xK7nQ2wP9vR4zM8tL" }`
| Field | Default | Notes |
|---------------------|---------|--------------------------------------------------------------------|
| `length` | 20 | 4-256 |
| `lowercase` | true | |
| `uppercase` | true | |
| `digits` | true | |
| `symbols` | true | |
| `exclude_ambiguous` | false | Drops `0 O 1 l I \|` etc. |
At least one character from each enabled class is guaranteed.
### `strength`
```json
{ "password": "correct horse battery staple" }
```
→
```json
{
"score": 4,
"guesses_log10": 17.34,
"crack_time_display": "centuries",
"warning": "",
"suggestions": []
}
```
`score` is the zxcvbn 0-4 strength rating. `guesses_log10` is the base-10 log
of the estimated guesses needed.
## Configure
```json
{ "mcpServers": { "password": { "command": "npx", "args": ["-y", "@mukundakatta/password-mcp"] } } }
```
## License
MIT.
TDQS
A3.9/5.0
Scored across 2 tools
Disambiguation5/5
The two tools have completely distinct purposes: one generates passwords, the other evaluates their strength. There is no overlap or ambiguity.
Naming Consistency4/5
The names are simple and clear, but one is a verb ('generate') and the other is a noun ('strength'), which is a minor inconsistency. A more consistent pattern would be 'generatePassword' and 'checkStrength'.
Tool Count5/5
Two tools is appropriate for a focused password utility: generation and strength assessment. No extraneous tools, and the scope is well-defined.
Completeness4/5
The tool set covers the core password operations: generation and strength evaluation. It is missing features like hashing or breach checking, but the scope is reasonable for a minimal MCP server.
Maintenance
ActivityInactive
ResponsivenessNo issues