Skip to main content
Glama

getSignerInfo

Retrieve current signing configuration and public key for Nostr protocol interactions. Use this to verify authentication settings before publishing notes or sending encrypted messages.

Instructions

Returns current signing configuration and pubkey

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the logic for the getSignerInfo tool.
    export function getSignerInfo() {
      return {
        mode: isBunkerMode() ? 'nip46-bunker' : 'direct-key',
        pubkey: isBunkerMode() ? getBunkerPubkey() : null,
        bunkerConfigured: isBunkerMode(),
      };
    }
  • src/index.ts:157-158 (registration)
    The tool registration in the MCP server setup.
    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