Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. Nostr Ops MCP
Nostr Ops MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/7/2026, 9:15:44 PM

Nostr Ops MCP

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View RepositoryVisit Website

Nostr publishing, queries, and DMs for AI agents, with allowlists, rate limits, and an audit log.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "nostr-ops-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "nostr-ops-mcp"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

nostr-ops-mcp

A NOSTR identity for your LLM agent. MCP server that exposes NOSTR protocol primitives β€” sign, publish, query, NIP-19 encode/decode, NIP-05 lookup, encrypted DMs β€” as tools your agent can call. Drop it into Claude Desktop, Claude Code, Cursor, or any MCP-speaking client. Hand the agent a NIP-46 bunker key (not a raw nsec). Set a kind allowlist. Let it post on your behalf within rails you control.

v0.1 β€” full read + write + DM surface. 16 tools wrapped in a defense-in-depth safety stack: kind allowlist (deny-by-default), recipient allowlist, rate limits, optional two-step confirmation, structured audit log. Supports both nsec (dev) and NIP-46 bunker (production).


What you can do with this

  • A bot that publishes kind:1 notes from your npub β€” daily summaries, scheduled posts, programmatic reactions to incoming events.
  • A NOSTR sales agent β€” pair with marketplace-mcp to publish NIP-15 stalls + products as the same identity.
  • Profile management β€” nostr_publish_metadata for kind:0 (always demands confirmation β€” overwriting your profile is irreversible without older relay data).
  • DM-driven workflows β€” a storefront agent that watches incoming DMs (with nostr_list_dms), decrypts orders, and replies via nostr_send_dm. Default-off behind NOSTR_DM_TOOLS_ENABLED.
  • Cross-server identity β€” share the same NIP-46 bunker URI across nostr-ops-mcp and marketplace-mcp. One key, one identity, two specialized tool surfaces.

The safety stack is the load-bearing reason this is usable in production: an agent with the keys to publish as you can ruin your reputation in seconds if unconstrained. The server enforces what kinds it'll sign, what rate, optional second-step confirmation, and writes every call to a structured audit log.


The sixteen tools

Read-only β€” local (no network, no signer needed)

ToolPurpose
nostr_decodeParse NIP-19 strings (npub / nsec / note / nevent / naddr / nprofile). nsec decoding gated behind NOSTR_ALLOW_NSEC_DECODE=true.
nostr_encodeBuild NIP-19 strings from raw fields. nsec encoding deliberately not supported.

Read-only β€” network (no signer needed for query/profile/nip05)

