Trust-aware Nostr for AI agents -- 235 tools covering social, DMs, zaps, trust, and identity
registry version 1.27.7
npm
npx -y nostr-braynpm
npx -y nostr-bray@1.27.7
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
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>"
}
}
}
}{
"mcpServers": {
"bray": {
"command": "npx",
"args": [
"-y",
"nostr-bray@1.27.7"
],
"env": {
"NOSTR_SECRET_KEY": "<YOUR_NOSTR_SECRET_KEY>",
"NOSTR_RELAYS": "<YOUR_NOSTR_RELAYS>",
"NWC_URI": "<YOUR_NWC_URI>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env NOSTR_SECRET_KEY=<YOUR_NOSTR_SECRET_KEY> --env NOSTR_RELAYS=<YOUR_NOSTR_RELAYS> --env NWC_URI=<YOUR_NWC_URI> bray -- npx -y nostr-bray
claude mcp add --env NOSTR_SECRET_KEY=<YOUR_NOSTR_SECRET_KEY> --env NOSTR_RELAYS=<YOUR_NOSTR_RELAYS> --env NWC_URI=<YOUR_NWC_URI> bray -- npx -y nostr-bray@1.27.7
Format verified against the official Claude Code docs ↗.
.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>"
}
}
}
}{
"mcpServers": {
"bray": {
"command": "npx",
"args": [
"-y",
"nostr-bray@1.27.7"
],
"env": {
"NOSTR_SECRET_KEY": "<YOUR_NOSTR_SECRET_KEY>",
"NOSTR_RELAYS": "<YOUR_NOSTR_RELAYS>",
"NWC_URI": "<YOUR_NWC_URI>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"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>"
}
}
}
}{
"servers": {
"bray": {
"command": "npx",
"args": [
"-y",
"nostr-bray@1.27.7"
],
"env": {
"NOSTR_SECRET_KEY": "<YOUR_NOSTR_SECRET_KEY>",
"NOSTR_RELAYS": "<YOUR_NOSTR_RELAYS>",
"NWC_URI": "<YOUR_NWC_URI>"
}
}
}
}Format verified against the official VS Code docs ↗.
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>"
}
}
}
}{
"mcpServers": {
"bray": {
"command": "npx",
"args": [
"-y",
"nostr-bray@1.27.7"
],
"env": {
"NOSTR_SECRET_KEY": "<YOUR_NOSTR_SECRET_KEY>",
"NOSTR_RELAYS": "<YOUR_NOSTR_RELAYS>",
"NWC_URI": "<YOUR_NWC_URI>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
NOSTR_SECRET_KEY required secret — Nostr secret key (nsec, hex, or BIP-39 mnemonic)NOSTR_RELAYS required — Comma-separated list of Nostr relay WebSocket URLsNWC_URI secret — Nostr Wallet Connect URI for Lightning zaps⭐ 1 stars · 最近更新于 15 天前 · MIT license
nostr bray Trust aware Nostr MCP for AI and humans. 261 tools across 29 groups. Model agnostic. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf, or any MCP client. Quick Start Install globally or run via npx: New to Nostr? Mint a key first this works before anything is configured and prints you…
Summary from the project README — github.com/forgesworn/bray
Distributed as npm, listed under AI Agents. Review our MCP security guide before granting access to real data.
nostr bray Trust aware Nostr MCP for AI and humans. 261 tools across 29 groups. Model agnostic. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf, or any MCP client. Quick Start Install globally or run via npx: New to Nostr? Mint a key first this works before anything is configured and prints you
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/forgesworn/bray. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/bray/)
HTML
<a href="https://mcpnav.net/server/bray/"><img src="https://mcpnav.net/badge/bray.svg" alt="Listed on MCPNav" height="20"></a>