@statelyai/mcp 0.8.0 → 0.8.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 -5
- package/dist/index.cjs +37 -25
- package/dist/index.mjs +37 -25
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -12,14 +12,14 @@ Choose your client and add Stately MCP using one of these methods.
|
|
|
12
12
|
### Codex
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
codex mcp add stately --url https://stately.ai/mcp
|
|
15
|
+
codex mcp add stately --url https://mcp.stately.ai/mcp
|
|
16
16
|
codex mcp login stately
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
### Claude Code
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
claude mcp add --transport http stately https://stately.ai/mcp
|
|
22
|
+
claude mcp add --transport http stately https://mcp.stately.ai/mcp
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
Then open Claude Code, run `/mcp`, and complete Stately sign-in.
|
|
@@ -32,7 +32,7 @@ Open **Cursor Settings → MCP → Add new global MCP server**, then add:
|
|
|
32
32
|
{
|
|
33
33
|
"mcpServers": {
|
|
34
34
|
"stately": {
|
|
35
|
-
"url": "https://stately.ai/mcp"
|
|
35
|
+
"url": "https://mcp.stately.ai/mcp"
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -51,7 +51,7 @@ Create `.vscode/mcp.json` in your project:
|
|
|
51
51
|
"servers": {
|
|
52
52
|
"stately": {
|
|
53
53
|
"type": "http",
|
|
54
|
-
"url": "https://stately.ai/mcp"
|
|
54
|
+
"url": "https://mcp.stately.ai/mcp"
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -66,7 +66,7 @@ workspace, run **MCP: Open User Configuration** instead.
|
|
|
66
66
|
Add a remote server using the Streamable HTTP transport and this URL:
|
|
67
67
|
|
|
68
68
|
```text
|
|
69
|
-
https://stately.ai/mcp
|
|
69
|
+
https://mcp.stately.ai/mcp
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
Complete Stately sign-in when the client connects.
|
|
@@ -316,6 +316,8 @@ createMachine({
|
|
|
316
316
|
|
|
317
317
|
MCP Apps hosts render an interactive, read-only graph with hierarchy drill-in,
|
|
318
318
|
breadcrumbs, selection utilities, pan/zoom, and viewport keyboard shortcuts.
|
|
319
|
+
Pass XState source text (the default for strings), a JSON machine config, SCXML,
|
|
320
|
+
XGraph, or D2; the server converts it to canonical XGraph for the app.
|
|
319
321
|
Other image-capable clients receive one PNG fallback per parent node. Structured
|
|
320
322
|
content includes the raw XGraph plus hierarchy metadata without duplicating
|
|
321
323
|
image data. Use `parentNodeIds` to limit PNG fallback levels; omit it to render
|