@secondlayer/mcp 4.1.0 → 4.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 (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # @secondlayer/mcp
2
2
 
3
- MCP server for Secondlayer's agent-native subgraph platform. Exposes the
3
+ MCP server for Secondlayer, the hosted indexer for Stacks — Index (decoded
4
+ rows), Subgraphs (your schema, hosted), and Streams (raw inputs). Exposes the
4
5
  golden-path tools only — Index reads, the subgraph lifecycle, subscriptions,
5
6
  contract discovery/scaffolding, and key self-provisioning. Everything else
6
7
  (single-record lookups, mempool, stacking, proofs, codegen, billing, projects,
@@ -14,7 +15,7 @@ bun add @secondlayer/mcp
14
15
 
15
16
  ## Auth
16
17
 
17
- Most reads are public — `index_*` and `contracts_find` work with no key. Subgraph tools need an `SL_API_KEY`; separately, **public** subgraphs are anon-readable over HTTP at `GET /v1/subgraphs/<name>/<table>` (`{ rows, next_cursor, tip }` cursor envelope), while private ones need the owning account's key (anon → 404). **`streams_dumps` requires an `SL_API_KEY`** (and the Index tools reject free-tier keys — Build+ for keyed access). Writes (deploy, publish/unpublish, 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.
18
+ Most reads are public — `index_*` and `contracts_find` work with no key. Subgraph tools need an `SL_API_KEY`; separately, **public** subgraphs are anon-readable over HTTP at `GET /v1/subgraphs/<name>/<table>` (`{ rows, next_cursor, tip }` cursor envelope), while private ones need the owning account's key (anon → 404). `streams_dumps` needs no key — the dumps manifest is public; the tool only needs `SL_STREAMS_DUMPS_URL` configured. (Index tools reject free-tier keys — Build+ for keyed access.) Writes (deploy, publish/unpublish, 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.
18
19
 
19
20
  ## Quick Start — Stdio (IDE)
20
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondlayer/mcp",
3
- "version": "4.1.0",
3
+ "version": "4.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.3.0",
41
- "@secondlayer/sdk": "^6.22.0",
41
+ "@secondlayer/sdk": "^6.23.0",
42
42
  "@secondlayer/shared": "^6.32.0",
43
43
  "@secondlayer/stacks": "^2.5.1",
44
44
  "@secondlayer/subgraphs": "^3.14.0",