holon-types 0.0.1-dev.10 → 0.0.1-dev.11
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 +10 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -195,6 +195,13 @@ An endpoint URL. The running server is asked for `tools/list` and `resources/lis
|
|
|
195
195
|
holon types check -s https://mcp.context7.com/mcp
|
|
196
196
|
```
|
|
197
197
|
|
|
198
|
+
If the server requires a token, name it and set `<ALIAS>_MCP_TOKEN`. The token is sent only to that URL's origin, as a bearer token, and is not written anywhere.
|
|
199
|
+
|
|
200
|
+
```sh
|
|
201
|
+
export DOCS_MCP_TOKEN=...
|
|
202
|
+
holon types check -s docs=https://mcp.example.com/mcp
|
|
203
|
+
```
|
|
204
|
+
|
|
198
205
|
</details>
|
|
199
206
|
|
|
200
207
|
## Reference
|
|
@@ -229,6 +236,9 @@ Examples:
|
|
|
229
236
|
holon types generate -s https://registry.modelcontextprotocol.io/v0.1/servers/io.github.upstash%2Fcontext7/versions/4.4.4
|
|
230
237
|
holon types generate -s docs=https://mcp.context7.com/mcp
|
|
231
238
|
|
|
239
|
+
# A remote MCP server that requires a token: DOCS_MCP_TOKEN is sent to it as a bearer token
|
|
240
|
+
DOCS_MCP_TOKEN=... holon types generate -s docs=https://mcp.example.com/mcp
|
|
241
|
+
|
|
232
242
|
# Print one server's contract, or commit it beside its server.json
|
|
233
243
|
holon types generate --contract ../orders
|
|
234
244
|
holon types generate --contract ../orders -o ../orders/holon-contract.json
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "holon-types",
|
|
3
|
-
"version": "0.0.1-dev.
|
|
3
|
+
"version": "0.0.1-dev.11",
|
|
4
4
|
"description": "The holon CLI: typed clients for MCP servers, generated and type-checked",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"node": ">=22"
|
|
16
16
|
},
|
|
17
17
|
"optionalDependencies": {
|
|
18
|
-
"holon-types-darwin-x64": "0.0.1-dev.
|
|
19
|
-
"holon-types-darwin-arm64": "0.0.1-dev.
|
|
20
|
-
"holon-types-linux-x64": "0.0.1-dev.
|
|
21
|
-
"holon-types-linux-arm64": "0.0.1-dev.
|
|
18
|
+
"holon-types-darwin-x64": "0.0.1-dev.11",
|
|
19
|
+
"holon-types-darwin-arm64": "0.0.1-dev.11",
|
|
20
|
+
"holon-types-linux-x64": "0.0.1-dev.11",
|
|
21
|
+
"holon-types-linux-arm64": "0.0.1-dev.11"
|
|
22
22
|
}
|
|
23
23
|
}
|