getProfile
Retrieve a Nostr user profile using a public key (hex or npub format) with optional relay queries. The tool fetches profile details for interaction within the MCP server environment.
Instructions
Get a Nostr profile by public key
Input Schema
Name | Required | Description | Default |
---|---|---|---|
pubkey | Yes | Public key of the Nostr user (hex format or npub format) | |
relays | No | Optional list of relays to query |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"pubkey": {
"description": "Public key of the Nostr user (hex format or npub format)",
"type": "string"
},
"relays": {
"description": "Optional list of relays to query",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"pubkey"
],
"type": "object"
}