three.ws Agent Payments
NPM · @THREE-WS/AGENTCORE-PAYMENTS-MCP · SCANNED AUG 3
Governed x402 payment sessions: pay any endpoint with budget, allowlist & per-tx caps, no key.
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →
Supply Chain Security87
- No malware found by supply-chain analysis.Pass
- Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.Partial
- No install/post-install scripts declared.Pass
- Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (Apache-2.0).Pass
- Actively maintained (last published 21 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability71
- AI-judged instruction clarity (excellent).Pass
- Context-footprint check failed: tool/resource definitions use about 909 tokens (~181/item across 5 items; 5 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management0
- Stability not yet verified: not enough scan history yet (needs a 30-day window).Unverified
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Unverified: 1 category
A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · @three-ws/agentcore-payments-mcp
claude mcp add nirholas-agentcore-payments-mcp -- npx -y @three-ws/agentcore-payments-mcp
codex mcp add nirholas-agentcore-payments-mcp -- npx -y @three-ws/agentcore-payments-mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"nirholas-agentcore-payments-mcp": {
"type": "local",
"command": [
"npx",
"-y",
"@three-ws/agentcore-payments-mcp"
],
"enabled": true
}
}
} openclaw mcp add nirholas-agentcore-payments-mcp --command npx --arg -y --arg @three-ws/agentcore-payments-mcp
mcp_servers:
nirholas-agentcore-payments-mcp:
command: "npx"
args: ["-y", "@three-ws/agentcore-payments-mcp"] {
"mcpServers": {
"nirholas-agentcore-payments-mcp": {
"command": "npx",
"args": [
"-y",
"@three-ws/agentcore-payments-mcp"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 2 Aug 26 +45
- Provenance: unverified → fail ▼ security
- Install scripts: unverified → pass ▲ security
- Known CVEs: unverified → partial ▲ security
- Malware scan: unverified → pass ▲ security
- Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
- Schema quality: unverified → excellent ▲ functional
- License: unverified → pass ▲ functional
- Dependency health: unverified → partial ▲ functional
- Maintenance: unverified → pass ▲ functional
- MCP protocol: unverified → pass ▲ functional
- Licence: Apache-2.0 functional
- 1 Aug 26 −7
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 31 Jul 26 −18
- Malware scan: pass → unverified ▼ security
- 27 Jul 26 44
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 3 Aug 2026 · Analysed npm/@three-ws/[email protected]
Provenance none
Ecosystem: npm · Outcome: none
Dependencies 95 packages
95 packages in the resolved dependency tree · 95 deprecated · 29 stale.
The dependency tree was only partially resolved, so these counts may be incomplete.
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
cancel_payment_session Cancel a payment session and refund unused budget ~73
Cancel an active payment session. The un-spent portion of the budget is immediately refunded to your credit balance. Already-completed payments are not reversed. Idempotent — safe to call on an already-cancelled session. Requires THREE_WS_SESSION.
| Name | Type | Req | Description |
|---|---|---|---|
| session_id | string | yes | UUID of the session to cancel. |
No output schema declared.
No examples provided.
check_payment_session Check a payment session's budget and status ~105
Inspect a payment session: budget, amount spent, remaining budget, status (active/exhausted/expired/cancelled), expiry time, allowlist, and per-tx ceiling. Optionally include recent payment executions. Requires THREE_WS_SESSION (only the session owner can read it).
| Name | Type | Req | Description |
|---|---|---|---|
| include_executions | boolean | — | If true, include the 10 most recent payment executions for this session. |
| session_id | string | yes | UUID of the payment session to inspect. |
No output schema declared.
No examples provided.
create_payment_session Create a funded agent payment session ~303
Create a platform-managed payment session that funds agent x402 payments from your credits. The agent never needs a private key — it uses the returned session token to call pay_with_session. Governance enforces your budget_usd ceiling, optional per-payment cap (max_per_tx_usd), URL allowlist, and time expiry. Un-spent budget is automatically refunded on cancel or expiry. Returns: session object + token (shown once — store securely). Requires THREE_WS_SESSION.
| Name | Type | Req | Description |
|---|---|---|---|
| agent_id | string | — | Optional: restrict this session token to a specific agent identity UUID. |
| allowed_hosts | array | — | If set, only allow payments to endpoints at these hosts (e.g. ["api.weather.com"]). Empty = any host. |
| budget_usd | number | yes | Total budget in USD to allocate to this session (drawn from your credits). Min $0.001, max $1000. |
| expiry_seconds | integer | — | Session lifetime in seconds. After expiry, payments are rejected. Default: 3600 (1 hour). |
| label | string | — | Human-readable label for this session (e.g. "Research run #4"). |
| max_per_tx_usd | number | — | Optional per-payment ceiling in USD. Payments exceeding this are rejected before any money moves. |
| metadata | object | — | Optional arbitrary metadata to attach to this session for bookkeeping. |
| network | string | — | Settlement network for x402 payments. Solana USDC only. |
No output schema declared.
No examples provided.
list_payment_sessions List payment sessions and spending stats ~88
List your payment sessions with aggregate spending stats. Filter by status. Stats include: total budget allocated, total spent, active/exhausted/expired counts, settled payment count, and unique endpoints paid. Requires THREE_WS_SESSION.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | — | Number of sessions to return (max 100). |
| status | string | — | Filter by session status. Omit to return all sessions. |
No output schema declared.
No examples provided.
pay_with_session Pay an x402 endpoint via a payment session ~190
Execute an x402 micropayment against a paid API or MCP endpoint using a Payment Session token. The platform signs the Solana USDC transfer — no private key needed by the agent. Governance enforces budget limits, URL allowlists, and per-tx ceilings before any money moves. Endpoints that respond without a 402 are called for free. Returns the endpoint's response + payment receipt. Uses PAYMENT_SESSION_TOKEN env var if token is not passed inline.
| Name | Type | Req | Description |
|---|---|---|---|
| body | object | — | JSON body for POST requests. |
| idempotency_key | string | — | Optional idempotency key to prevent double-billing on retries. |
| method | string | — | HTTP method. Default: GET. |
| token | string | — | Payment session token (starts with "pss_"). Falls back to PAYMENT_SESSION_TOKEN env var. |
| url | string | yes | The x402 endpoint URL to pay and call. |
No output schema declared.
No examples provided.