Skip to main content
Glama
acidkeyxyz

MCP Password Generator

by acidkeyxyz

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 characters

    • alpha: Alphanumeric characters (letters and numbers)

    • numbers: Only numbers

    • letters: Only letters (uppercase and lowercase)

Related MCP server: Random Value MCP Server

Prerequisites

  • Node.js (v16 or higher)

  • npm

Installation

  1. Clone the repository:

git clone git@github.com:acidkeyxyz/mcp-pwd-generator.git
cd mcp-pwd-generator
  1. Install dependencies:

npm install

Running with Inspector

To run the MCP server with the inspector, you'll need to:

  1. Install the MCP Inspector globally:

npm install -g @modelcontextprotocol/inspector
  1. Run the server:

npx tsx index.ts
  1. 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 generate

  • length: Length of each password

  • type: Password character set type (optional, defaults to "all")

    • all: All characters (letters, numbers, special characters)

    • alpha: Alphanumeric characters

    • numbers: Only numbers

    • letters: Only letters

Example request in the inspector:

{
  "name": "generate-password",
  "parameters": {
    "count": 1,
    "length": 12,
    "type": "all"
  }
}

License

ISC

Related MCP Connectors

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    Generates random integers within a specified range and random alphanumeric strings of specified length through MCP protocol integration.
    2
    -
  • A
    license
    C
    quality
    D
    maintenance
    Generates passwords with customizable length, special characters, numbers, and umlauts via the Password Generator20 API.
    1
    MIT