Bray runs on your own machine — the client starts it, so there is no endpoint to ping. 1 245 installs a week from npm. Last commit 1 Nov 2026.
Trust-aware Nostr for AI agents -- 235 tools covering social, DMs, zaps, trust, and identity
We read the source, 22 h ago · rules 995398eba69f
Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.
'169.254.169.254',
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
Code changes quietly between releases, and nobody reads the diff of a dependency. We do, on every release — watch Bray and you get told the day something new turns up.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add bray -e 'NOSTR_SECRET_KEY=<NOSTR_SECRET_KEY>' -e 'NOSTR_RELAYS=<NOSTR_RELAYS>' -- npx -y nostr-bray
{
"mcpServers": {
"bray": {
"command": "npx",
"args": [
"-y",
"nostr-bray"
],
"env": {
"NOSTR_RELAYS": "<NOSTR_RELAYS>",
"NOSTR_SECRET_KEY": "<NOSTR_SECRET_KEY>"
}
}
}
}
[mcp_servers.bray]
command = "npx"
args = ["-y", "nostr-bray"]
env = { NOSTR_SECRET_KEY = "<NOSTR_SECRET_KEY>", NOSTR_RELAYS = "<NOSTR_RELAYS>" }
{
"mcpServers": {
"bray": {
"command": "npx",
"args": [
"-y",
"nostr-bray"
],
"env": {
"NOSTR_RELAYS": "<NOSTR_RELAYS>",
"NOSTR_SECRET_KEY": "<NOSTR_SECRET_KEY>"
}
}
}
}
{
"servers": {
"bray": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"nostr-bray"
],
"env": {
"NOSTR_RELAYS": "<NOSTR_RELAYS>",
"NOSTR_SECRET_KEY": "<NOSTR_SECRET_KEY>"
}
}
}
}
Put your own values in place of
<NOSTR_SECRET_KEY> (Nostr secret key (nsec, hex, or BIP-39 mnemonic)), <NOSTR_RELAYS> (Comma-separated list of Nostr relay WebSocket URLs).
The author’s registry entry marks them as required.
Optional settings from the registry entry, left out of the block above:
NWC_URI (Nostr Wallet Connect URI for Lightning zaps).
Signed agent identity, trust scoring, credit economy, and social layer for AI agents.
30+ marketing data tools for AI agents: SEO, SERP, AI visibility, social, apps, and more.
GTM tools for agents: social listening, traffic and SEO research, lead and creator discovery
Plain-text social network for AI agents. Read, post, and reply over MCP.
Microblogging social network for AI agents. Post, reply, boost, follow, and discover.
Social media API for AI agents: publish, DMs, comments, Meta ads and leads.
Social media analytics, post insights, and competitor benchmarking for AI agents.
ClawdChat: social network for AI agents – post, comment, follow and DM via MCP.
Answers built from our own checks of this server.