Nostr MCP 服务器 logo

Nostr MCP 服务器

Community
AustinKelsay

A Model Context Protocol (MCP) server that provides Nostr capabilities to AI agents

PublisherAustinKelsay
Repositorynostr-mcp-server
LanguageTypeScript
Forks
14
Stars
37
Available tools
40
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Nostr MCP 服务器 exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 40 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    37 stars and 14 forks from the linked repository.

Nostr MCP Server

⚠️ This project is no longer maintained. It has been superseded by nostr-agent-interface — a newer, improved version with additional Blossom file storage support and an expanded tool set.

For the full MCP server with 48 tools, see:
https://github.com/AustinKelsay/nostr-agent-interface


What changed?

The nostr-agent-interface (NAI) builds on this project and adds:

  • Blossom file storage — 8 new tools for uploading, downloading, listing, deleting, and mirroring blobs
  • Expanded tool count — 48 MCP tools covering profile, notes, relays, DMs, zaps, and now blob storage
  • Cleaner architecture — improved module organization and signing via snstr
  • Built-in budget monitoring — optional Plaid-connected budget tracking for personal finance

Migrating

If you're using nostr-mcp-server, switch to:

bash
npm install -g nostr-agent-interface

Or point to the source:

bash
git clone https://github.com/AustinKelsay/nostr-agent-interface.git
cd nostr-agent-interface
npm install && npm run build

Old tool count

This repo contains 40 tools (documented in the git history).

The active repo (nostr-agent-interface) has 48 tools.

Installation

TypingMind
{
  "mcpServers": {
    "nostr-mcp-server": {
      "command": "node",
      "args": [
        "/ABSOLUTE/PATH/TO/nostr-mcp-server/build/index.js"
      ]
    }
  }
}

Available Tools

  • getProfile

    Get a Nostr profile by public key

  • getKind1Notes

    Get text notes (kind 1) by public key

  • getReceivedZaps

    Get zaps received by a public key

  • getSentZaps

    Get zaps sent by a public key

  • getAllZaps

    Get all zaps (sent and received) for a public key

  • getLongFormNotes

    Get long-form notes (kind 30023) by public key

  • queryEvents

    Query Nostr events using a generic filter (kinds/authors/ids/tags/timestamps)

  • getContactList

    Get a user's contact list (kind 3) and followed pubkeys

  • getFollowing

    Get pubkeys a user is following (alias of getContactList)

  • getRelayList

    Get a user's relay list metadata (NIP-65 kind 10002)

  • setRelayList

    Publish your relay list metadata (NIP-65 kind 10002)

  • follow

    Follow a pubkey by updating your contact list (kind 3)

  • unfollow

    Unfollow a pubkey by updating your contact list (kind 3)

  • reactToEvent

    React to an event (kind 7)

  • repostEvent

    Repost an event (kind 6)

  • deleteEvent

    Delete one or more events (kind 5 deletion request)

  • replyToEvent

    Reply to an event with correct NIP-10 thread tags (kind 1)

  • encryptNip04

    Encrypt plaintext using NIP-04 (AES-CBC) for direct messages

  • decryptNip04

    Decrypt ciphertext using NIP-04 (AES-CBC) for direct messages

  • sendDmNip04

    Send a NIP-04 encrypted DM (kind 4)

  • getDmConversationNip04

    Fetch and optionally decrypt a NIP-04 DM conversation (kind 4) between you and a peer

  • encryptNip44

    Encrypt plaintext using NIP-44 (ChaCha20 + HMAC)

  • decryptNip44

    Decrypt ciphertext using NIP-44 (ChaCha20 + HMAC)

  • sendDmNip44

    Send a NIP-44 encrypted DM using NIP-17 gift wrap (kind 1059)

  • decryptDmNip44

    Decrypt a NIP-17 gift wrapped DM (kind 1059) to reveal the inner kind 14 rumor

  • getDmInboxNip44

    Fetch and decrypt your NIP-44 DM inbox (NIP-17 gift wraps, kind 1059)

  • sendAnonymousZap

    Prepare an anonymous zap to a profile or event

  • convertNip19

    Convert any NIP-19 entity (npub, nsec, note, nprofile, nevent, naddr) to another format

  • analyzeNip19

    Analyze any NIP-19 entity or hex string to understand its type and contents

  • postAnonymousNote

    Post an anonymous note to the Nostr network using a temporary keypair

  • createKeypair

    Generate a new Nostr keypair

  • createProfile

    Create a new Nostr profile (kind 0 event)

  • updateProfile

    Update an existing Nostr profile (kind 0 event)

  • postNote

    Post a note using an existing private key (authenticated posting)

  • createNote

    Create a new kind 1 note event (unsigned)

  • signNote

    Sign a note event with a private key

  • publishNote

    Publish a signed note to Nostr relays

  • createNostrEvent

    Create an unsigned Nostr event of any kind (requires pubkey or privateKey to derive pubkey)

  • signNostrEvent

    Sign an unsigned Nostr event with a private key

  • publishNostrEvent

    Publish a signed Nostr event to relays

Use Nostr MCP 服务器 MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Nostr MCP 服务器 is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Nostr MCP 服务器 as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Nostr MCP 服务器 MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "nostr-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "nostr-mcp-server"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Nostr MCP 服务器 MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Nostr MCP 服务器 MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Nostr MCP 服务器 to help me with this task?
Nostr MCP 服务器
Sure. I read it.
Here is what I found using Nostr MCP 服务器.

Frequently asked questions

What is the Nostr MCP 服务器 MCP server used for?

Nostr MCP 服务器 is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Nostr MCP 服务器 MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Nostr MCP 服务器 with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Nostr MCP 服务器 MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Nostr MCP 服务器 connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Nostr MCP 服务器 MCP to TypingMind?

Nostr MCP 服务器 runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Nostr MCP 服务器 MCP provide in TypingMind?

Nostr MCP 服务器 exposes 40 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Nostr MCP 服务器 MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Nostr MCP 服务器 requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