About MCP Password Generator
MCP Password Generator is an MCP server for generating random passwords with configurable length, quantity, and character sets. It is intended for MCP clients that need password generation through a tool.
Key features
- 01Generate multiple random passwords
- 02Set password length
- 03Choose four character sets
Use cases
- 01Create passwords with special characters
- 02Generate alphanumeric passwords
- 03Generate letters-only or numbers-only passwords
MCP support
It exposes a `generate-password` tool to MCP clients, with parameters for count, length, and character-set type.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP 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 [email protected]: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
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.