ToolPurpose
nostr_get_pubkeyReturns the signer's pubkey + npub. Errors clearly if no signer configured.
nostr_list_relaysConfigured relay pool + each relay's connection status.
nostr_query_eventsThe workhorse. NIP-01 filters: kinds, authors, e_tag / p_tag / d_tag / t_tag tag filters (mapped to NIP-01 #e/#p/#d/#t internally β€” renamed in v0.2.0 for hosted-API schema compatibility), since / until / limit.
nostr_get_profileFetch + parse kind:0 metadata for a pubkey or npub. Returns the parsed JSON content (name, about, picture, nip05, lud16, …).
nostr_verify_nip05Resolve name@domain β†’ pubkey via /.well-known/nostr.json. Optional expected_pubkey for verification mode.

Write (require signer; gated by KindAllowlist + RateLimiter + optional confirm)

ToolPurpose
nostr_publish_eventThe primitive write tool. Pass kind / content / tags.
nostr_publish_text_noteConvenience for kind:1. Reply/mention/hashtag shortcuts auto-assemble into NIP-10 tags.
nostr_publish_metadataKind:0 profile. Always demands two-step confirmation regardless of NOSTR_REQUIRE_CONFIRM β€” overwriting your profile is hard to reason about.
nostr_publish_addressable_eventKinds 30000–39999 (replaceable). Sets the d tag automatically. The bridge marketplace-mcp uses for NIP-15.
nostr_delete_eventNIP-09 kind:5 soft delete. Best-effort β€” relays may ignore.
nostr_confirm_publishExecute a token-gated publish. Single-use; safety pipeline re-runs.

DMs (highest-risk; default-off via NOSTR_DM_TOOLS_ENABLED=true)

ToolPurpose
nostr_send_dmNIP-04 (kind:4) DM with NIP-44 encryption by default; NIP-04 supported for legacy compat. Gated by NOSTR_DM_ALLOWLIST.
nostr_list_dmsFetch + decrypt the thread with a counterparty. Auto-detects NIP-44 vs NIP-04 per event.
nostr_decrypt_dmDecrypt a single ciphertext (when you already have the event from elsewhere).

NIP-17 sealed/gift-wrapped DMs are not yet supported β€” deferred to a future v0.2 (rumor events + gift-wrapping add nontrivial complexity).


Requirements

  • Node 20+
  • A NOSTR signer β€” strongly preferred: a NIP-46 bunker URI from Amber (Android), nsec.app (web), or any other NIP-46 implementation. Legacy path: a raw nsec in .env. The server logs a stderr warning at startup when nsec-on-disk is detected.

Install

bash
# From npm (once published)
npx -y nostr-ops-mcp

# From source
git clone <repo>
cd nostr-ops-mcp
corepack enable pnpm
pnpm install
pnpm build

Configure

bash
cp .env.example .env
# edit .env: set NOSTR_NIP46_URI (recommended) OR NOSTR_PRIVATE_KEY
#           set NOSTR_RELAYS (comma-separated wss://)
#           set NOSTR_ALLOWED_KINDS (required when a signer is configured)

The server auto-loads .env from this binary's own directory (next to dist/) β€” deliberately NOT from cwd, to avoid env-var collision when multiple MCP servers run in the same Claude Code session.

Required

VarPurpose
NOSTR_RELAYSComma-separated wss:// relays. Server refuses to start if empty.
NOSTR_ALLOWED_KINDSComma-separated event-kind numbers the server may sign. Required when a signer is configured. Example: 1,30017,30018 for text-note + NIP-15 marketplace. Default omits kind:0 (profile) and kind:5 (delete) β€” both easy to misuse.

Signer β€” provide AT MOST one

VarPurpose
NOSTR_NIP46_URIbunker://<pubkey>?relay=...&secret=... from Amber / nsec.app / Alby Account / any NIP-46 bunker. Recommended.
NOSTR_PRIVATE_KEYRaw nsec1.... Dev/legacy only. Server warns at startup.

Optional safety knobs

VarDefaultPurpose
NOSTR_READ_ONLYfalseForce read-only β€” disables all write tools.
NOSTR_DM_TOOLS_ENABLEDfalseOpt-in for send_dm / list_dms / decrypt_dm.
NOSTR_DM_ALLOWLISTunsetHex pubkeys allowed as DM recipients. Empty = NOSTR_DM_TOOLS_ENABLED alone gates.
NOSTR_REQUIRE_CONFIRMfalseTwo-step confirm: write tools return a token, nostr_confirm_publish executes.
NOSTR_MAX_EVENTS_PER_MINUTE10Rolling 60s rate limit on writes.
NOSTR_MAX_DMS_PER_MINUTE5Same but for DMs.
NOSTR_ALLOW_NSEC_DECODEfalseAllow nostr_decode to return raw private key material. Don't enable unless you really need it.
NOSTR_LOG_PATH./nostr-mcp.logServer log path.
NOSTR_AUDIT_PATH./nostr-mcp-audit.logStructured audit log (one JSON line per tool call).

Wire into an MCP client

Claude Code (project-scoped)

Terminal
claude mcp add nostr-ops -s project node "$(pwd)/dist/index.js"

Claude Desktop / Cursor / other clients

config.json
{
  "mcpServers": {
    "nostr-ops": {
      "command": "npx",
      "args": ["-y", "nostr-ops-mcp"],
      "env": {}
    }
  }
}

Because the server loads its own .env, leave the env block empty in the client config β€” keep secrets out of any committed file.


Safety model

Every write tool runs the pipeline in this order:

  1. NOSTR_READ_ONLY gate β€” refuse outright.
  2. Signer presence β€” refuse if neither nsec nor NIP-46 URI is configured.
  3. KindAllowlist β€” refuse if the event kind isn't in NOSTR_ALLOWED_KINDS.
  4. RateLimiter β€” refuse if the rolling 60s events bucket is full.
  5. Confirm gate β€” if NOSTR_REQUIRE_CONFIRM=true (or the tool always-confirms, like publish_metadata), return a 16-byte hex token instead of signing.
  6. Sign + publish β€” via NDK; the signer handshake completes lazily on first use (relevant for NIP-46 where the bunker handshake is async).
  7. Audit log β€” append-only JSON line for every attempt (ok / blocked / error).

DM tools add three more checks on top: NOSTR_DM_TOOLS_ENABLED, DmAllowlist (per-recipient), and a separate dms rate bucket.

The floor is your signer. If using NIP-46, the bunker can refuse any sign request β€” that's the strongest safety boundary. This server's checks are belt-and-suspenders on top.

Verifying calls actually went through

bash
tail -n 5 nostr-mcp-audit.log

Successful publish: {"ts":"...","tool":"nostr_publish_text_note","outcome":"ok","result":{"event_id":"...","relays_accepted":[...]}}. Blocked / error lines are equally structured. The audit log is append-only by intent β€” rotate it as part of your operational hygiene.


Testing

bash
pnpm typecheck   # tsc --noEmit
pnpm test        # 13 vitest cases (KindAllowlist, RateLimiter, nip19 roundtrip)
pnpm build       # dist/index.js (~58 KB ESM bundle)

For end-to-end testing against live relays, configure a throwaway nsec + a couple of public relays (damus.io, nos.lol) and run a small loop: nostr_publish_text_note β†’ nostr_query_events to confirm the note round-tripped. The nostr_send_dm β†’ nostr_list_dms loop validates the DM path (you can DM yourself for a closed-loop check).


Companion servers

  • nwc-mcp β€” Lightning wallet over NWC. Pair these to build sats-spending NOSTR agents.
  • marketplace-mcp β€” NIP-15 marketplace publish (Shopstr-compatible). Uses the same signer setup as this server.

License

MIT β€” see LICENSE.

Contact / Issues

Built by LLMOps.Pro.

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • Valet logoValet

    Get share links, publish and manage websites, artifacts and agents. No account needed.

    πŸ’» Developer Tools2 views
    Compare vs Valet β†’
  • Claude Task Master logoClaude Task Master

    AI-powered task management system for AI-driven development. Features PRD parsing, task expansion, multi-provider support (Claude, OpenAI, Gemini, Perplexity, xAI), and selective tool loading for optimized context usage.

    πŸ’» Developer Tools8 views
    Compare vs Claude Task Master β†’
  • Skill of Skills logoSkill of Skills

    Quality-ranked, cross-platform directory of AI coding skills, plugins and MCP servers.

    πŸ’» Developer Tools2 views
    Compare vs Skill of Skills β†’
  • R
    Ruv Swarm

    Neural network swarm orchestration with WebAssembly acceleration and MCP integration

    πŸ’» Developer Tools2 views
    Compare vs Ruv Swarm β†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

npm downloads
164
Package downloads in the last 30 days.
Last commit
2mo ago
Most recent push to the default branch.

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Nostr Ops MCP

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "nostr-ops-mcp": { "command": "npx", "args": ["-y","nostr-ops-mcp"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewNostr Ops MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/nostr-ops-mcp?style=directory)](https://allmcps.com/mcp/nostr-ops-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/nostr-ops-mcp"><img src="https://allmcps.com/api/badge/nostr-ops-mcp?style=directory" alt="Nostr Ops MCP on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedJun 15, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars0
GitHub Star CountTotal stargazers on GitHub representing community popularity (0 stars).
Last commit2mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jun 15, 2026
npm downloads164/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
40Quality signal: Fair Β· 40/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools16/30
Adoption & activity4/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to Nostr Ops MCP β†’Install in Claude DesktopInstall in CursorInstall in VS Code