Skip to main content
Glama

Nostr MCP Server

🌐 Nostr MCP 서버

AI 모델이 Nostr와 상호 작용할 수 있도록 하는 MCP(모델 컨텍스트 프로토콜) 서버로, 이를 통해 메모를 게시하고 언론의 자유 프로토콜과 상호 작용할 수 있습니다.

LLM에서도 검열 저항은 중요합니다.

그런데,지금 당장 Nostr에 가입하세요!

🚀 특징

  • 📝 Nostr 네트워크에 메모를 게시하세요
  • 🔌 여러 릴레이에 연결
  • 🤖 AI 통합을 위한 MCP 호환 API
  • 💸 Nostr 사용자에게 Lightning zaps 전송(WIP)
  • 📡 실시간 통신을 위한 SSE(Server-Sent Events) 지원

👷‍♂️ 할 일

  • [ ] 여러 개의 동시 연결에 대한 지원 추가
  • [ ] stdin 전송 모드 구현(환경 변수를 통해 구성 가능)

📋 필수 조건

  • 노드.js 18+

🛠️ 설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 Nostr MCP Server를 자동으로 설치하려면:

지엑스피1

수동 설치

  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

노스트르 사용자에게 번개 충격을 보냅니다.

입력 예시:

{ "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 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.

🔗 리소스

📬 문의하기

원하시면 내 공개 키를 사용하여 나를 팔로우하세요.

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. 👷‍♂️ 할 일
      1. 📋 필수 조건
        1. 🛠️ 설치
          1. Smithery를 통해 설치
          2. 수동 설치
        2. 🚦 사용법
          1. 서버 시작
          2. 사용 가능한 도구
        3. 🔧 개발
          1. 프로젝트 구조
          2. 테스트 실행
        4. 🤝 기여하기
          1. 📜 라이센스
            1. 🔗 리소스
              1. 📬 문의하기

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  A Model Context Protocol (MCP) server that exposes the official Notion SDK, allowing AI models to interact with Notion workspaces.
                  Last updated -
                  17
                  535
                  8
                  TypeScript
                  Apache 2.0
                  • Apple
                  • Linux
                • A
                  security
                  A
                  license
                  A
                  quality
                  A Model Context Protocol server that enables LLMs like Claude to interact with the Nostr social network, allowing for fetching user profiles, text notes, and zap payment information.
                  Last updated -
                  5
                  29
                  TypeScript
                  MIT License
                  • Apple
                • -
                  security
                  A
                  license
                  -
                  quality
                  A Model Context Protocol server that provides a standardized interface for AI models to access, query, and modify content in Notion workspaces.
                  Last updated -
                  643
                  4
                  TypeScript
                  MIT License
                  • Apple
                • -
                  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 -
                  4
                  5
                  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