What is the dev.forgesworn/402-mcp MCP server?
AI agents discover, pay for, and consume any Lightning-gated API autonomously
How to install dev.forgesworn/402-mcp
Copy-paste configuration for popular MCP clients.
transport: stdio
Config generated by PluginBench — verify against the source before use.Environment / auth
NWC_URIsecretNostr Wallet Connect URI for autonomous Lightning payments
MAX_AUTO_PAY_SATSMaximum sats to auto-pay per request
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"402-mcp": {
"command": "npx",
"args": [
"-y",
"402-mcp"
],
"env": {
"NWC_URI": "<YOUR_NWC_URI>",
"MAX_AUTO_PAY_SATS": "<YOUR_MAX_AUTO_PAY_SATS>"
}
}
}
}Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"402-mcp": {
"command": "npx",
"args": [
"-y",
"402-mcp"
],
"env": {
"NWC_URI": "<YOUR_NWC_URI>",
"MAX_AUTO_PAY_SATS": "<YOUR_MAX_AUTO_PAY_SATS>"
}
}
}
}Windsurf
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"402-mcp": {
"command": "npx",
"args": [
"-y",
"402-mcp"
],
"env": {
"NWC_URI": "<YOUR_NWC_URI>",
"MAX_AUTO_PAY_SATS": "<YOUR_MAX_AUTO_PAY_SATS>"
}
}
}
}VS Code
.vscode/mcp.json
{
"servers": {
"402-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"402-mcp"
],
"env": {
"NWC_URI": "<YOUR_NWC_URI>",
"MAX_AUTO_PAY_SATS": "<YOUR_MAX_AUTO_PAY_SATS>"
}
}
}
}Claude Code
claude mcp add 402-mcp --env NWC_URI=<YOUR_NWC_URI> --env MAX_AUTO_PAY_SATS=<YOUR_MAX_AUTO_PAY_SATS> -- npx -y 402-mcpRelated MCP servers
Trust-aware Nostr for AI agents -- 235 tools covering social, DMs, zaps, trust, and identity
View repository →Fair meeting point discovery for AI agents with isochrone-based travel time fairness
View repository →