@secondlayer/mcp 0.4.2 → 1.0.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 +3 -6
- package/dist/bin-http.js +351 -658
- package/dist/bin-http.js.map +11 -15
- package/dist/bin.js +351 -658
- package/dist/bin.js.map +11 -15
- package/dist/index.js +351 -658
- package/dist/index.js.map +11 -15
- package/package.json +8 -5
package/README.md
CHANGED
|
@@ -45,15 +45,13 @@ npx @secondlayer/mcp-http
|
|
|
45
45
|
|
|
46
46
|
## Tools
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
Tools across 4 domains.
|
|
49
49
|
|
|
50
50
|
| Domain | Tools |
|
|
51
51
|
| --- | --- |
|
|
52
|
-
| **Streams** (11) | `streams_list`, `streams_get`, `streams_create`, `streams_update`, `streams_delete`, `streams_toggle`, `streams_deliveries`, `streams_pause_all`, `streams_resume_all`, `streams_replay`, `streams_rotate_secret` |
|
|
53
52
|
| **Subgraphs** (6) | `subgraphs_list`, `subgraphs_get`, `subgraphs_query`, `subgraphs_reindex`, `subgraphs_delete`, `subgraphs_deploy` |
|
|
54
53
|
| **Workflows** (6) | `workflows_list`, `workflows_get`, `workflows_trigger`, `workflows_pause`, `workflows_resume`, `workflows_runs` |
|
|
55
54
|
| **Scaffold** (2) | `scaffold_from_contract`, `scaffold_from_abi` |
|
|
56
|
-
| **Templates** (2) | `templates_list`, `templates_get` |
|
|
57
55
|
| **Account** (1) | `account_whoami` |
|
|
58
56
|
|
|
59
57
|
### `subgraphs_query` enhancements
|
|
@@ -65,20 +63,19 @@ npx @secondlayer/mcp-http
|
|
|
65
63
|
|
|
66
64
|
## Resources
|
|
67
65
|
|
|
68
|
-
|
|
66
|
+
2 MCP resources for agent context:
|
|
69
67
|
|
|
70
68
|
| URI | Description |
|
|
71
69
|
| --- | --- |
|
|
72
70
|
| `secondlayer://filters` | Filter types reference |
|
|
73
71
|
| `secondlayer://column-types` | Column type mappings and options |
|
|
74
|
-
| `secondlayer://templates` | Available subgraph templates |
|
|
75
72
|
|
|
76
73
|
## Error Handling
|
|
77
74
|
|
|
78
75
|
All tools return structured errors with `isError: true`:
|
|
79
76
|
|
|
80
77
|
```json
|
|
81
|
-
{ "error": { "type": "not_found", "status": 404, "message": "
|
|
78
|
+
{ "error": { "type": "not_found", "status": 404, "message": "Subgraph not found" } }
|
|
82
79
|
```
|
|
83
80
|
|
|
84
81
|
| Error type | Status | When |
|