
Research
/Security News
Popular npm Packages in the keyv and Cacheable Namespaces Compromised in Active Supply Chain Attack
Popular npm packages keyv and cacheable compromised.
@lightning-tools/mcp-server
Advanced tools
MCP server for Lightning Tools — pay-per-call AI tools via Bitcoin Lightning
Use Lightning Tools directly inside any MCP-compatible AI agent.
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"lightning-tools": {
"command": "npx",
"args": ["@lightning-tools/mcp-server"]
}
}
}
If you already have an API key, pass it as an environment variable to skip the payment step:
{
"mcpServers": {
"lightning-tools": {
"command": "npx",
"args": ["@lightning-tools/mcp-server"],
"env": {
"LIGHTNING_TOOLS_API_KEY": "sk_..."
}
}
}
}
Your API key can also be set in the environment directly:
export LIGHTNING_TOOLS_API_KEY=sk_...
The env var takes priority over any saved config. To persist a key without the payment flow, write it directly to ~/.config/lightning-tools/config.json:
{ "apiKey": "sk_..." }
buy_credits with a quantity (minimum 1000).verify_payment with the invoiceId and quantity from step 1.| Tool | Description |
|---|---|
buy_credits | Purchase credits via Bitcoin Lightning invoice |
verify_payment | Confirm payment and unlock all service tools |
check_balance | Check your current credit balance |
| Tool | Description | Cost |
|---|---|---|
validate_email | Validate an email address | 1–5 credits |
calculate | Evaluate a mathematical expression | 1 credit |
generate_qr_code | Generate a QR code | 1 credit |
validate_phone | Validate a phone number | 1 credit |
readability | Extract article content from a URL | 2 credits |
Credits are denominated in satoshis — 1 sat = 1 credit.
FAQs
MCP server for Lightning Tools — pay-per-call AI tools via Bitcoin Lightning
The npm package @lightning-tools/mcp-server receives a total of 19 weekly downloads. As such, @lightning-tools/mcp-server popularity was classified as not popular.
We found that @lightning-tools/mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.

Security News
/Company News
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.