MCP ExplorerExplorer

Nostr Code Snippet Mcp

@nodetecon 9 months ago
3 MIT
FreeCommunity
AI Systems
#mcp#nostr
🤖 code snippet mcp server

Overview

What is Nostr Code Snippet Mcp

nostr-code-snippet-mcp is a code snippet MCP server designed to facilitate the management and execution of code snippets within applications.

Use cases

Use cases include running code snippets for testing purposes, teaching programming concepts, and automating tasks within applications.

How to use

To use nostr-code-snippet-mcp, add the provided configuration to your Claude config file, ensuring to replace ‘’ with the actual path where the repository is cloned.

Key features

Key features include easy integration with Claude, the ability to execute JavaScript code snippets, and customizable command-line arguments.

Where to use

nostr-code-snippet-mcp can be used in software development environments, educational platforms, and any application requiring dynamic code execution.

Content

🤖 nostr-code-snippet-mcp

video demo

Add this to your claude config file:

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

NOTE: be sure to replace <path to> with the path to wherever you cloned the repo

The configuration file location depends on your operating system:

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

Development

Install dependencies:

npm install

Build the project:

npm run build

Run the inspector:

npm run inspect

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers