@ikuma.cloud/pix-mcp 0.0.4 → 0.0.5
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 +8 -1
- package/package.json +1 -1
- package/src/index.ts +1 -0
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ required.
|
|
|
9
9
|
To load this package in an existing Pi installation:
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
pi -e /absolute/path/to/pix/packages/mcp
|
|
12
|
+
pi -e /absolute/path/to/pix/packages/pix-mcp
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Disable any other MCP adapter that would collide with the `mcp` tool or flags,
|
|
@@ -33,6 +33,13 @@ unless explicitly trusted. Either of these authorizes the file for one session:
|
|
|
33
33
|
Review the file first: trusting it can launch arbitrary local programs and
|
|
34
34
|
contact remote services. Configuration trust is not an OS sandbox.
|
|
35
35
|
|
|
36
|
+
At session startup, interactive and RPC sessions receive an `MCP config: <path>`
|
|
37
|
+
notice with the resolved absolute path after the file is read and trusted, even
|
|
38
|
+
when a flag skips the trust prompt. The notice identifies the configuration file,
|
|
39
|
+
not whether every server connected; it never includes configuration contents.
|
|
40
|
+
Missing, unreadable, or malformed files and declined trust produce no notice.
|
|
41
|
+
Print and JSON sessions remain silent.
|
|
42
|
+
|
|
36
43
|
```json
|
|
37
44
|
{
|
|
38
45
|
"mcpServers": {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -389,6 +389,7 @@ export default function mcp(pi: ExtensionAPI) {
|
|
|
389
389
|
"MCP configuration not trusted. Review it, then restart with --mcp-trust-config or --mcp-config <path>.";
|
|
390
390
|
return;
|
|
391
391
|
}
|
|
392
|
+
if (ctx.hasUI) ctx.ui.notify(`MCP config: ${path}`, "info");
|
|
392
393
|
owner.configIssues = config.issues;
|
|
393
394
|
owner.status =
|
|
394
395
|
config.issues.length > 0
|