meguro-mcp 0.2.10 → 0.2.12
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/CHANGELOG.md +19 -0
- package/README.md +17 -10
- package/package.json +1 -1
- package/src/docs.mjs +958 -23
- package/src/server.mjs +3 -3
- package/src/tools.mjs +119 -9
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `meguro-mcp` are recorded here. Versions follow Semantic Versioning.
|
|
4
4
|
|
|
5
|
+
## 0.2.12 — 2026-08-11
|
|
6
|
+
|
|
7
|
+
- Adds a credential-safe, state-aware `adminExecutionGuide` to `get_connection_details`, separating
|
|
8
|
+
hosted OAuth/public STDIO control-plane authentication from the per-store Admin data plane.
|
|
9
|
+
- Adds authority-derived `admin_schema` execution requirements for run state, the exact inventory
|
|
10
|
+
read-before-write cursor, valid next calls, and the two-root `@idempotent` contract.
|
|
11
|
+
- Adds immutable getting-started v13, product-guide v10, and documentation-index v9 resources while
|
|
12
|
+
preserving every prior documentation byte and digest. This is a prepared package candidate only;
|
|
13
|
+
it is not published or deployed.
|
|
14
|
+
|
|
15
|
+
## 0.2.11 — 2026-08-11
|
|
16
|
+
|
|
17
|
+
- Adds registry-derived `admin_recipes_list` discovery without exposing tenant or store data or
|
|
18
|
+
executing Admin probes.
|
|
19
|
+
- Adds bounded authored-alias teaching for recipe misses and schema-authority-derived root-type
|
|
20
|
+
recovery while preserving exact successful `admin_schema` lookup behavior.
|
|
21
|
+
- Adds immutable getting-started v12 and documentation-index v8 resources for the discovery path;
|
|
22
|
+
every prior documentation resource remains byte-identical.
|
|
23
|
+
|
|
5
24
|
## 0.2.10 — 2026-08-10
|
|
6
25
|
|
|
7
26
|
- Adds immutable getting-started v8, product-guide v5, and documentation-index v4 resources that
|
package/README.md
CHANGED
|
@@ -21,12 +21,12 @@ The configured hosted endpoints are environment-specific: dev uses
|
|
|
21
21
|
`https://mcp-dev.meguro.io/mcp`, stage uses `https://mcp-stage.meguro.io/mcp`, and production uses
|
|
22
22
|
`https://mcp.meguro.io/mcp`. Use the URL shown by the Console for the environment you intend to access.
|
|
23
23
|
|
|
24
|
-
After connecting, read `meguro://docs/getting-started/
|
|
25
|
-
for general Meguro questions, read `meguro://docs/product-guide/
|
|
24
|
+
After connecting, read `meguro://docs/getting-started/v13` for the world-first operating sequence;
|
|
25
|
+
for general Meguro questions, read `meguro://docs/product-guide/v10`. Both are available through
|
|
26
26
|
`resources/read` or the matching `docs_read({ topic, version })` fallback.
|
|
27
27
|
|
|
28
|
-
The hosted server exposes
|
|
29
|
-
|
|
28
|
+
The hosted server exposes 39 customer-safe tools and deliberately excludes `admin_probe`. Active
|
|
29
|
+
grants are visible and revocable under Console → Settings → Connection → MCP
|
|
30
30
|
authorizations.
|
|
31
31
|
|
|
32
32
|
## Transport boundaries
|
|
@@ -43,7 +43,7 @@ Console provides fast trusted proof and evidence inspection; the agency agent no
|
|
|
43
43
|
|
|
44
44
|
<!-- BEGIN GENERATED MCP TOOL TABLE -->
|
|
45
45
|
<!-- Run `npm run docs:tools --workspace meguro-mcp` to refresh this section from `tools/list`. -->
|
|
46
|
-
This table is generated from the server's live `tools/list` response (
|
|
46
|
+
This table is generated from the server's live `tools/list` response (48 tools).
|
|
47
47
|
|
|
48
48
|
| Tool | Title | Behavior annotations |
|
|
49
49
|
|---|---|---|
|
|
@@ -94,6 +94,7 @@ This table is generated from the server's live `tools/list` response (47 tools).
|
|
|
94
94
|
| `get_connection_details` | Get practice-store connection details | read-only · non-destructive · idempotent · closed-world |
|
|
95
95
|
| `admin_probe` | Run an Admin API probe | read-write · non-destructive · non-idempotent · closed-world |
|
|
96
96
|
| `admin_schema` | Look up the Admin API schema | read-only · non-destructive · idempotent · closed-world |
|
|
97
|
+
| `admin_recipes_list` | List Admin API recipes | read-only · non-destructive · idempotent · closed-world |
|
|
97
98
|
<!-- END GENERATED MCP TOOL TABLE -->
|
|
98
99
|
|
|
99
100
|
## Documentation resources
|
|
@@ -160,7 +161,7 @@ Use these tool names in order:
|
|
|
160
161
|
|
|
161
162
|
1. `templates_list()` to discover the supported template keys.
|
|
162
163
|
2. `stores_list()`, then reuse an owned store or call `store_create({ templateKey })`.
|
|
163
|
-
3. `get_connection_details({ storeId })` through the explicit secure flow (`worldId` remains a legacy alias).
|
|
164
|
+
3. `get_connection_details({ storeId })` through the explicit secure flow (`worldId` remains a legacy alias). Follow its structured `adminExecutionGuide`; keep returned credential values out of model/chat logs.
|
|
164
165
|
4. `practice_run_start({ storeId, clock: { mode: "harness", simulationDays: 14, stepDays: 1 } })` — the same `storeId` the previous step took and returned.
|
|
165
166
|
5. Launch the agency agent in its own environment with the stable returned `SHOPIFY_*` values.
|
|
166
167
|
6. `practice_run_status({ attemptId })`, then `practice_run_checkpoint({ attemptId })`.
|
|
@@ -173,6 +174,12 @@ data-plane credential your commerce agent needs for the exact returned `*.meguro
|
|
|
173
174
|
it as a secret, provide it only to that agent process, and keep it out of model/chat logs. It is not the
|
|
174
175
|
account-scoped `MEGURO_API_TOKEN` and cannot control other stores or account resources.
|
|
175
176
|
|
|
177
|
+
Hosted OAuth and the public package's `MEGURO_API_TOKEN` authenticate MCP/control-plane calls only.
|
|
178
|
+
Admin GraphQL calls use the returned Admin URL and the per-store token in
|
|
179
|
+
`X-Shopify-Access-Token`; never send the OAuth bearer to the Admin URL. Before one bounded write,
|
|
180
|
+
read `admin_schema`'s `match.executionRequirements` for the required run state, any exact preflight
|
|
181
|
+
read, valid next calls, and the authority-derived idempotency example.
|
|
182
|
+
|
|
176
183
|
`manual`, `harness`, and `scheduled` are clock ownership modes. Raw Admin GraphQL requests do not each
|
|
177
184
|
advance time. Practice-run status, checkpoint, and receipt responses deliberately exclude raw private
|
|
178
185
|
evidence and credentials; `get_connection_details` is the one explicit credential-returning tool.
|
|
@@ -192,7 +199,7 @@ OAuth support. It requires a workspace-bound `meg_sk_…` API key and exposes th
|
|
|
192
199
|
surface. Pin the exact public version in client configuration so a quickstart stays reproducible:
|
|
193
200
|
|
|
194
201
|
```bash
|
|
195
|
-
npx -y meguro-mcp@0.2.
|
|
202
|
+
npx -y meguro-mcp@0.2.12
|
|
196
203
|
```
|
|
197
204
|
|
|
198
205
|
### Environment
|
|
@@ -210,7 +217,7 @@ claude mcp add meguro \
|
|
|
210
217
|
-e MEGURO_API_BASE_URL=https://api-dev.meguro.io \
|
|
211
218
|
-e MEGURO_API_TOKEN=meg_sk_... \
|
|
212
219
|
-e MEGURO_DASHBOARD_URL=https://... \
|
|
213
|
-
-- npx -y meguro-mcp@0.2.
|
|
220
|
+
-- npx -y meguro-mcp@0.2.12
|
|
214
221
|
```
|
|
215
222
|
|
|
216
223
|
### Register — Cursor (`.cursor/mcp.json`)
|
|
@@ -220,7 +227,7 @@ claude mcp add meguro \
|
|
|
220
227
|
"mcpServers": {
|
|
221
228
|
"meguro": {
|
|
222
229
|
"command": "npx",
|
|
223
|
-
"args": ["-y", "meguro-mcp@0.2.
|
|
230
|
+
"args": ["-y", "meguro-mcp@0.2.12"],
|
|
224
231
|
"env": {
|
|
225
232
|
"MEGURO_API_BASE_URL": "https://api-dev.meguro.io",
|
|
226
233
|
"MEGURO_API_TOKEN": "meg_sk_...",
|
|
@@ -241,6 +248,6 @@ npm test --workspace meguro-mcp
|
|
|
241
248
|
```
|
|
242
249
|
|
|
243
250
|
The test suite packs the public artifact, installs it into a temporary clean-room project, starts the
|
|
244
|
-
installed binary, and requires `tools/list` to return exactly
|
|
251
|
+
installed binary, and requires `tools/list` to return exactly 48 tools without leaking supplied
|
|
245
252
|
credentials to stdout or stderr. Maintainers should follow [RELEASING.md](./RELEASING.md) for every
|
|
246
253
|
version; release notes are in [CHANGELOG.md](./CHANGELOG.md).
|