nostr-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NOSTR_NSEC | No | Raw Nostr secret key in nsec1... format for automation only. | |
| NOSTR_BUNKER_URI | No | NIP-46 bunker URI for remote signer (e.g., from Amber) so keys never touch this machine. | |
| NOSTR_WALLET_NWC | No | Nostr Wallet Connect URI for sending Lightning zaps (from Alby/Primal/Coinos). | |
| NOSTR_MAX_ZAP_MSAT | No | Server-enforced per-zap spending cap in millisatoshis. | |
| NOSTR_KEY_PASSPHRASE | No | Passphrase for the encrypted NIP-49 key file. Presence activates signing. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| nostr_resolve_identityA | Decode a hex, npub, nprofile, note, nevent, or naddr identifier. nsec and encrypted private-key identifiers are rejected. |
| nostr_get_profileA | Fetch the newest signature-verified, valid JSON kind 0 profile for an npub, nprofile, or hex pubkey. |
| nostr_get_eventA | Fetch one signature-verified Nostr event by hex ID, note, or nevent and report which relays supplied it. |
| nostr_query_notesA | Query signature-verified kind 1 notes with bounded author, time, text-search, event-reference, and pubkey-mention filters. |
| nostr_inspect_relayA | Fetch a relay's NIP-11 information document without following redirects. Only public wss:// relay URLs are accepted. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |