@vivix-labs/studio-chat-mcp 0.1.10 → 0.1.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/README.md CHANGED
@@ -4,7 +4,7 @@ Studio loads this user-scoped server plugin into its Host process. The plugin ow
4
4
 
5
5
  ## Install and enable
6
6
 
7
- The public Studio suite installer installs this Host plugin and its card provider, enables them in user scope, and adds their authenticated HTTP connection to the private Codex configuration. Restart the Codex chat to discover the new connection. Existing MCP entries and personal Skills are preserved.
7
+ The public Studio suite installer installs this Host plugin and its card provider, enables them in user scope, and registers the CLI `stdio` bridge (`vivix-studio agent mcp`) in the agent configuration. Existing server entries and personal Skills are preserved. Start a new conversation to load the interactive cards in that session.
8
8
 
9
9
  Use the paired Studio CLI with SDK API 0.2.6, Node.js 22.12+ and pnpm 10.33.0. Build a standard Studio plugin directory from this repository.
10
10
 
@@ -20,25 +20,23 @@ The package exports its chat protocol types from `@vivix-labs/studio-chat-mcp/sh
20
20
 
21
21
  ## Connect an MCP client
22
22
 
23
- Read the installed adapter's connection with an empty input JSON file.
23
+ For any MCP client that speaks `stdio` (Codex, Claude Code, Cursor, Antigravity, etc.), configure the CLI's built-in bridge command:
24
24
 
25
- ```sh
26
- printf '{}\n' > connection-input.json
27
- vivix-studio plugin call studio-chat connection --scope user --input connection-input.json --json
25
+ ```toml
26
+ [mcp_servers.vivix-studio-chat]
27
+ command = "vivix-studio"
28
+ args = ["agent", "mcp"]
28
29
  ```
29
30
 
30
- The private result contains `url`, `headers.Authorization` and the adapter's `pid`. Configure the MCP client with that URL and header. For Codex, the corresponding configuration has this shape.
31
+ The bridge automatically starts the shared local Host if it is stopped, discovers the active `studio-chat` route credential, and forwards JSON-RPC messages to the Host over loopback HTTP — surviving Host restarts, port changes, and reboots without updating client configuration.
31
32
 
32
- ```toml
33
- [mcp_servers.vivix-studio-chat]
34
- url = "http://127.0.0.1:<host-port>/v1/user/http/studio-chat/mcp"
33
+ To inspect the underlying Host endpoint directly (e.g., for testing):
35
34
 
36
- [mcp_servers.vivix-studio-chat.http_headers]
37
- Authorization = "Bearer <route-credential>"
35
+ ```sh
36
+ printf '{}\n' > connection-input.json
37
+ vivix-studio plugin call studio-chat connection --scope user --input connection-input.json --json
38
38
  ```
39
39
 
40
- Keep the credential in the client's private configuration. It authorizes this exact plugin route. The Host derives it from the profile's existing persistent browser key. The saved Host port and route credential survive Host restarts. CLI bearer credentials continue rotating at startup. Start the Host through the Studio CLI before reconnecting a stopped Host.
41
-
42
40
  The plugin requires Studio plugin API 0.2.6. It exposes discovery and media reads on the same connection as `run_studio_action`, the app-only `studio_card_action`, and `ui://studio/chat/v12.html`. Its connection PID equals the Studio Host PID. Disabling the plugin removes the route through the normal plugin lifecycle. The current bundled MCP dependency requires an explicit Host restart for code upgrades when the generic reloader reports `restart_required`.
43
41
 
44
42
  ## Discover and read through one connection