AI agents discover, pay for, and consume any Lightning-gated API autonomously
Connect Runs on your machine
claude mcp add 402-mcp -e NWC_URI=<NWC_URI> -e MAX_AUTO_PAY_SATS=<MAX_AUTO_PAY_SATS> -- npx -y [email protected]
{
"mcpServers": {
"402-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"NWC_URI": "<NWC_URI>",
"MAX_AUTO_PAY_SATS": "<MAX_AUTO_PAY_SATS>"
}
}
}
}
{
"mcpServers": {
"402-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"NWC_URI": "<NWC_URI>",
"MAX_AUTO_PAY_SATS": "<MAX_AUTO_PAY_SATS>"
}
}
}
}
{
"servers": {
"402-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"NWC_URI": "<NWC_URI>",
"MAX_AUTO_PAY_SATS": "<MAX_AUTO_PAY_SATS>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
NWC_URIOptional, secret | Nostr Wallet Connect URI for autonomous Lightning payments |
MAX_AUTO_PAY_SATSOptional | Maximum sats to auto-pay per request |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 7 Apr 2026 |
| Last updated | 7 Apr 2026 |
| Registry name | dev.forgesworn/402-mcp |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
