@secondlayer/mcp 3.1.0 → 3.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.
- package/README.md +7 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ bun add @secondlayer/mcp
|
|
|
10
10
|
|
|
11
11
|
## Auth
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Most reads are public — subgraph reads, `datasets_*`, `index_*`, and `contracts_find` work with no key. **`streams_*` requires an `SL_API_KEY`** (and the Index tools reject free-tier keys — Build+ for keyed access). Writes (deploy, reindex, delete, subscriptions) and account tools need a key: create one (prefixed `sk-sl_`) in the platform console at https://secondlayer.tools/platform/api-keys and set it as `SL_API_KEY`. Read `secondlayer://context` first — it reports auth state and read-auth tiers.
|
|
14
14
|
|
|
15
15
|
## Quick Start — Stdio (IDE)
|
|
16
16
|
|
|
@@ -54,8 +54,12 @@ bunx -p @secondlayer/mcp secondlayer-mcp-http
|
|
|
54
54
|
| --- | --- |
|
|
55
55
|
| **Subgraphs** (7) | `subgraphs_list`, `subgraphs_get`, `subgraphs_query`, `subgraphs_reindex`, `subgraphs_delete`, `subgraphs_deploy`, `subgraphs_read_source` |
|
|
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
|
+
| **Datasets** (2) | `datasets_list`, `datasets_query` |
|
|
58
|
+
| **Index** (4) | `index_ft_transfers`, `index_nft_transfers`, `index_events`, `index_contract_calls` |
|
|
59
|
+
| **Streams** (2) | `streams_tip`, `streams_events` |
|
|
60
|
+
| **Contracts** (1) | `contracts_find` |
|
|
57
61
|
| **Scaffold** (2) | `scaffold_from_contract`, `scaffold_from_abi` |
|
|
58
|
-
| **Account** (
|
|
62
|
+
| **Account** (3) | `account_whoami`, `account_update`, `account_billing` |
|
|
59
63
|
|
|
60
64
|
### `subgraphs_query` enhancements
|
|
61
65
|
|
|
@@ -68,6 +72,7 @@ bunx -p @secondlayer/mcp secondlayer-mcp-http
|
|
|
68
72
|
|
|
69
73
|
| URI | Description |
|
|
70
74
|
| --- | --- |
|
|
75
|
+
| `secondlayer://context` | Live state — what exists (your subgraphs, subscriptions, account), what you can do, and read-auth tiers. Read first. |
|
|
71
76
|
| `secondlayer://filters` | Filter types reference |
|
|
72
77
|
| `secondlayer://column-types` | Column type mappings and options |
|
|
73
78
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@secondlayer/mcp",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
39
39
|
"@secondlayer/bundler": "^0.3.7",
|
|
40
40
|
"@secondlayer/scaffold": "^1.0.6",
|
|
41
|
-
"@secondlayer/sdk": "^6.2.
|
|
41
|
+
"@secondlayer/sdk": "^6.2.1",
|
|
42
42
|
"zod": "^4.3.6"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|