@tokenlabai/mcp-server 0.4.0 → 0.4.2
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 +4 -3
- package/contract/openapi.json +0 -34
- package/generated/tools.json +1 -43
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ It exposes public catalog tools for agents that need to choose models, inspect s
|
|
|
10
10
|
|
|
11
11
|
## Generated Tool Profiles
|
|
12
12
|
|
|
13
|
-
The checked-in `generated/tools.json` manifest is generated from TokenLab's public OpenAPI document plus the small MCP-only overlay in `contract/mcp-overlay.json`. Version 0.4.
|
|
13
|
+
The checked-in `generated/tools.json` manifest is generated from TokenLab's public OpenAPI document plus the small MCP-only overlay in `contract/mcp-overlay.json`. Version 0.4.2 generates 76 endpoint tools; two composite discovery tools are registered at runtime.
|
|
14
14
|
|
|
15
15
|
| Profile | Endpoint tools | Coverage |
|
|
16
16
|
| --- | ---: | --- |
|
|
@@ -115,20 +115,21 @@ This repository includes `server.json` for the official MCP Registry.
|
|
|
115
115
|
|
|
116
116
|
Release metadata:
|
|
117
117
|
|
|
118
|
-
- npm package: `@tokenlabai/mcp-server@0.4.
|
|
118
|
+
- npm package: `@tokenlabai/mcp-server@0.4.2`
|
|
119
119
|
- MCP registry name: `io.github.hedging8563/tokenlab`
|
|
120
120
|
- `package.json.mcpName`: `io.github.hedging8563/tokenlab`
|
|
121
121
|
|
|
122
122
|
For a new release:
|
|
123
123
|
|
|
124
124
|
1. Bump the matching versions in `package.json`, `package-lock.json`, and `server.json`.
|
|
125
|
-
2. Push a matching tag such as `v0.4.
|
|
125
|
+
2. Push a matching tag such as `v0.4.2`.
|
|
126
126
|
3. The publish workflow tests and publishes npm through trusted publishing, then publishes the MCP Registry entry through GitHub Actions OIDC.
|
|
127
127
|
|
|
128
128
|
The same workflow can be run manually from `main` to republish only the current MCP Registry metadata. No npm or MCP Registry token is stored in GitHub.
|
|
129
129
|
|
|
130
130
|
## Links
|
|
131
131
|
|
|
132
|
+
- Website: https://tokenlab.sh
|
|
132
133
|
- Docs: https://docs.tokenlab.sh
|
|
133
134
|
- OpenAPI: https://docs.tokenlab.sh/openapi.json
|
|
134
135
|
- Model catalog: https://api.tokenlab.sh/v1/models
|
package/contract/openapi.json
CHANGED
|
@@ -4136,9 +4136,6 @@
|
|
|
4136
4136
|
"low"
|
|
4137
4137
|
]
|
|
4138
4138
|
},
|
|
4139
|
-
"input_fidelity": {
|
|
4140
|
-
"type": "string"
|
|
4141
|
-
},
|
|
4142
4139
|
"async": {
|
|
4143
4140
|
"type": "boolean",
|
|
4144
4141
|
"description": "Return a task before the edited image is ready for models that support public async execution."
|
|
@@ -4147,11 +4144,6 @@
|
|
|
4147
4144
|
"type": "boolean",
|
|
4148
4145
|
"description": "Reserved image streaming flag. The public edit route currently rejects true."
|
|
4149
4146
|
},
|
|
4150
|
-
"partial_images": {
|
|
4151
|
-
"type": "integer",
|
|
4152
|
-
"minimum": 0,
|
|
4153
|
-
"maximum": 3
|
|
4154
|
-
},
|
|
4155
4147
|
"user": {
|
|
4156
4148
|
"type": "string"
|
|
4157
4149
|
},
|
|
@@ -4335,20 +4327,12 @@
|
|
|
4335
4327
|
"low"
|
|
4336
4328
|
]
|
|
4337
4329
|
},
|
|
4338
|
-
"input_fidelity": {
|
|
4339
|
-
"type": "string"
|
|
4340
|
-
},
|
|
4341
4330
|
"async": {
|
|
4342
4331
|
"type": "boolean"
|
|
4343
4332
|
},
|
|
4344
4333
|
"stream": {
|
|
4345
4334
|
"type": "boolean"
|
|
4346
4335
|
},
|
|
4347
|
-
"partial_images": {
|
|
4348
|
-
"type": "integer",
|
|
4349
|
-
"minimum": 0,
|
|
4350
|
-
"maximum": 3
|
|
4351
|
-
},
|
|
4352
4336
|
"user": {
|
|
4353
4337
|
"type": "string"
|
|
4354
4338
|
},
|
|
@@ -7168,16 +7152,6 @@
|
|
|
7168
7152
|
],
|
|
7169
7153
|
"description": "Moderation strictness for compatible image models such as gpt-image-2"
|
|
7170
7154
|
},
|
|
7171
|
-
"partial_images": {
|
|
7172
|
-
"type": "integer",
|
|
7173
|
-
"minimum": 0,
|
|
7174
|
-
"maximum": 3,
|
|
7175
|
-
"description": "Number of partial image events requested from compatible streaming-capable models."
|
|
7176
|
-
},
|
|
7177
|
-
"input_fidelity": {
|
|
7178
|
-
"type": "string",
|
|
7179
|
-
"description": "Input fidelity hint for compatible reference-image models."
|
|
7180
|
-
},
|
|
7181
7155
|
"stream": {
|
|
7182
7156
|
"type": "boolean",
|
|
7183
7157
|
"description": "Reserved image streaming flag. The public generation route currently rejects true."
|
|
@@ -7298,14 +7272,6 @@
|
|
|
7298
7272
|
"low"
|
|
7299
7273
|
]
|
|
7300
7274
|
},
|
|
7301
|
-
"partial_images": {
|
|
7302
|
-
"type": "integer",
|
|
7303
|
-
"minimum": 0,
|
|
7304
|
-
"maximum": 3
|
|
7305
|
-
},
|
|
7306
|
-
"input_fidelity": {
|
|
7307
|
-
"type": "string"
|
|
7308
|
-
},
|
|
7309
7275
|
"stream": {
|
|
7310
7276
|
"type": "boolean"
|
|
7311
7277
|
},
|
package/generated/tools.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"openapi": "3.0.3",
|
|
7
7
|
"title": "TokenLab AI Gateway",
|
|
8
8
|
"version": "1.0.0",
|
|
9
|
-
"sha256": "
|
|
9
|
+
"sha256": "a907542f726d1cd6fdee3c0bc369848b500edbb6a23d1014d13781d722e2da60"
|
|
10
10
|
},
|
|
11
11
|
"default_profile": "core",
|
|
12
12
|
"profiles": [
|
|
@@ -2239,16 +2239,6 @@
|
|
|
2239
2239
|
],
|
|
2240
2240
|
"description": "Moderation strictness for compatible image models such as gpt-image-2"
|
|
2241
2241
|
},
|
|
2242
|
-
"partial_images": {
|
|
2243
|
-
"type": "integer",
|
|
2244
|
-
"minimum": 0,
|
|
2245
|
-
"maximum": 3,
|
|
2246
|
-
"description": "Number of partial image events requested from compatible streaming-capable models."
|
|
2247
|
-
},
|
|
2248
|
-
"input_fidelity": {
|
|
2249
|
-
"type": "string",
|
|
2250
|
-
"description": "Input fidelity hint for compatible reference-image models."
|
|
2251
|
-
},
|
|
2252
2242
|
"stream": {
|
|
2253
2243
|
"type": "boolean",
|
|
2254
2244
|
"description": "Image streaming is not exposed through MCP tool calls; omit stream or set it to false.",
|
|
@@ -2299,8 +2289,6 @@
|
|
|
2299
2289
|
"output_compression",
|
|
2300
2290
|
"compression",
|
|
2301
2291
|
"moderation",
|
|
2302
|
-
"partial_images",
|
|
2303
|
-
"input_fidelity",
|
|
2304
2292
|
"stream",
|
|
2305
2293
|
"aspect_ratio",
|
|
2306
2294
|
"resolution",
|
|
@@ -2444,14 +2432,6 @@
|
|
|
2444
2432
|
"low"
|
|
2445
2433
|
]
|
|
2446
2434
|
},
|
|
2447
|
-
"partial_images": {
|
|
2448
|
-
"type": "integer",
|
|
2449
|
-
"minimum": 0,
|
|
2450
|
-
"maximum": 3
|
|
2451
|
-
},
|
|
2452
|
-
"input_fidelity": {
|
|
2453
|
-
"type": "string"
|
|
2454
|
-
},
|
|
2455
2435
|
"stream": {
|
|
2456
2436
|
"type": "boolean",
|
|
2457
2437
|
"const": false,
|
|
@@ -2503,8 +2483,6 @@
|
|
|
2503
2483
|
"output_compression",
|
|
2504
2484
|
"compression",
|
|
2505
2485
|
"moderation",
|
|
2506
|
-
"partial_images",
|
|
2507
|
-
"input_fidelity",
|
|
2508
2486
|
"stream",
|
|
2509
2487
|
"size",
|
|
2510
2488
|
"aspect_ratio",
|
|
@@ -4712,9 +4690,6 @@
|
|
|
4712
4690
|
"low"
|
|
4713
4691
|
]
|
|
4714
4692
|
},
|
|
4715
|
-
"input_fidelity": {
|
|
4716
|
-
"type": "string"
|
|
4717
|
-
},
|
|
4718
4693
|
"async": {
|
|
4719
4694
|
"type": "boolean",
|
|
4720
4695
|
"description": "Return a task before the edited image is ready for models that support public async execution."
|
|
@@ -4724,11 +4699,6 @@
|
|
|
4724
4699
|
"description": "Image streaming is not exposed through MCP tool calls; omit stream or set it to false.",
|
|
4725
4700
|
"const": false
|
|
4726
4701
|
},
|
|
4727
|
-
"partial_images": {
|
|
4728
|
-
"type": "integer",
|
|
4729
|
-
"minimum": 0,
|
|
4730
|
-
"maximum": 3
|
|
4731
|
-
},
|
|
4732
4702
|
"user": {
|
|
4733
4703
|
"type": "string"
|
|
4734
4704
|
},
|
|
@@ -4828,10 +4798,8 @@
|
|
|
4828
4798
|
"output_compression",
|
|
4829
4799
|
"compression",
|
|
4830
4800
|
"moderation",
|
|
4831
|
-
"input_fidelity",
|
|
4832
4801
|
"async",
|
|
4833
4802
|
"stream",
|
|
4834
|
-
"partial_images",
|
|
4835
4803
|
"user",
|
|
4836
4804
|
"image_urls",
|
|
4837
4805
|
"images",
|
|
@@ -4960,9 +4928,6 @@
|
|
|
4960
4928
|
"low"
|
|
4961
4929
|
]
|
|
4962
4930
|
},
|
|
4963
|
-
"input_fidelity": {
|
|
4964
|
-
"type": "string"
|
|
4965
|
-
},
|
|
4966
4931
|
"async": {
|
|
4967
4932
|
"type": "boolean"
|
|
4968
4933
|
},
|
|
@@ -4971,11 +4936,6 @@
|
|
|
4971
4936
|
"const": false,
|
|
4972
4937
|
"description": "Image streaming is not exposed through MCP tool calls; omit stream or set it to false."
|
|
4973
4938
|
},
|
|
4974
|
-
"partial_images": {
|
|
4975
|
-
"type": "integer",
|
|
4976
|
-
"minimum": 0,
|
|
4977
|
-
"maximum": 3
|
|
4978
|
-
},
|
|
4979
4939
|
"user": {
|
|
4980
4940
|
"type": "string"
|
|
4981
4941
|
},
|
|
@@ -5015,10 +4975,8 @@
|
|
|
5015
4975
|
"output_compression",
|
|
5016
4976
|
"compression",
|
|
5017
4977
|
"moderation",
|
|
5018
|
-
"input_fidelity",
|
|
5019
4978
|
"async",
|
|
5020
4979
|
"stream",
|
|
5021
|
-
"partial_images",
|
|
5022
4980
|
"user",
|
|
5023
4981
|
"image[]"
|
|
5024
4982
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tokenlabai/mcp-server",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "MCP server for TokenLab model discovery, native LLM endpoints, multimodal generation, async tasks, embeddings, rerank, and translation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -47,5 +47,8 @@
|
|
|
47
47
|
"type": "git",
|
|
48
48
|
"url": "git+https://github.com/hedging8563/tokenlab-mcp-server.git"
|
|
49
49
|
},
|
|
50
|
-
"homepage": "https://
|
|
50
|
+
"homepage": "https://tokenlab.sh",
|
|
51
|
+
"bugs": {
|
|
52
|
+
"url": "https://github.com/hedging8563/tokenlab-mcp-server/issues"
|
|
53
|
+
}
|
|
51
54
|
}
|