@secondlayer/mcp 3.4.0 → 3.6.0
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 +10 -1
- package/dist/bin-http.js +245 -121
- package/dist/bin-http.js.map +9 -8
- package/dist/bin.js +245 -121
- package/dist/bin.js.map +9 -8
- package/dist/index.js +245 -121
- package/dist/index.js.map +9 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ bunx -p @secondlayer/mcp secondlayer-mcp-http
|
|
|
52
52
|
|
|
53
53
|
| Domain | Tools |
|
|
54
54
|
| --- | --- |
|
|
55
|
-
| **Subgraphs** (
|
|
55
|
+
| **Subgraphs** (11) | `subgraphs_list`, `subgraphs_get`, `subgraphs_spec`, `subgraphs_query`, `subgraphs_aggregate`, `subgraphs_reindex`, `subgraphs_operation`, `subgraphs_delete`, `subgraphs_deploy`, `subgraphs_read_source`, `subgraphs_codegen` |
|
|
56
56
|
| **Subscriptions** (12) | `subscriptions_list`, `subscriptions_get`, `subscriptions_create`, `subscriptions_update`, `subscriptions_pause`, `subscriptions_resume`, `subscriptions_delete`, `subscriptions_rotate_secret`, `subscriptions_replay`, `subscriptions_recent_deliveries`, `subscriptions_dead`, `subscriptions_requeue_dead` |
|
|
57
57
|
| **Datasets** (2) | `datasets_list`, `datasets_query` |
|
|
58
58
|
| **Index** (4) | `index_ft_transfers`, `index_nft_transfers`, `index_events`, `index_contract_calls` |
|
|
@@ -82,6 +82,15 @@ subgraph (e.g. `[{ "type": "contract_call", "contractId": "SP....amm",
|
|
|
82
82
|
- Filter operators: `eq`, `neq`, `gt`, `gte`, `lt`, `lte`, `like`
|
|
83
83
|
- Max limit: 200
|
|
84
84
|
|
|
85
|
+
### `subgraphs_aggregate`
|
|
86
|
+
|
|
87
|
+
Scalar aggregates over the same filtered set as `subgraphs_query`:
|
|
88
|
+
|
|
89
|
+
- `count` — `COUNT(*)` of matching rows
|
|
90
|
+
- `countDistinct` — columns to count distinct values of
|
|
91
|
+
- `sum` / `min` / `max` — numeric columns only (`uint`/`int` + system `_block_height`); returned as lossless strings
|
|
92
|
+
- No aggregate requested → returns the row count.
|
|
93
|
+
|
|
85
94
|
## Resources
|
|
86
95
|
|
|
87
96
|
| URI | Description |
|