nostr-ops-mcp
A community MCP server that exposes NOSTR protocol primitives to LLM agents, enabling signing, publishing, querying, and encrypted DMs. It includes safety features like kind allowlists, rate limits, and audit logs, supporting both nsec and NIP-46 signers for secure agent operations.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Publish kind:1 notes and schedule posts from an npub identity
- Query events using NIP-01 filters and fetch profile metadata
- Decrypt incoming DMs and reply via nostr_send_dm for storefront workflows
- Parse and build NIP-19 strings for identity management
Source and maintenance
- Last repository push
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
nostr-ops-mcp 0.2.3
{
"version": "0.2.3",
"transport": "stdio",
"identifier": "nostr-ops-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "NOSTR_RELAYS",
"isRequired": true,
"description": "Comma-separated wss:// relay URLs"
},
{
"name": "NOSTR_NIP46_URI",
"description": "NIP-46 bunker URI (preferred signer; keeps the nsec off this machine)"
},
{
"name": "NOSTR_PRIVATE_KEY",
"description": "nsec private key (alternative to NOSTR_NIP46_URI; read-only mode if neither is set)"
},
{
"name": "NOSTR_ALLOWED_KINDS",
"description": "Comma-separated event kinds the server may publish (required when a signer is configured)"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"nostr-ops-mcp": {
"command": "npx",
"args": [
"-y",
"nostr-ops-mcp@0.2.3"
],
"env": {
"NOSTR_RELAYS": "<YOUR_NOSTR_RELAYS>",
"NOSTR_NIP46_URI": "<YOUR_NOSTR_NIP46_URI>",
"NOSTR_PRIVATE_KEY": "<YOUR_NOSTR_PRIVATE_KEY>",
"NOSTR_ALLOWED_KINDS": "<YOUR_NOSTR_ALLOWED_KINDS>"
}
}
}
}Cline
{
"mcpServers": {
"nostr-ops-mcp": {
"command": "npx",
"args": [
"-y",
"nostr-ops-mcp@0.2.3"
],
"env": {
"NOSTR_RELAYS": "<YOUR_NOSTR_RELAYS>",
"NOSTR_NIP46_URI": "<YOUR_NOSTR_NIP46_URI>",
"NOSTR_PRIVATE_KEY": "<YOUR_NOSTR_PRIVATE_KEY>",
"NOSTR_ALLOWED_KINDS": "<YOUR_NOSTR_ALLOWED_KINDS>"
}
}
}
}VS Code
{
"servers": {
"nostr-ops-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"nostr-ops-mcp@0.2.3"
],
"env": {
"NOSTR_RELAYS": "<YOUR_NOSTR_RELAYS>",
"NOSTR_NIP46_URI": "<YOUR_NOSTR_NIP46_URI>",
"NOSTR_PRIVATE_KEY": "<YOUR_NOSTR_PRIVATE_KEY>",
"NOSTR_ALLOWED_KINDS": "<YOUR_NOSTR_ALLOWED_KINDS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"nostr-ops-mcp": {
"command": "npx",
"args": [
"-y",
"nostr-ops-mcp@0.2.3"
],
"env": {
"NOSTR_RELAYS": "<YOUR_NOSTR_RELAYS>",
"NOSTR_NIP46_URI": "<YOUR_NOSTR_NIP46_URI>",
"NOSTR_PRIVATE_KEY": "<YOUR_NOSTR_PRIVATE_KEY>",
"NOSTR_ALLOWED_KINDS": "<YOUR_NOSTR_ALLOWED_KINDS>"
}
}
}
}Let your agent find its tools
Find servers like nostr-ops-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.