Nostr Bray MCP Server
by forgesworndev.forgesworn/brayv1.27.7
Trust-aware Nostr for AI agents -- 235 tools covering social, DMs, zaps, trust, and identity
context tax
queued
security
queued
cold start
queued
freshness
Active5d ago
Install Nostr Bray MCP server
Install in Claude Code
claude mcp add nostr-bray -e NOSTR_SECRET_KEY='<nostr-secret-key>' -e NOSTR_RELAYS='<nostr-relays>' -e NWC_URI='<nwc-uri>' -- npx -y nostr-brayInstall in Cursor
{
"mcpServers": {
"nostr-bray": {
"command": "npx",
"args": [
"-y",
"nostr-bray"
],
"env": {
"NOSTR_SECRET_KEY": "<nostr-secret-key>",
"NOSTR_RELAYS": "<nostr-relays>",
"NWC_URI": "<nwc-uri>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"nostr-bray": {
"command": "npx",
"args": [
"-y",
"nostr-bray"
],
"env": {
"NOSTR_SECRET_KEY": "<nostr-secret-key>",
"NOSTR_RELAYS": "<nostr-relays>",
"NWC_URI": "<nwc-uri>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"nostr-bray": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"nostr-bray"
],
"env": {
"NOSTR_SECRET_KEY": "<nostr-secret-key>",
"NOSTR_RELAYS": "<nostr-relays>",
"NWC_URI": "<nwc-uri>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"nostr-bray": {
"command": "npx",
"args": [
"-y",
"nostr-bray"
],
"env": {
"NOSTR_SECRET_KEY": "<nostr-secret-key>",
"NOSTR_RELAYS": "<nostr-relays>",
"NWC_URI": "<nwc-uri>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| NOSTR_SECRET_KEY | yes | yes | Nostr secret key (nsec, hex, or BIP-39 mnemonic) |
| NOSTR_RELAYS | yes | — | Comma-separated list of Nostr relay WebSocket URLs |
| NWC_URI | — | yes | Nostr Wallet Connect URI for Lightning zaps |
Freshness
Active — last maintenance signal 5d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-05 · 5d ago · GitHub
Latest release
2026-09-24 · 16d ago · GitHub · v3.5.2
Package published
no data · npm/PyPI
Registry entry updated
2026-04-07 · 6mo ago · official registry · v1.27.7
FAQ
›How do I install the Nostr Bray MCP server in Claude Code?
Run: claude mcp add nostr-bray -e NOSTR_SECRET_KEY='<nostr-secret-key>' -e NOSTR_RELAYS='<nostr-relays>' -e NWC_URI='<nwc-uri>' -- npx -y nostr-bray. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Nostr Bray require an API key?
Yes. It expects NOSTR_SECRET_KEY, NOSTR_RELAYS, NWC_URI, of which 2 are secrets.
›Can I use Nostr Bray as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Nostr Bray in the official MCP registry?
Yes, as dev.forgesworn/bray.