Agent skill
neutronpay
Neutronpay MCP and SDK workflows for Lightning, stablecoin, and fiat payments.
Install this agent skill to your Project
npx add-skill https://github.com/OpenAgentsInc/openagents/tree/main/skills/neutronpay
Metadata
Additional technical details for this skill
- oa
-
{ "project": "neutronpay", "version": "0.1.0", "identifier": "neutronpay", "capabilities": [ "http:outbound", "filesystem:read", "process:spawn" ], "expires_at_unix": 1798761600 }
SKILL.md
Neutronpay
Overview
Integrate Neutronpay for agent-driven payments. Use this skill when tasks involve wiring the Neutron MCP server into AI tools (Cursor/Claude/Windsurf), building Neutron SDK backends, running Neutron AI-agent templates, or adding Lightning checkout flows in React apps.
Environment
- Requires
bash,curl, Node.js, andnpx. - Requires Neutron credentials from
portal.neutron.me. - Requires internet access to Neutron services and npm.
Use this skill for implementation and operations, not generic payments theory.
Workflow
- Pick the integration path first:
- MCP-first AI tool integration (
neutron-mcp) for assistants using tool calls. - SDK backend integration (
neutron-sdk) for invoices/payments/status APIs. - Agent runtime template (
neutron-ai-agent) for pay-per-task automation. - Frontend checkout (
neutron-react-payment-component) backed by SDK endpoints.
- Run preflight checks:
scripts/check-neutron-prereqs.sh mcpfor MCP configuration work.scripts/check-neutron-prereqs.sh sdkfor backend SDK work.scripts/check-neutron-prereqs.sh agentforneutron-ai-agentflows.
- Configure MCP from mcp-sdk-agent-integration:
- Add MCP server config to tool-specific settings.
- Inject
NEUTRON_API_KEYandNEUTRON_API_SECRETvia environment. - Restart/reload MCP and verify tool calls.
- Implement Neutron API path:
- For MCP usage: validate balance lookup and invoice creation end-to-end.
- For SDK usage: wire
lightning.createInvoice, transaction status checks, and webhook handling. - For agent usage: wire webhook secret validation and payment-to-task completion flow.
- Apply safety and policy controls:
- Never commit live API keys/secrets.
- Use per-environment credentials and explicit spend/risk limits.
- Require human confirmation for high-value sends.
Quick Commands
# MCP preflight
scripts/check-neutron-prereqs.sh mcp
# Run Neutron MCP server
npx -y neutron-mcp
# SDK install in a repo
npm install neutron-sdk
Reference Files
- mcp-sdk-agent-integration: MCP setup, SDK entrypoints, agent template, and checkout wiring.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
autopilot-data-seller
Conversational seller-authoring policy for DS-first Data Market listings in OpenAgents.
l402
L402 agent commerce workflows with lnd, lnget, scoped macaroons, aperture, and MCP.
cast
Charms CAST DEX workflows for order creation, cancellation/replacement, partial fulfillment, signing, and Bitcoin transaction verification.
autopilot-pane-control
OpenAgents desktop pane and CAD control for Codex via openagents.* tool calls.
charms
Charms workflows for Bitcoin app contracts, spell proving, and UTXO asset operations.
autopilot-data-market-control
Typed OpenAgents DS-first Data Market tool contract for seller publication and market read-back.
Didn't find tool you were looking for?