Nostr publishing, queries, and DMs for AI agents, with allowlists, rate limits, and an audit log.
Connect Runs on your machine
claude mcp add nostr-ops-mcp -e NOSTR_RELAYS=<NOSTR_RELAYS> -e NOSTR_NIP46_URI=<NOSTR_NIP46_URI> -e NOSTR_PRIVATE_KEY=<NOSTR_PRIVATE_KEY> -e NOSTR_ALLOWED_KINDS=<NOSTR_ALLOWED_KINDS> -- npx -y [email protected]
{
"mcpServers": {
"nostr-ops-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"NOSTR_RELAYS": "<NOSTR_RELAYS>",
"NOSTR_NIP46_URI": "<NOSTR_NIP46_URI>",
"NOSTR_PRIVATE_KEY": "<NOSTR_PRIVATE_KEY>",
"NOSTR_ALLOWED_KINDS": "<NOSTR_ALLOWED_KINDS>"
}
}
}
}
{
"mcpServers": {
"nostr-ops-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"NOSTR_RELAYS": "<NOSTR_RELAYS>",
"NOSTR_NIP46_URI": "<NOSTR_NIP46_URI>",
"NOSTR_PRIVATE_KEY": "<NOSTR_PRIVATE_KEY>",
"NOSTR_ALLOWED_KINDS": "<NOSTR_ALLOWED_KINDS>"
}
}
}
}
{
"servers": {
"nostr-ops-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"NOSTR_RELAYS": "<NOSTR_RELAYS>",
"NOSTR_NIP46_URI": "<NOSTR_NIP46_URI>",
"NOSTR_PRIVATE_KEY": "<NOSTR_PRIVATE_KEY>",
"NOSTR_ALLOWED_KINDS": "<NOSTR_ALLOWED_KINDS>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
NOSTR_RELAYSRequired | Comma-separated wss:// relay URLs |
NOSTR_NIP46_URIOptional, secret | NIP-46 bunker URI (preferred signer; keeps the nsec off this machine) |
NOSTR_PRIVATE_KEYOptional, secret | nsec private key (alternative to NOSTR_NIP46_URI; read-only mode if neither is set) |
NOSTR_ALLOWED_KINDSOptional | Comma-separated event kinds the server may publish (required when a signer is configured) |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 12 Jun 2026 |
| Last updated | 12 Jun 2026 |
| Registry name | io.github.llmops-pro/nostr-ops-mcp |
More cloud and devops servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
