nostr-code-snippet-mcp
by nodetec
This is a nostr code snippet server designed for use with Claude. It allows Claude to execute code snippets within the Nostr ecosystem.
Last updated: N/A
What is nostr-code-snippet-mcp?
nostr-code-snippet-mcp is a server designed to enable Claude to execute code snippets related to the Nostr protocol. It acts as a Message Content Provider (MCP) server for Claude.
How to use nostr-code-snippet-mcp?
To use this server, you need to add the provided configuration to your Claude config file (claude_desktop_config.json). Ensure you replace <path to>
with the actual path to the cloned repository. You also need to set the NSEC
and RELAYS
environment variables.
Key features of nostr-code-snippet-mcp
Code execution within Nostr environment
Integration with Claude
Configurable relays
Supports NSEC key
Use cases of nostr-code-snippet-mcp
Automated Nostr interactions via Claude
Code snippet execution for Nostr development
Nostr-related tasks automation
Integrating Nostr functionality into Claude workflows
FAQ from nostr-code-snippet-mcp
Where is the Claude config file located?
Where is the Claude config file located?
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
What do I need to configure?
What do I need to configure?
You need to replace <path to>
with the actual path to the cloned repository and set the NSEC
and RELAYS
environment variables.
What is NSEC?
What is NSEC?
NSEC is your Nostr private key.
What are RELAYS?
What are RELAYS?
RELAYS are the Nostr relays the server will connect to.
How do I build the project?
How do I build the project?
Run npm install
to install dependencies and then npm run build
to build the project.