pablof7z 10fbca0824 feat: Add zap command for sending Bitcoin Lightning tips
- Implemented the `zap` command in the CLI to allow users to send sats to a user, event, or snippet using a NIP-60 wallet.
- Created a new `zap.ts` file to handle the command logic and integrated it into the MCP server.
- Added wallet balance command to check the balance of a user's wallet.
- Enhanced the MCP server to register the new zap command and wallet balance command.
- Introduced caching for wallets to optimize performance and reduce redundant network requests.
- Updated database schema to include snippets table for storing code snippets.
- Improved logging functionality for better debugging and tracking of operations.
- Added functionality to save snippets to the database upon retrieval.
- Updated project overview documentation to reflect new features and structure.
- Refactored existing commands and logic for better modularity and maintainability.
2025-04-08 18:10:16 +01:00
2025-03-29 09:34:43 +00:00
2025-03-29 09:34:43 +00:00
2025-03-31 12:26:50 +01:00
2025-03-29 09:34:43 +00:00
2025-03-29 09:34:43 +00:00
2025-03-29 09:34:43 +00:00
2025-03-29 09:34:43 +00:00
2025-03-29 09:34:43 +00:00
2025-03-29 09:34:43 +00:00
2025-03-29 09:34:43 +00:00
2025-03-29 09:34:43 +00:00
2025-03-29 09:34:43 +00:00
2025-03-29 09:34:43 +00:00
2025-03-29 09:34:43 +00:00

MCP-NOSTR: Nostr Publisher for Model Context Protocol

A bridge between the Model Context Protocol (MCP) and the Nostr network, enabling AI language models to publish content to Nostr.

Features

  • Implements the Model Context Protocol for interacting with AI language models
  • Provides CLI commands for managing Nostr identities, profiles, and content
  • Publishes AI-generated content to the Nostr network
  • Supports Web of Trust (WoT) for verified connections
  • Manages user profiles and follows

Installation

bunx mcp-code mcp

From source

# Clone the repository
git clone https://github.com/pablof7z/mcp-nostr.git
cd mcp-nostr

# Install dependencies
bun install

# Build the executable
bun run build

Usage

As an MCP Server

Run without arguments to start the MCP server mode, which listens for MCP protocol messages on stdin and responds on stdout:

./mcp-code

CLI Commands

The tool also provides various command-line utilities for managing Nostr profiles and content:

# See available commands
./mcp-code --help

Configuration

Configuration is stored in ~/.mcp-nostr.json:

Development

# Run linting
bun run lint

# Format code
bun run format

# Check and fix issues
bun run check

Dependencies

License

MIT

Description
No description provided
Readme 150 KiB
Languages
TypeScript 100%