@dennisk2025/random-password-generator
v1.0.0
Published
Generates strong random passwords based on customizable criteria such as length and inclusion of numbers, symbols, uppercase, or lowercase letters.
Readme
random-password-generator-mcp
Generates strong, random passwords based on customizable criteria such as length and inclusion of numbers, symbols, uppercase, or lowercase letters. Fully compliant with Model Context Protocol (MCP) and ready for use with Claude Desktop.
Installation
Install globally or run directly with npx:
npm install -g @dennisk2025/random-password-generator-mcp
or
npx @dennisk2025/random-password-generator-mcp
Adding to Claude Desktop
Add the following configuration to your Claude Desktop config file:
{
"mcpServers": {
"random-password": {
"command": "npx",
"args": ["@dennisk2025/random-password-generator-mcp"]
}
}
}Add this to your Claude Desktop config file at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Available Tool(s)
generate_password
Generates a random password following user-specified criteria.
Parameters
length(integer, required): Length of the password (6-128, default 12)include_uppercase(boolean, optional): Include uppercase letters (default true)include_lowercase(boolean, optional): Include lowercase letters (default true)include_numbers(boolean, optional): Include numbers (default true)include_symbols(boolean, optional): Include special symbols (default true)
Example Calls
Generate a 16-character password with all character types:
{
"tool": "generate_password",
"arguments": {
"length": 16
}
}Generate a 10-character password, letters only:
{
"tool": "generate_password",
"arguments": {
"length": 10,
"include_numbers": false,
"include_symbols": false
}
}Generate a 20-character password with only numbers and symbols:
{
"tool": "generate_password",
"arguments": {
"length": 20,
"include_uppercase": false,
"include_lowercase": false,
"include_numbers": true,
"include_symbols": true
}
}Usage Notes
- Length must be between 6 and 128 characters.
- At least one character category (uppercase, lowercase, numbers, symbols) must be enabled.
- Output is always a single password in JSON format, e.g.
{ "password": "..." }
For feedback or issues, please open an issue on the @dennisk2025 npm scope.
