createKeypair
Generates a Nostr-compatible keypair in specified formats (hex, npub, or both) to facilitate secure interactions with the Nostr social network via the Nostr MCP Server.
Instructions
Generate a new Nostr keypair
Input Schema
Name | Required | Description | Default |
---|---|---|---|
format | No | Format to return keys in: hex only, npub only, or both | both |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"format": {
"default": "both",
"description": "Format to return keys in: hex only, npub only, or both",
"enum": [
"both",
"hex",
"npub"
],
"type": "string"
}
},
"type": "object"
}