MCP.so
登录

nostr-code-snippet-mcp MCP Server

@nodetec

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

nodetec

关于 nostr-code-snippet-mcp MCP Server

🤖 code snippet mcp server

nostr-code-snippet-mcp MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "nostr-code-snippet-mcp": {
      "command": "node",
      "args": [
        "/Users/<path to>/nostr-code-snippet-mcp/dist/index.js"
      ],
      "env": {
        "NSEC": "<some nsec>",
        "RELAYS": "wss://relay.damus.io,wss://relay.snort.social"
      }
    }
  }
}

nostr-code-snippet-mcp MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is nostr-code-snippet-mcp?

An MCP server that integrates with Nostr for managing code snippets. It is configured for use with the Claude desktop app and requires a Nostr secret key (nsec) and a list of relay URLs.

How to use nostr-code-snippet-mcp?

Install dependencies with npm install, build the project with npm run build, then add the server configuration to your Claude desktop config file (location varies by OS) with the NSEC and RELAYS environment variables set.

Key features of nostr-code-snippet-mcp

  • Nostr integration for code snippets
  • Configurable relay list
  • Requires authentication via nsec
  • Designed for Claude desktop app
  • Cross‑platform configuration support

Use cases of nostr-code-snippet-mcp

  • Sharing code snippets via Nostr from within Claude
  • Securely sending snippets using a Nostr secret key
  • Using custom relay lists for snippet distribution

常见问题

1

What is an NSEC?

An NSEC is a Nostr secret key (private key) used to authenticate and sign events on the Nostr network.

2

How do I configure the relays?

Add a comma‑separated list of WebSocket relay URLs to the `RELAYS` environment variable in your Claude config file.

3

Where is the Claude config file located?

On macOS it is at `~/Library/Application Support/Claude/claude_desktop_config.json`, on Linux at `~/.config/Claude/claude_desktop_config.json`, and on Windows at `%APPDATA%/Claude/claude_desktop_config.json`.

4

What dependencies are required?

Node.js and npm are required to build and run the server. Install dependencies with `npm install`.

评论

开发工具 分类下的更多 MCP 服务器