Skip to main content
Glama

getSignerInfo

Retrieve current signing configuration and public key for Nostr protocol operations, enabling AI agents to verify and manage cryptographic identities.

Instructions

Returns current signing configuration and pubkey

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core implementation of the getSignerInfo tool, which retrieves the current signing mode (nip46-bunker or direct-key) and the public key if in bunker mode.
    export function getSignerInfo() {
      return {
        mode: isBunkerMode() ? 'nip46-bunker' : 'direct-key',
        pubkey: isBunkerMode() ? getBunkerPubkey() : null,
        bunkerConfigured: isBunkerMode(),
      };
    }
  • src/index.ts:157-159 (registration)
    Registration of the getSignerInfo tool within the MCP server.
    server.tool('getSignerInfo', 'Returns current signing configuration and pubkey', {}, async () => {
      return textResult(getSignerInfo());
    });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jorgenclaw/nostr-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server