# 402

> Use this tool when you need to enable AI agents to interact with payment-gated APIs autonomously, solving problems of restricted access to paid services and manual payment intervention. The 402 MCP server takes inputs such as API announcements and payment methods, and outputs encrypted credentials and payment confirmations, allowing agents to make micropayments via various channels. It is ideal for use cases requiring economic agency and autonomous decision-making in AI systems.

Canonical page: https://skillsregistry.net/skills/forgesworn-402  
JSON: https://api.skillsregistry.net/v1/skills/forgesworn-402

## Description

The 402 MCP server gives AI agents economic agency by enabling them to interact with payment-gated APIs without human intervention. Agents can discover paid APIs announced via Nostr, make autonomous micropayments via Lightning (NWC), Cashu ecash, or prompt a human for QR code payment as a fallback, and store encrypted credentials locally. It supports any L402-compliant server and includes configurable spending caps for safety.

## Trust

- **Trust score (0–1):** 0.82
- **Verification tier:** scanned
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** finance
- **Updated:** 2026-09-28

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/forgesworn-402)
- **Repository:** <https://github.com/forgesworn/402-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "forgesworn-402"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/forgesworn-402` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/forgesworn-402/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
