acidkeyxyz/mcp-pwd-generator
3.1
If you are the rightful owner of mcp-pwd-generator and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The MCP Password Generator is a server that creates random passwords using various character sets.
MCP Password Generator
A Model Context Protocol (MCP) server that generates random passwords with different character sets.
Features
- Generate random passwords with different character sets:
all
: Includes letters, numbers, and special charactersalpha
: Alphanumeric characters (letters and numbers)numbers
: Only numbersletters
: Only letters (uppercase and lowercase)
Prerequisites
- Node.js (v16 or higher)
- npm
Installation
- Clone the repository:
git clone git@github.com:acidkeyxyz/mcp-pwd-generator.git
cd mcp-pwd-generator
- Install dependencies:
npm install
Running with Inspector
To run the MCP server with the inspector, you'll need to:
- Install the MCP Inspector globally:
npm install -g @modelcontextprotocol/inspector
- Run the server:
npx tsx index.ts
- In a separate terminal, run the inspector:
mcp-inspector
Usage
Once the server is running with the inspector, you can use the generate-password
tool with the following parameters:
count
: Number of passwords to generatelength
: Length of each passwordtype
: Password character set type (optional, defaults to "all")all
: All characters (letters, numbers, special characters)alpha
: Alphanumeric charactersnumbers
: Only numbersletters
: Only letters
Example request in the inspector:
{
"name": "generate-password",
"parameters": {
"count": 1,
"length": 12,
"type": "all"
}
}
License
ISC