MCP Password Generator

by acidkeyxyz

2 stars
375 downloads
Not rated
GitHub

About

A Model Context Protocol (MCP) server that generates random passwords with different character sets.

Details

Author
acidkeyxyz
GitHub stars
2
Downloads
375
Categories
Developer Tools, Security

- Generates random passwords with selectable character sets
- Supports four character set options: all, alpha, numbers, letters
- Configurable password count and length
- Simple MCP tool interface for integration

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Password Generator
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, install dependencies with npm install, and run the server with npx tsx index.ts. Use the MCP Inspector tool to invoke the generate-password tool, providing the parameters count, length, and optional type.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp password generator": {
            "mcp-pwd-generator": {
                "command": "npx",
                "args": [
                    "tsx",
                    "index.ts"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-pwd-generator": {
        "command": "npx",
        "args": [
            "tsx",
            "index.ts"
        ]
    }
}

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)

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

2. 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

2. Run the server:

npx tsx index.ts

3. 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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.