返回市场
诺斯特代码片段MCP

诺斯特代码片段MCP

作者:nodetec2 星标更新:2025-04-08

项目介绍

🤖 nostr-code-snippet-mcp

视频演示

在你的claude配置文件中添加以下内容:

{
  "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"
      }
    }
  }
}

注意:确保替换<path to>为你克隆仓库的实际路径

配置文件的位置取决于你的操作系统:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json

开发

安装依赖:

npm install

构建项目:

npm run build

运行检查器:

npm run inspect