@doclift/workflows-mcp 0.1.2 → 0.1.3
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 +28 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,6 +48,34 @@ carries the same rights it carries on the REST API — no more.
|
|
|
48
48
|
}
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
+
### Authorise the whole server, once
|
|
52
|
+
|
|
53
|
+
This server carries 35 tools, 22 of which write. A client that asks per tool
|
|
54
|
+
interrupts a build dozens of times, and a prompt that fails to surface is
|
|
55
|
+
indistinguishable from a server that has stopped answering — the call simply
|
|
56
|
+
waits until the client's tool timeout, having never reached the API. Grant the
|
|
57
|
+
server in one rule instead.
|
|
58
|
+
|
|
59
|
+
In Claude Code, add it to `permissions.allow` — in `.claude/settings.json` to
|
|
60
|
+
share it with the repository, `.claude/settings.local.json` to keep it to
|
|
61
|
+
yourself, or `~/.claude/settings.json` for every project:
|
|
62
|
+
|
|
63
|
+
```json
|
|
64
|
+
{
|
|
65
|
+
"permissions": {
|
|
66
|
+
"allow": ["mcp__doclift-workflows"]
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
The bare server name covers every tool it exposes, now and after an upgrade;
|
|
72
|
+
`mcp__doclift-workflows__*` is the same rule spelled with a wildcard. The server
|
|
73
|
+
segment is the key you gave the server under `mcpServers`, not the package name:
|
|
74
|
+
declare it as `doclift` and the rule reads `mcp__doclift`.
|
|
75
|
+
|
|
76
|
+
Other clients name their permissions differently; the rule above is the one this
|
|
77
|
+
project has verified.
|
|
78
|
+
|
|
51
79
|
## Calling it from a terminal
|
|
52
80
|
|
|
53
81
|
`bin/mcp-call.mjs` speaks to the server over the same stdio transport a real
|