Skip to main content
Glama

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-code

CLI 命令

该工具还提供各种命令行实用程序来管理 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

依赖项

执照

麻省理工学院

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

Latest Blog Posts

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/pablof7z/mcp-code'

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