agent402-mcp 0.13.0 → 0.13.1
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.
- package/README.md +3 -3
- package/index.js +1 -1
- package/output-schemas.js +4 -3
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Your agent gets browser rendering, screenshots, PDF text extraction, URL→markd
|
|
|
10
10
|
MCP server - e.g. claude.ai → Settings → Connectors → Add custom connector. The
|
|
11
11
|
pure-CPU tools run free there (rate-limited), and the paid tools are payable
|
|
12
12
|
right on the connector over [MPP](https://agent402.tools/what-is-mpp): a paid
|
|
13
|
-
call answers JSON-RPC error `-32042` with the challenges, and an MCP client
|
|
13
|
+
call answers JSON-RPC error `-32042` with the challenges (`-32043` if a presented credential was refused), and an MCP client
|
|
14
14
|
wrapped with `mppx`'s `McpClient.wrap()` (USDC on Base/Celo, or native Tempo)
|
|
15
15
|
pays and retries on its own, receipt in `_meta`. For no rate limit, or to pay
|
|
16
16
|
over x402 or by card instead, run this package locally:
|
|
@@ -77,7 +77,7 @@ 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
79
|
at $0.55 (`route-execute-max`); multi-tool skill packs run up to $1.50; and the
|
|
80
|
-
report products run $
|
|
80
|
+
report products run $0.20 to $1.10 per report (domain-audit $0.20 up to research-max $1.10),
|
|
81
81
|
so set `AGENT402_MAX_PER_CALL` if you want a hard per-call ceiling.
|
|
82
82
|
|
|
83
83
|
## How it works
|
|
@@ -98,7 +98,7 @@ so set `AGENT402_MAX_PER_CALL` if you want a hard per-call ceiling.
|
|
|
98
98
|
| ≤ $0.50 | $0.55 | `POST /api/route/execute-max` |
|
|
99
99
|
|
|
100
100
|
A tool priced above the tier's ceiling returns a self-correcting 409 naming its direct route.
|
|
101
|
-
- **Report products** are catalog slugs like any other, so `catalog.call` runs them with a wallet or a credits key: `research` ($
|
|
101
|
+
- **Report products** are catalog slugs like any other, so `catalog.call` runs them with a wallet or a credits key: `research` ($0.35), `research-pro` ($0.65), `research-max` ($1.10), `market-brief` ($0.35), `dossier` ($0.55), `dossier-max` ($0.95), `fund-report` ($0.25), `fund-report-max` ($0.50), `domain-audit` ($0.20), `domain-audit-pro` ($0.30), `token-risk` ($0.30), `token-risk-pro` ($0.60), `token-brief` ($0.35), `recall-report` ($0.20), `insider-report` ($0.25), `filing-report` ($0.25), `ticker-pack` ($0.75). The same reports are sold to people by card at https://agent402.tools/reports for $1, or $2 for the deepest three: the card price includes payment processing, and an agent paying per call pays the lower tool price for the same report. The recurring monitors (domain, SEC filing, token, fund, recall, insider, IPO - $3/month) are at https://agent402.tools/monitors.
|
|
102
102
|
|
|
103
103
|
## Workflows (skill packs)
|
|
104
104
|
|
package/index.js
CHANGED
|
@@ -446,7 +446,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
|
|
|
446
446
|
title: "Search the Agent402 tool catalog",
|
|
447
447
|
annotations: { title: "Search the Agent402 tool catalog", ...SAFE },
|
|
448
448
|
description:
|
|
449
|
-
`BROWSE the long catalog behind the flagship set: keyword search over Agent402's 500+
|
|
449
|
+
`BROWSE the long catalog behind the flagship set: keyword search over Agent402's 500+ pay-per-call tools (exact count ${catalog.size}). Start with listed flagships for search/answer/news/render/stock/transcribe/memory; use this for long-tail slugs. Counterpart catalog.find resolves a task to ONE ready-to-run pick. Many pure-CPU tools are free via proof-of-work. OpenAI-compatible LLM gateway at ${BASE}/v1 (chat nano $0.003, auto $0.01, embeddings $0.002) via catalog.call when a wallet key is set. Returns matching tools + workflow templates; call them with catalog.call.`,
|
|
450
450
|
inputSchema: {
|
|
451
451
|
type: "object",
|
|
452
452
|
properties: {
|
package/output-schemas.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// Flagship MCP surface — the small default tools/list agents see first.
|
|
6
6
|
//
|
|
7
7
|
// Product intent (competitive brief 2026-08): Agent402 wins as the deterministic
|
|
8
|
-
// tools layer beside LLM gateways
|
|
8
|
+
// tools layer beside per-token LLM gateways. Default MCP exposure is a
|
|
9
9
|
// tight flagship set; the long catalog stays callable via find_tool /
|
|
10
10
|
// search_tools / call_tool. Keep this list aligned with mcp/index.js
|
|
11
11
|
// DEFAULT_CURATED (stdio package cannot import this file when published).
|
|
@@ -99,7 +99,7 @@ export const FLAGSHIP_WRITERS = new Set(["memory-write"]);
|
|
|
99
99
|
|
|
100
100
|
/** initialize.serverInfo description (MCP Implementation.description). */
|
|
101
101
|
export const MCP_SERVER_DESCRIPTION =
|
|
102
|
-
"Agent402 -
|
|
102
|
+
"Agent402 - pay-per-call tools and models for AI agents: live web search and cited answers, news, browser render, market data, speech-to-text, wallet-keyed memory, plus 500+ long-tail tools via catalog.find. Settle in USDC via x402 or MPP (Machine Payments Protocol) on the same 402, or free via proof-of-work. The applied layer of Agentic Finance. Maintained by Havok Holdings LLC.";
|
|
103
103
|
|
|
104
104
|
/** initialize.serverInfo.websiteUrl */
|
|
105
105
|
export const MCP_SERVER_WEBSITE = "https://agent402.tools";
|
|
@@ -507,7 +507,7 @@ export function mcpInitializeInstructions(baseUrl) {
|
|
|
507
507
|
const install = mcpInstallHints(baseUrl);
|
|
508
508
|
const hosted = install.hostedUrl;
|
|
509
509
|
return [
|
|
510
|
-
"Agent402 is a
|
|
510
|
+
"Agent402 is a tools and models layer for AI agents (Havok Holdings LLC) - the applied layer of Agentic Finance: deterministic utilities, a metered model gateway and finished reports, paid per request over x402 or MPP, or free via proof-of-work on the pure-CPU tools.",
|
|
511
511
|
"Front door: call web.search or web.answer for live web search and cited answers.",
|
|
512
512
|
"Also listed: web.news, browser.render, market.quote, audio.transcribe, memory.read, memory.write.",
|
|
513
513
|
"Long catalog (500+ tools): call catalog.find with your task, or catalog.search then catalog.call.",
|
|
@@ -516,6 +516,7 @@ export function mcpInitializeInstructions(baseUrl) {
|
|
|
516
516
|
`Install (hosted, zero wallet): ${install.claudeCodeHosted}`,
|
|
517
517
|
`Install (npm + wallet or prepaid card credits for paid flagships): ${install.claudeCodeNpm}`,
|
|
518
518
|
`Cursor mcp.json: { "mcpServers": { "agent402": { "url": "${hosted}" } } }`,
|
|
519
|
+
`Why pay here (usage priced under a quoted ceiling, a failed call is not charged and the receipt proves it, keyed retries never pay twice, one key for tools + models + reports, card credits with no wallet, proof at /status and /revenue): ${baseUrl}/why`,
|
|
519
520
|
`Docs: ${baseUrl}/llms.txt · ${baseUrl}/api/find?q=… · status ${baseUrl}/status`,
|
|
520
521
|
].join("\n");
|
|
521
522
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent402-mcp",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.1",
|
|
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",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/MikeyPetrillo/Agent402.git"
|
|
9
|
+
"url": "git+https://github.com/MikeyPetrillo/Agent402.git",
|
|
10
|
+
"directory": "mcp"
|
|
10
11
|
},
|
|
11
12
|
"description": "Agent402 MCP server: 500+ pay-per-call tools + skill packs for AI agents over x402 (USDC on 12 chains) or MPP on the same 402, or free via proof-of-work - the applied layer of Agentic Finance. Catalog: browser, web search + cited answers, PDFs, OCR, images, LLM inference, image generation, code execution, STT, embeddings, live financial/crypto/macro data, SEC EDGAR filings, deterministic stats & forecasting, compression, payments. Open source, self-hostable.",
|
|
12
13
|
"type": "module",
|
|
@@ -68,7 +69,7 @@
|
|
|
68
69
|
],
|
|
69
70
|
"license": "MIT",
|
|
70
71
|
"dependencies": {
|
|
71
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
72
|
+
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
72
73
|
"@solana/kit": "^5.1.0",
|
|
73
74
|
"@x402/core": "2.21.0",
|
|
74
75
|
"@x402/evm": "2.21.0",
|
|
@@ -77,9 +78,10 @@
|
|
|
77
78
|
"viem": "^2.21.0"
|
|
78
79
|
},
|
|
79
80
|
"overrides": {
|
|
81
|
+
"qs": "6.16.0",
|
|
80
82
|
"ws": "^8.21.0",
|
|
81
83
|
"hono": "4.12.34",
|
|
82
|
-
"fast-uri": "3.1.
|
|
84
|
+
"fast-uri": "3.1.7",
|
|
83
85
|
"body-parser": "2.3.0",
|
|
84
86
|
"@hono/node-server": "2.0.12",
|
|
85
87
|
"ip-address": "10.4.0"
|