nostr-ops-mcp
About
Nostr publishing, queries, and DMs for AI agents, with allowlists, rate limits, and an audit log.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
NOSTR_RELAYS NOSTR_NIP46_URI NOSTR_PRIVATE_KEY NOSTR_ALLOWED_KINDSClaude Code
claude mcp add --env NOSTR_RELAYS= --env NOSTR_NIP46_URI= --env NOSTR_PRIVATE_KEY= --env NOSTR_ALLOWED_KINDS= nostr-ops-mcp -- npx nostr-ops-mcp
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"nostr-ops-mcp","command":"npx","args":["nostr-ops-mcp"],"env":{"NOSTR_RELAYS":"","NOSTR_NIP46_URI":"","NOSTR_PRIVATE_KEY":"","NOSTR_ALLOWED_KINDS":""}}'
JSON
{
"mcpServers": {
"nostr-ops-mcp": {
"command": "npx",
"args": [
"nostr-ops-mcp"
],
"env": {
"NOSTR_RELAYS": "",
"NOSTR_NIP46_URI": "",
"NOSTR_PRIVATE_KEY": "",
"NOSTR_ALLOWED_KINDS": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.