LocalFree server, account needed

Bray MCP server

forgesworn/bray

Trust-aware Nostr for AI agents -- 235 tools covering social, DMs, zaps, trust, and identity

1 GitHub stars1 forks2,006 npm downloads / month

Install Bray in Claude Code

Claude Code
claude mcp add bray -e NOSTR_SECRET_KEY=... -e NOSTR_RELAYS=... -- npx -y nostr-bray
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "bray": {
      "command": "npx",
      "args": [
        "-y",
        "nostr-bray"
      ],
      "env": {
        "NOSTR_SECRET_KEY": "...",
        "NOSTR_RELAYS": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Bray MCP server do?

Trust-aware Nostr for AI agents -- 235 tools covering social, DMs, zaps, trust, and identity

Is the Bray MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Bray run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Bray to Claude Code?

Run: claude mcp add bray -e NOSTR_SECRET_KEY=... -e NOSTR_RELAYS=... -- npx -y nostr-bray

More security & identity MCP servers

View all