agent402-mcp 0.13.7 → 0.13.9
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/index.js +1 -1
- package/output-schemas.js +7 -7
- package/package.json +11 -7
package/index.js
CHANGED
|
@@ -737,7 +737,7 @@ server.setRequestHandler(CallToolRequestSchema, async (req) => {
|
|
|
737
737
|
npm: "npx -y agent402-mcp",
|
|
738
738
|
maintainer: "Havok Holdings LLC",
|
|
739
739
|
},
|
|
740
|
-
positioning: `
|
|
740
|
+
positioning: `Flagship search/answer first, 500+ long-tail tools via catalog.find / catalog.search / catalog.call. Agent402 is the applied layer of Agentic Finance: agents that pay and get paid per request over x402 or MPP (Machine Payments Protocol), both on the same 402 - ${BASE}/agentic-finance, ${BASE}/glossary.`,
|
|
741
741
|
ecosystem: "Call sellers.list to see which x402 sellers (any wallet, not just this host) are settling the most USDC (primarily on Base) in the last 24h, or sellers.list with wire=mpp for MPP sellers ranked by on-chain USDC.e transfers on Tempo - discovers the live economy beyond this catalog.",
|
|
742
742
|
});
|
|
743
743
|
}
|
package/output-schemas.js
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
// Flagship MCP surface — the small default tools/list agents see first.
|
|
6
6
|
//
|
|
7
|
-
// Product intent
|
|
8
|
-
//
|
|
9
|
-
// tight flagship set; the long catalog stays callable via find_tool /
|
|
7
|
+
// Product intent: Agent402 is a tools and models layer for agents -
|
|
8
|
+
// deterministic utilities, a metered model gateway, finished reports. Default
|
|
9
|
+
// MCP exposure is a 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).
|
|
12
12
|
//
|
|
13
|
-
// Chosen from live topPaidTools + front-door
|
|
13
|
+
// Chosen from live topPaidTools + front-door choice (search/answer first):
|
|
14
14
|
// search, answer, search-news, render, stock-quote, transcribe, memory-*.
|
|
15
15
|
// Exactly 8 catalog flagships so hosted tools/list stays ~15 with meta tools
|
|
16
16
|
// (Glama's well-scoped band is 3–15).
|
|
@@ -510,7 +510,7 @@ export function mcpInitializeInstructions(baseUrl, { decide = false } = {}) {
|
|
|
510
510
|
const hosted = install.hostedUrl;
|
|
511
511
|
return [
|
|
512
512
|
"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.",
|
|
513
|
-
"
|
|
513
|
+
"One fact: call web.search or web.answer for live web search and cited answers.",
|
|
514
514
|
"Also listed: web.news, browser.render, market.quote, audio.transcribe, memory.read, memory.write.",
|
|
515
515
|
"Long catalog (500+ tools): call catalog.find with your task, or catalog.search then catalog.call.",
|
|
516
516
|
// Only where the decide tools are listed: an instruction must never name a
|
|
@@ -518,8 +518,8 @@ export function mcpInitializeInstructions(baseUrl, { decide = false } = {}) {
|
|
|
518
518
|
...(decide ? ["A job that needs several tools: call decide.plan with the task for a call-ready plan (tools, order, fallbacks, inputs), then decide.execute to run it; the plan fee comes back as credit toward the run."] : []),
|
|
519
519
|
"Orientation: call server.describe. Payment rails / wallet setup: call payment.info.",
|
|
520
520
|
"Missing a tool: call demand.request. Ecosystem sellers: call sellers.list.",
|
|
521
|
-
`Install (
|
|
522
|
-
`
|
|
521
|
+
`Install (npm + wallet, pays for web.search, web.answer and the rest): ${install.claudeCodeNpm}`,
|
|
522
|
+
`No wallet yet (hosted, proof-of-work tools only): ${install.claudeCodeHosted}`,
|
|
523
523
|
`Cursor mcp.json: { "mcpServers": { "agent402": { "url": "${hosted}" } } }`,
|
|
524
524
|
`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, no wallet needed for the proof-of-work tools or a report by card, proof at /status and /revenue): ${baseUrl}/why`,
|
|
525
525
|
`Docs: ${baseUrl}/llms.txt · ${baseUrl}/api/find?q=… · status ${baseUrl}/status`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent402-mcp",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.9",
|
|
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",
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
"license": "MIT",
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"@modelcontextprotocol/sdk": "^1.31.0",
|
|
73
|
-
"@solana/kit": "^
|
|
74
|
-
"@x402/core": "2.
|
|
75
|
-
"@x402/evm": "2.
|
|
76
|
-
"@x402/fetch": "2.
|
|
77
|
-
"@x402/svm": "2.
|
|
73
|
+
"@solana/kit": "^8.4.0",
|
|
74
|
+
"@x402/core": "2.28.0",
|
|
75
|
+
"@x402/evm": "2.28.0",
|
|
76
|
+
"@x402/fetch": "2.28.0",
|
|
77
|
+
"@x402/svm": "2.28.0",
|
|
78
78
|
"viem": "^2.21.0"
|
|
79
79
|
},
|
|
80
80
|
"overrides": {
|
|
@@ -84,6 +84,10 @@
|
|
|
84
84
|
"fast-uri": "3.1.8",
|
|
85
85
|
"body-parser": "2.3.0",
|
|
86
86
|
"@hono/node-server": "2.0.12",
|
|
87
|
-
"ip-address": "10.7.1"
|
|
87
|
+
"ip-address": "10.7.1",
|
|
88
|
+
"@solana-program/token": "0.17.0",
|
|
89
|
+
"@solana-program/compute-budget": "0.19.0",
|
|
90
|
+
"@solana-program/token-2022": "0.19.0",
|
|
91
|
+
"@solana/program-client-core": "8.4.0"
|
|
88
92
|
}
|
|
89
93
|
}
|