Nwc MCP
Lightning wallet for AI agents via Nostr Wallet Connect (NIP-47): budget caps, confirm…
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.2.3
- Listing updated
- 5 days ago
About Nwc MCP
Nwc MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Lightning wallet for AI agents via Nostr Wallet Connect (NIP-47): budget caps, confirm, audit log.
Install
Run in a terminal
claude mcp add nwc-mcp --env NWC_CONNECTION_STRING='<NWC_CONNECTION_STRING>' -- npx -y nwc-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"nwc-mcp": {
"command": "npx",
"args": [
"-y",
"nwc-mcp"
],
"env": {
"NWC_CONNECTION_STRING": "<NWC_CONNECTION_STRING>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"nwc-mcp": {
"command": "npx",
"args": [
"-y",
"nwc-mcp"
],
"env": {
"NWC_CONNECTION_STRING": "<NWC_CONNECTION_STRING>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"nwc-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"nwc-mcp"
],
"env": {
"NWC_CONNECTION_STRING": "<NWC_CONNECTION_STRING>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"nwc-mcp": {
"command": "npx",
"args": [
"-y",
"nwc-mcp"
],
"env": {
"NWC_CONNECTION_STRING": "<NWC_CONNECTION_STRING>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"nwc-mcp": {
"command": "npx",
"args": [
"-y",
"nwc-mcp"
],
"env": {
"NWC_CONNECTION_STRING": "<NWC_CONNECTION_STRING>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
NWC_CONNECTION_STRINGNostr Wallet Connect connection string (nostr+walletconnect://...)RequiredNWC_DAILY_BUDGET_SATSDaily spend cap in satsNWC_READ_ONLYSet true to block all spend tools
Pricing
Open source
Nwc MCP FAQ
Is Nwc MCP free?
Yes. Nwc MCP is open source, so you can use and self-host it for free.
How do I add Nwc MCP to Claude Code?
Run this command in your terminal: claude mcp add nwc-mcp --env NWC_CONNECTION_STRING='<NWC_CONNECTION_STRING>' -- npx -y nwc-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.