What is the dev.forgesworn/bray MCP server?
Trust-aware Nostr for AI agents -- 235 tools covering social, DMs, zaps, trust, and identity
How to install dev.forgesworn/bray
Copy-paste configuration for popular MCP clients.
transport: stdio
Config generated by PluginBench — verify against the source before use.Environment / auth
NOSTR_SECRET_KEYrequiredsecretNostr secret key (nsec, hex, or BIP-39 mnemonic)
NOSTR_RELAYSrequiredComma-separated list of Nostr relay WebSocket URLs
NWC_URIsecretNostr Wallet Connect URI for Lightning zaps
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"bray": {
"command": "npx",
"args": [
"-y",
"nostr-bray"
],
"env": {
"NOSTR_SECRET_KEY": "<YOUR_NOSTR_SECRET_KEY>",
"NOSTR_RELAYS": "<YOUR_NOSTR_RELAYS>",
"NWC_URI": "<YOUR_NWC_URI>"
}
}
}
}Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"bray": {
"command": "npx",
"args": [
"-y",
"nostr-bray"
],
"env": {
"NOSTR_SECRET_KEY": "<YOUR_NOSTR_SECRET_KEY>",
"NOSTR_RELAYS": "<YOUR_NOSTR_RELAYS>",
"NWC_URI": "<YOUR_NWC_URI>"
}
}
}
}Windsurf
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"bray": {
"command": "npx",
"args": [
"-y",
"nostr-bray"
],
"env": {
"NOSTR_SECRET_KEY": "<YOUR_NOSTR_SECRET_KEY>",
"NOSTR_RELAYS": "<YOUR_NOSTR_RELAYS>",
"NWC_URI": "<YOUR_NWC_URI>"
}
}
}
}VS Code
.vscode/mcp.json
{
"servers": {
"bray": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"nostr-bray"
],
"env": {
"NOSTR_SECRET_KEY": "<YOUR_NOSTR_SECRET_KEY>",
"NOSTR_RELAYS": "<YOUR_NOSTR_RELAYS>",
"NWC_URI": "<YOUR_NWC_URI>"
}
}
}
}Claude Code
claude mcp add bray --env NOSTR_SECRET_KEY=<YOUR_NOSTR_SECRET_KEY> --env NOSTR_RELAYS=<YOUR_NOSTR_RELAYS> --env NWC_URI=<YOUR_NWC_URI> -- npx -y nostr-brayRelated MCP servers
AI agents discover, pay for, and consume any Lightning-gated API autonomously
View repository →Fair meeting point discovery for AI agents with isochrone-based travel time fairness
View repository →