Skip to main content
Glama

Nostr MCP Server

🌐 Nostr MCP サーバー

AI モデルが Nostr と対話してメモを投稿したり、言論の自由プロトコルと対話したりできるようにするモデル コンテキスト プロトコル (MCP) サーバー。

検閲耐性は、法学修士課程にとっても重要です。

ところで、今すぐNostrに参加しましょう!

🚀 機能

  • 📝 Nostrネットワークにメモを投稿する
  • 🔌 複数のリレーに接続する
  • 🤖 AI統合のためのMCP準拠API
  • 💸 Nostr ユーザーに Lightning の電撃を送信する (WIP)
  • 📡 リアルタイム通信のためのサーバー送信イベント(SSE)サポート

👷‍♂️ TODO

  • [ ] 複数同時接続のサポートを追加
  • [ ] stdinトランスポートモードを実装する(環境変数で設定可能)

📋 前提条件

  • Node.js 18歳以上

🛠️ インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Nostr MCP Server を自動的にインストールするには:

npx -y @smithery/cli install @AbdelStark/nostr-mcp --client claude

手動インストール

  1. リポジトリをクローンします。
git clone https://github.com/AbdelStark/nostr-mcp cd nostr-mcp
  1. 依存関係をインストールします:
npm install
  1. .envファイルを作成します。

💡 .env.exampleファイルをコピーし、必要に応じて変更できます。

# Log level (debug, info, warn, error) LOG_LEVEL=debug # Node environment (development, production) NODE_ENV=development # List of Nostr relays to connect to NOSTR_RELAYS=wss://relay.damus.io,wss://relay.primal.net,wss://nos.lol # Your Nostr private key (starts with nsec) NOSTR_NSEC_KEY=your_nsec_key_here # Server mode (stdio or sse) SERVER_MODE=sse # Port for SSE mode PORT=9000

🚦 使用方法

サーバーの起動

# Development mode with hot reload npm run dev # Production mode npm start

利用可能なツール

post_note

Nostr ネットワークに新しいメモを投稿します。

入力例:

{ "content": "Hello from Nostr! 👋" }
send_zap

Nostr ユーザーに Lightning の電撃を送ります。

入力例:

{ "nip05Address": "user@domain.com", "amount": 1000 }

🔧 開発

プロジェクト構造

nostr-mcp/ ├── src/ │ ├── index.ts # Main server entry point │ ├── nostr-client.ts # Nostr client implementation │ └── types.ts # TypeScript type definitions ├── .env # Environment configuration └── tsconfig.json # TypeScript configuration

テストの実行

npm test

🤝 貢献する

  1. リポジトリをフォークする
  2. 機能ブランチを作成します( git checkout -b feature/amazing-feature
  3. 変更をコミットします ( git commit -m 'Add some amazing feature' )
  4. ブランチにプッシュする ( git push origin feature/amazing-feature )
  5. プルリクエストを開く

📜 ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。

🔗 リソース

📬 お問い合わせ

よろしければ、私の公開鍵を使ってお気軽にフォローしてください。

npub1hr6v96g0phtxwys4x0tm3khawuuykz6s28uzwtj5j0zc7lunu99snw2e29

または、この QR コードをスキャンして私を見つけてください:

Nostr公開鍵QRコード


-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

AI モデルが Nostr ネットワークと対話できるようにし、メモの投稿や言論の自由プロトコルとの対話を容易にするモデル コンテキスト プロトコル (MCP) サーバー。

  1. 🚀 機能
    1. 👷‍♂️ TODO
      1. 📋 前提条件
        1. 🛠️ インストール
          1. Smithery経由でインストール
          2. 手動インストール
        2. 🚦 使用方法
          1. サーバーの起動
          2. 利用可能なツール
        3. 🔧 開発
          1. プロジェクト構造
          2. テストの実行
        4. 🤝 貢献する
          1. 📜 ライセンス
            1. 🔗 リソース
              1. 📬 お問い合わせ

                Related MCP Servers

                • -
                  security
                  A
                  license
                  -
                  quality
                  A Model Context Protocol (MCP) server that allows AI agents like Claude to interact with the Aligo SMS API to send text messages and retrieve related information.
                  Last updated -
                  JavaScript
                  MIT License
                • -
                  security
                  A
                  license
                  -
                  quality
                  A bridge that enables AI language models to publish content to the Nostr network by implementing the Model Context Protocol (MCP).
                  Last updated -
                  226
                  4
                  TypeScript
                  MIT License
                • A
                  security
                  A
                  license
                  A
                  quality
                  A Model Context Protocol (MCP) server for LeetCode that enables AI assistants to access LeetCode problems, user information, and contest data.
                  Last updated -
                  7
                  1
                  TypeScript
                  MIT License

                View all related MCP servers

                MCP directory API

                We provide all the information about MCP servers via our MCP API.

                curl -X GET 'https://glama.ai/api/mcp/v1/servers/AbdelStark/nostr-mcp'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server