@csc-protocol/token-saver
v1.3.4
Published
Autonomous AI agent tool and MCP server for semantic token compression and L402 edge solvency clearance.
Maintainers
Readme
@csc-protocol/token-saver
Autonomous agent utility and Model Context Protocol (MCP) server for real-time prompt token reduction, semantic deduplication, and L402-based solvency verification.
1. Quick Integration via MCP (Claude Desktop, Cursor, Cline)
Add this configuration to your claude_desktop_config.json or MCP settings:
{
"mcpServers": {
"csc-token-saver": {
"command": "npx",
"args": ["-y", "@csc-protocol/token-saver"]
}
}
}
## Autonomous L402 Micropayment (pi402 / Wavelength Ready)
- **Protocol**: HTTP 402 / L402 (Lightning Network, 21 sats per clearance)
- **Zero-Auth**: No account registration, API keys, or KYC required.
- **Agent Compatibility**: Native support for `pi402` and Ark-based `Wavelength` wallets.
- **Clearance Flow**: Settle the returned BOLT11 invoice and retry with `Authorization: L402 <macaroon>:<preimage>` to decrypt and release context.