MCP-NOSTR:模型上下文协议的 Nostr 发布器
模型上下文协议 (MCP) 和 Nostr 网络之间的桥梁,使 AI 语言模型能够将内容发布到 Nostr。
特征
实现与 AI 语言模型交互的模型上下文协议
提供用于管理 Nostr 身份、配置文件和内容的 CLI 命令
将 AI 生成的内容发布到 Nostr 网络
支持信任网络 (WoT) 以验证连接
管理用户资料并关注
Related MCP server: MCP Server
安装
bunx mcp-code mcp从源头
# 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用法
作为 MCP 服务器
不带参数运行以启动 MCP 服务器模式,该模式在 stdin 上监听 MCP 协议消息并在 stdout 上做出响应:
./mcp-codeCLI 命令
该工具还提供各种命令行实用程序来管理 Nostr 配置文件和内容:
# See available commands
./mcp-code --help配置
配置存储在~/.mcp-nostr.json中:
发展
# Run linting
bun run lint
# Format code
bun run format
# Check and fix issues
bun run check依赖项
@modelcontextprotocol/sdk - 模型上下文协议的 SDK
@nostr-dev-kit/ndk - Nostr 开发套件
@nostr-dev-kit/ndk-wallet - NOSTR 钱包集成
commander - 命令行界面框架
yaml - YAML 解析和序列化
执照
麻省理工学院
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.