agent402-mcp 0.13.1 → 0.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +3 -3
  2. package/index.js +1 -0
  3. package/package.json +6 -6
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # agent402-mcp
2
2
 
3
- MCP server for [Agent402](https://agent402.tools), the applied layer of [Agentic Finance](https://agent402.tools/agentic-finance) - a catalog of **500+: 400+ pay-per-call web tools + 100+ curated multi-tool skill packs** for AI agents (every one tested, priced, and settled on-chain; every one earns its place), paid per call in USDC via the [x402 protocol](https://www.x402.org), **with compute (proof-of-work)** when no wallet is configured, or **by card** through a prepaid credits key. (The hosted API is dual-stack: it also accepts [MPP](https://agent402.tools/what-is-mpp) clients on the same 402, settling on Base/Celo or natively on Tempo; this package pays via x402 or credits.) Built by [Havok Holdings LLC](https://github.com/MikeyPetrillo/Agent402).
3
+ MCP server for [Agent402](https://agent402.tools), the applied layer of [Agentic Finance](https://agent402.tools/agentic-finance) - a catalog of **500+: 400+ pay-per-call web tools + 80+ curated multi-tool skill packs** for AI agents (every one tested, priced, and settled on-chain; every one earns its place), paid per call in USDC via the [x402 protocol](https://www.x402.org), **with compute (proof-of-work)** when no wallet is configured, or **by card** through a prepaid credits key. (The hosted API is dual-stack: it also accepts [MPP](https://agent402.tools/what-is-mpp) clients on the same 402, settling on Base/Celo or natively on Tempo; this package pays via x402 or credits.) Built by [Havok Holdings LLC](https://github.com/MikeyPetrillo/Agent402).
4
4
 
5
5
  Your agent gets browser rendering, screenshots, PDF text extraction, URL→markdown, live web search **+ web answers with citations**, live **financial/crypto/macro data** (Yahoo stock quotes, CoinGecko, FRED, ECB FX, World Bank, yield curve), **SEC EDGAR filings** (10-K/10-Q text, XBRL, insider, 13F, IPO calendar), **deterministic stats & forecasting** (Pearson correlation, OLS, Holt-Winters), **compression** (gzip/brotli), DNS/TLS/WHOIS + email-deliverability checks, wallet-keyed shared memory, and 200+ deterministic pure-CPU utilities - plus 100+ **skill packs** like `security-audit`, `trend-analysis`, `structured-scrape`, `decode-blob`, and `forecasting-bake-off` callable as MCP prompts, and the **report products** (deep research, company dossier, 13F fund report, domain audit, token risk, FDA recall, insider flow, market brief) as ordinary catalog slugs. Payment handled invisibly underneath the MCP calls. No signup, no API key.
6
6
 
@@ -76,8 +76,8 @@ caps, what's been spent, and what remains. With no wallet key and no credits key
76
76
  the server runs in proof-of-work mode (pure-CPU tools stay free). Use dedicated
77
77
  low-value wallets for `AGENT_KEY` / `SOLANA_AGENT_KEY`, funded only with what
78
78
  you intend to spend. Most tools cost $0.001–$0.02. The routing tiers top out
79
- at $0.55 (`route-execute-max`); multi-tool skill packs run up to $1.50; and the
80
- report products run $0.20 to $1.10 per report (domain-audit $0.20 up to research-max $1.10),
79
+ at $3.30 (`route-execute-pro`); multi-tool skill packs run $0.003 to $0.119; and the
80
+ report products run $0.60 to $2.00 per report (domain-audit $0.60 up to the ticker pack at $2.00),
81
81
  so set `AGENT402_MAX_PER_CALL` if you want a hard per-call ceiling.
82
82
 
83
83
  ## How it works
package/index.js CHANGED
@@ -139,6 +139,7 @@ function getPayFetch() {
139
139
  const { x402Client } = await import("@x402/core/client");
140
140
  const { wrapFetchWithPayment } = await import("@x402/fetch");
141
141
  const client = new x402Client();
142
+ client.setSpendControls?.(false); // @x402/core 2.23+ defaults to a $1 pegged-assets-only cap; this package bounds spend itself
142
143
  if (AGENT_KEY) {
143
144
  const { registerExactEvmScheme } = await import("@x402/evm/exact/client");
144
145
  const { privateKeyToAccount } = await import("viem/accounts");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent402-mcp",
3
- "version": "0.13.1",
3
+ "version": "0.13.2",
4
4
  "mcpName": "io.github.MikeyPetrillo/agent402",
5
5
  "author": "Havok Holdings LLC <mike@agent402.tools> (https://agent402.tools)",
6
6
  "homepage": "https://agent402.tools",
@@ -71,16 +71,16 @@
71
71
  "dependencies": {
72
72
  "@modelcontextprotocol/sdk": "^1.30.0",
73
73
  "@solana/kit": "^5.1.0",
74
- "@x402/core": "2.21.0",
75
- "@x402/evm": "2.21.0",
76
- "@x402/fetch": "2.21.0",
77
- "@x402/svm": "2.21.0",
74
+ "@x402/core": "2.26.0",
75
+ "@x402/evm": "2.26.0",
76
+ "@x402/fetch": "2.26.0",
77
+ "@x402/svm": "2.26.0",
78
78
  "viem": "^2.21.0"
79
79
  },
80
80
  "overrides": {
81
81
  "qs": "6.16.0",
82
82
  "ws": "^8.21.0",
83
- "hono": "4.12.34",
83
+ "hono": "4.13.7",
84
84
  "fast-uri": "3.1.7",
85
85
  "body-parser": "2.3.0",
86
86
  "@hono/node-server": "2.0.12",