Utilities
Data source: Algorithmic (secrets module)
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/password-generator/
claude_desktop_config.json
{
"mcpServers": {
"gnist-password-generator": {
"url": "https://context.gnist.ai/mcp/password-generator/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/password-generator/" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Gnist-API-Key: YOUR_API_KEY" \
-d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "check_password_strength", "arguments": {"password": "example"}}}'
REST API
API Root
https://context.gnist.ai/rest/password-generator/
5 endpoints available:
GET /rest/password-generator/generate_passwordGET /rest/password-generator/generate_passphraseGET /rest/password-generator/generate_pinGET /rest/password-generator/check_password_strengthGET /rest/password-generator/report_feedback
Shell
curl "https://context.gnist.ai/rest/password-generator/check_password_strength?password=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/password-generator/check_password_strength",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"password": "example"
},
)
print(resp.json())
Command Line
Command
gc password-generator
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (5)
generate_passwordGenerate a cryptographically secure random password.
| Parameter | Type | Required | Description |
|---|---|---|---|
length | integer | optional | Password length (4-128). (default: 16) |
uppercase | boolean | optional | Include uppercase letters. (default: true) |
lowercase | boolean | optional | Include lowercase letters. (default: true) |
digits | boolean | optional | Include digits. (default: true) |
symbols | boolean | optional | Include symbols. (default: true) |
exclude_ambiguous | boolean | optional | Exclude ambiguous characters (0/O, 1/l/I, etc.). (default: false) |
generate_passphraseGenerate a passphrase from random dictionary words.
| Parameter | Type | Required | Description |
|---|---|---|---|
words | integer | optional | Number of words (2-12). (default: 4) |
separator | string | optional | Word separator character. (default: "-") |
capitalize | boolean | optional | Capitalize each word. (default: false) |
generate_pinGenerate a cryptographically secure numeric PIN.
| Parameter | Type | Required | Description |
|---|---|---|---|
length | integer | optional | PIN length (4-12). (default: 6) |
check_password_strengthEstimate the strength of a given password.
| Parameter | Type | Required | Description |
|---|---|---|---|
password | string | required | Password to evaluate. |
report_feedbackReport a bug, feature request, or general feedback for this data source.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |