Skip to content

v0.2.0 · pay-per-call and MCP

Choose a tag to compare

@harnessagent-dev harnessagent-dev released this 30 Nov 17:36
· 3 commits to main since this release
31c0169

Pay-per-call and MCP. Same contract, nothing redeployed.

  • SDK: agent.fetch(url) pays x402 APIs (v1 and v2, USDG on Robinhood Chain) from a small float the pouch refills inside its rules. allowHosts and maxPerCall are enforced by the SDK.
  • MCP server: npx -y github:harnessagent-dev/harness mcp gives Claude, Cursor or any MCP client harness_status, harness_pay, harness_request, harness_fetch and harness_receipts.
  • App: turn pay-per-call on when opening a pouch, or on/off per pouch.
  • Tests: SDK end to end against real USDG and the deployed HarnessRules (14 checks), MCP server (7 checks).

Plainly: in pay-per-call mode a small USDG float sits with the agent. Keep it small. Details: docs/x402.md