@agishub/mcp 2.1.0 → 2.1.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.
Files changed (3) hide show
  1. package/README.md +59 -7
  2. package/dist/stdio.js +40412 -13503
  3. package/package.json +9 -5
package/README.md CHANGED
@@ -53,10 +53,11 @@ Discovery: https://api.agishub.com/openapi.json
53
53
 
54
54
  ## Tools
55
55
 
56
- Prices are per call in USDC on Base. Tools on both channels are **free via MCP** and priced
57
- via **HTTP x402**.
56
+ **30 tools across 12 services.** Prices are per call in USDC on Base. Tools marked
57
+ **MCP · HTTP** are **free via MCP** and pay‑per‑call via **HTTP x402**; tools marked **HTTP**
58
+ are paid‑only (they touch metered infrastructure, so they run exclusively on the x402 endpoint).
58
59
 
59
- ### 🕔 timezone — world clock, date math & scheduling for agents
60
+ ### 🕔 Timezone — world clock, date math & scheduling
60
61
 
61
62
  | Tool | What it does | Channels | Cost (x402) |
62
63
  |------|--------------|:--------:|:-----------:|
@@ -67,16 +68,67 @@ via **HTTP x402**.
67
68
  | `lookup_timezone` | Resolve a city or country to its IANA timezone(s). "Delhi" → `Asia/Kolkata`. | MCP · HTTP | $0.001 |
68
69
  | `date_math` | Add/subtract time respecting DST, or diff two datetimes across zones. | MCP · HTTP | $0.001 |
69
70
  | `find_meeting_slots` | Overlapping working‑hour slots across timezones (skips weekends & public holidays). | MCP · HTTP | free: 1 slot · **$0.02**: all |
70
- | `is_holiday` | Is a date a public holiday in a country (ISO 3166‑1)? Data from Nager.Date. | MCP · HTTP | $0.001 |
71
+ | `is_holiday` | Is a date a public holiday in a country (ISO 3166‑1)? Authoritative public‑holiday data. | MCP · HTTP | $0.001 |
71
72
  | `list_timezones` | List or search valid IANA timezone names. | MCP | free |
72
73
 
73
- ### 🕸️ Agis Web Scraper — read any web page as clean markdown
74
+ ### 🕸️ Web — read any web page as clean markdown
74
75
 
75
76
  | Tool | What it does | Channels | Cost (x402) |
76
77
  |------|--------------|:--------:|:-----------:|
77
- | `extract` | Fetch any public URL and return its main content as clean markdown (title, headings, links, lists). Optional `render:true` runs a headless browser for JS‑heavy pages / SPAs. Built for RAG and agents that need to read the web. | HTTP | **$0.004** |
78
+ | `extract` | Fetch any public URL and return its main content as clean, token‑efficient markdown (title, headings, links, lists). Optional `render:true` runs a headless browser for JS‑heavy pages / SPAs. Built for RAG. | MCP · HTTP | **$0.004** |
78
79
 
79
- > More tools land here as the platform grows each new service plugs into the same MCP + x402 doors.
80
+ ### 🤖 AINLP & generation (no external API key)
81
+
82
+ | Tool | What it does | Channels | Cost (x402) |
83
+ |------|--------------|:--------:|:-----------:|
84
+ | `summarize` | Summarize a block of text into a short abstract, with an optional target length. | MCP · HTTP | $0.003 |
85
+ | `classify` | Classify a text into exactly one of the candidate labels you provide. | MCP · HTTP | $0.002 |
86
+ | `extract_entities` | Extract named entities (people, orgs, locations, dates) as structured JSON. | MCP · HTTP | $0.003 |
87
+ | `embed` | Turn text into a multilingual embedding vector (BGE‑M3) for semantic search / RAG. | MCP · HTTP | $0.001 |
88
+ | `chat` | Ask a general‑purpose LLM a question, with an optional system prompt. | MCP · HTTP | $0.003 |
89
+ | `transcribe` | Transcribe an audio file (by public URL) to text. | MCP · HTTP | $0.006 |
90
+ | `tts` | Convert text into spoken audio (base64 MP3), in several languages. | HTTP | $0.005 |
91
+
92
+ ### 🧠 Memory / RAG — persistent semantic memory
93
+
94
+ | Tool | What it does | Channels | Cost (x402) |
95
+ |------|--------------|:--------:|:-----------:|
96
+ | `memory_upsert` | Store text in a persistent, searchable collection (namespace); embedded & indexed. | MCP · HTTP | $0.001 |
97
+ | `memory_search` | Semantically search a namespace and return the most relevant stored entries. | MCP · HTTP | $0.001 |
98
+
99
+ ### 📤 Webhooks — guaranteed, retried delivery
100
+
101
+ | Tool | What it does | Channels | Cost (x402) |
102
+ |------|--------------|:--------:|:-----------:|
103
+ | `relay` | Deliver a webhook (POST/PUT/PATCH) with background retries. Returns a `job_id` at once. | MCP · HTTP | $0.002 |
104
+ | `status` | Check a webhook job's delivery status (queued / retrying / delivered / failed). | MCP · HTTP | $0.001 |
105
+
106
+ ### 💱 Finance & crypto — live rates and prices
107
+
108
+ | Tool | What it does | Channels | Cost (x402) |
109
+ |------|--------------|:--------:|:-----------:|
110
+ | `convert_currency` | Convert an amount between currencies using live daily FX rates (ISO 4217). | MCP · HTTP | $0.001 |
111
+ | `price` | Live USD spot prices for cryptocurrencies by ticker (BTC, ETH, SOL). | MCP · HTTP | $0.001 |
112
+
113
+ ### 🔧 Utilities & links
114
+
115
+ | Tool | What it does | Channels | Cost (x402) |
116
+ |------|--------------|:--------:|:-----------:|
117
+ | `qr_code` | Generate a QR code (inline SVG + data URI) for any text or URL. | MCP · HTTP | $0.001 |
118
+ | `convert_units` | Convert between units of one category (length, mass, volume, speed, area, storage, time, temperature). | MCP · HTTP | $0.001 |
119
+ | `shorten` | Shorten a long URL into a compact `api.agishub.com/s/<code>` redirect link. | MCP · HTTP | $0.001 |
120
+
121
+ ### 🖼️ Render & browser — documents, images, automation (paid‑only)
122
+
123
+ | Tool | What it does | Channels | Cost (x402) |
124
+ |------|--------------|:--------:|:-----------:|
125
+ | `pdf` | Render a public URL or raw HTML into a PDF (base64). Headless browser. | HTTP | $0.008 |
126
+ | `screenshot` | Capture a PNG screenshot of any public URL (full page or viewport). | HTTP | $0.006 |
127
+ | `generate` (image) | Generate an image from a text prompt (base64 PNG). | HTTP | $0.01 |
128
+ | `automate` (browser) | Drive a headless browser through steps — click, type, wait, extract, screenshot — for logins, forms and multi‑step flows. | HTTP | $0.01 |
129
+
130
+ > New services plug into the same MCP + x402 doors and appear automatically in
131
+ > [`/openapi.json`](https://api.agishub.com/openapi.json).
80
132
 
81
133
  ---
82
134