An open API service indexing awesome lists of open source software.

https://github.com/nodetec/nostr-code-snippet-mcp

🤖 code snippet mcp server
https://github.com/nodetec/nostr-code-snippet-mcp

mcp nostr

Last synced: 27 days ago
JSON representation

🤖 code snippet mcp server

Awesome Lists containing this project

README

          

# 🤖 nostr-code-snippet-mcp

[video demo](https://v.nostr.build/RSMqDK9pwTIm6bxu.mp4)

Add this to your claude config file:

```json
{
"mcpServers": {
"nostr-code-snippet-mcp": {
"command": "node",
"args": ["/Users//nostr-code-snippet-mcp/dist/index.js"],
"env": {
"NSEC": "",
"RELAYS": "wss://relay.damus.io,wss://relay.snort.social"
}
}
}
}
```

**NOTE**: be sure to replace `` 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:

```bash
npm install
```

Build the project:

```bash
npm run build
```

Run the inspector:

```bash
npm run inspect
```