@godxjp/ui-mcp 32.12.1 → 32.14.0
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 +11 -0
- package/dist/index.js +77 -66
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -126,6 +126,17 @@ it under a different key, and an agent cannot tell them apart by tool name. `npx
|
|
|
126
126
|
sync-rules` (and `init-agent`) read that file and report any such entry — key, pin, and the
|
|
127
127
|
`claude mcp remove <key> -s <scope>` command — but never edit it: it is outside the project.
|
|
128
128
|
|
|
129
|
+
**A session that started outside the project has no MCP.** Claude Code loads `.mcp.json`,
|
|
130
|
+
`CLAUDE.md` and `.claude/settings.json` only from the directory it starts in (gh#1324). Two
|
|
131
|
+
answers ship for that:
|
|
132
|
+
|
|
133
|
+
- `npx --no-install @godxjp/ui mcp-call <tool> '<json args>'`, run from the project, launches the
|
|
134
|
+
project's own `.mcp.json` entry as `godx-ui-mcp call <tool> <json>` and prints the same text the
|
|
135
|
+
MCP tool returns (no tool lists them).
|
|
136
|
+
- `npx @godxjp/ui init-agent --user` installs a user-level guard that every session loads. It blocks
|
|
137
|
+
a `.tsx`/`.jsx` write in a project that mounts this server until the agent has consulted the
|
|
138
|
+
catalog, and runs the project's audit hook when the project's own hooks did not load.
|
|
139
|
+
|
|
129
140
|
### Codex CLI
|
|
130
141
|
|
|
131
142
|
`~/.codex/config.toml`:
|