autonomo-mcp 0.1.0 → 0.1.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 +1 -1
  2. package/index.mjs +5 -4
  3. package/package.json +2 -1
package/README.md CHANGED
@@ -9,7 +9,7 @@ The server runs on your own computer. Your wallet key stays there and is only us
9
9
 
10
10
  | Tool | What it does | Costs |
11
11
  | --- | --- | --- |
12
- | `find_apis` | Search Autonomo's APIs (token prices, launches, rug risk, wallets, transactions, page reader). Optionally also the directory of 3.7K x402 projects. | Free |
12
+ | `find_apis` | Search Autonomo's APIs (token prices, launches, rug risk, wallets, transactions, page reader). Optionally also the directory of 4K+ x402 projects. | Free |
13
13
  | `get_price` | Call an API without paying and show its price. | Free |
14
14
  | `call_api` | Pay for one call and return the answer, with the payment link on Blockscout. | Usually 0.01 USDG or 100 $AUTONOMO |
15
15
 
package/index.mjs CHANGED
@@ -19,7 +19,7 @@ import { ExactEvmScheme } from "@x402/evm/exact/client";
19
19
  import { wrapFetchWithPayment } from "@x402/fetch";
20
20
  import { z } from "zod";
21
21
 
22
- const VERSION = "0.1.0";
22
+ const VERSION = "0.1.2";
23
23
  const BASE = (process.env.AUTONOMO_BASE_URL || "https://autonomo.fun").replace(/\/+$/, "");
24
24
  const NETWORK = "eip155:4663";
25
25
  const RPC = "https://rpc.mainnet.chain.robinhood.com";
@@ -224,8 +224,9 @@ server.registerTool(
224
224
  title: "Find Autonomo APIs",
225
225
  description:
226
226
  "Search the paid APIs on Autonomo (token prices, new launches, rug-risk checks, wallet portfolios, transaction explainers, " +
227
- "page reader and more on Robinhood Chain). Returns each API's slug, price and the path to call. Free. " +
228
- "Set include_directory to also search Autonomo's directory of 3.7K x402 projects on other networks (listed for reference; " +
227
+ "page reader and more on Robinhood Chain). Returns each API's slug, price and the path to call. verified means the provider holds the Verified minimum of " +
228
+ "$AUTONOMO; it isn't a review of the API. Free. " +
229
+ "Set include_directory to also search Autonomo's directory of 4K+ x402 projects on other networks (listed for reference; " +
229
230
  "call_api only pays Autonomo gateways).",
230
231
  inputSchema: {
231
232
  query: z.string().max(200).optional().describe("What the API should do, e.g. 'token risk' or 'wallet holdings'. Leave empty to list all."),
@@ -239,7 +240,7 @@ server.registerTool(
239
240
  const score = (g) => words.filter((w) => `${g.slug} ${g.name} ${g.description}`.toLowerCase().includes(w)).length;
240
241
  const apis = words.length ? data.map((g) => [score(g), g]).filter(([s]) => s > 0).sort((a, b) => b[0] - a[0]).map(([, g]) => g) : data;
241
242
  const result = {
242
- apis: (apis.length ? apis : data).map(({ slug, name, description, usage, price }) => ({ slug, name, description, path: usage, price })),
243
+ apis: (apis.length ? apis : data).map(({ slug, name, description, usage, price, verified }) => ({ slug, name, description, path: usage, price, verified })),
243
244
  note: !data.length
244
245
  ? "No Autonomo APIs are listed right now."
245
246
  : apis.length || !words.length
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "autonomo-mcp",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
+ "mcpName": "io.github.autonomodotfun/autonomo",
4
5
  "description": "MCP server for Autonomo: AI agents find x402 APIs, check prices and pay per call in USDG or $AUTONOMO on Robinhood Chain.",
5
6
  "homepage": "https://autonomo.fun",
6
7
  "author": "Autonomo (https://autonomo.fun)",