Trust-aware Nostr for AI agents -- 235 tools covering social, DMs, zaps, trust, and identity
Connect Runs on your machine
claude mcp add bray -e NOSTR_SECRET_KEY=<NOSTR_SECRET_KEY> -e NOSTR_RELAYS=<NOSTR_RELAYS> -e NWC_URI=<NWC_URI> -- npx -y [email protected]
{
"mcpServers": {
"bray": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"NOSTR_SECRET_KEY": "<NOSTR_SECRET_KEY>",
"NOSTR_RELAYS": "<NOSTR_RELAYS>",
"NWC_URI": "<NWC_URI>"
}
}
}
}
{
"mcpServers": {
"bray": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"NOSTR_SECRET_KEY": "<NOSTR_SECRET_KEY>",
"NOSTR_RELAYS": "<NOSTR_RELAYS>",
"NWC_URI": "<NWC_URI>"
}
}
}
}
{
"servers": {
"bray": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"NOSTR_SECRET_KEY": "<NOSTR_SECRET_KEY>",
"NOSTR_RELAYS": "<NOSTR_RELAYS>",
"NWC_URI": "<NWC_URI>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
NOSTR_SECRET_KEYRequired, secret | Nostr secret key (nsec, hex, or BIP-39 mnemonic) |
NOSTR_RELAYSRequired | Comma-separated list of Nostr relay WebSocket URLs |
NWC_URIOptional, secret | Nostr Wallet Connect URI for Lightning zaps |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 7 Apr 2026 |
| Last updated | 7 Apr 2026 |
| Registry name | dev.forgesworn/bray |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
