@tokenlabai/mcp-server 0.6.7 → 0.6.9
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 -4
- package/contract/mcp-overlay.json +27 -0
- package/contract/openapi.json +639 -508
- package/generated/public-contract.json +7 -8
- package/generated/tools.json +225 -207
- package/package.json +1 -1
- package/scripts/generate-contract.mjs +108 -35
package/README.md
CHANGED
|
@@ -10,15 +10,15 @@ 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.6.
|
|
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.6.9 generates 75 endpoint tools; two composite discovery tools are registered at runtime.
|
|
14
14
|
|
|
15
15
|
| Profile | Endpoint tools | Coverage |
|
|
16
16
|
| --- | ---: | --- |
|
|
17
17
|
| `catalog` | 4 | Public model discovery and pricing only; no API key required |
|
|
18
18
|
| `core` (default) | 29 | Catalog and pricing; Chat Completions, Responses, Anthropic Messages, Gemini generateContent; images, video, music, 3D, speech and transcription; async tasks; files; embeddings, rerank, and translation |
|
|
19
|
-
| `full` |
|
|
19
|
+
| `full` | 75 | Every allowlisted developer API operation in the checked-in OpenAPI snapshot, including core plus response lifecycle, batches, worlds, and native model discovery |
|
|
20
20
|
|
|
21
|
-
All profiles also include `compare_models` and `get_api_overview`, producing totals of 6, 31, and
|
|
21
|
+
All profiles also include `compare_models` and `get_api_overview`, producing totals of 6, 31, and 77 tools. Realtime and streaming-only operations are excluded because stdio MCP tool calls return one final result. API operations that accept `stream` constrain it to `false` in the MCP overlay, and the Gemini query-string API key is intentionally hidden from tool arguments.
|
|
22
22
|
|
|
23
23
|
Set `TOKENLAB_MCP_TOOL_PROFILE=catalog` for the smallest public-only tool list or `TOKENLAB_MCP_TOOL_PROFILE=full` for the broad developer API. Tool names, descriptions, input JSON Schemas, HTTP bindings, content types, auth requirements, and task behavior can be inspected in [`generated/tools.json`](./generated/tools.json).
|
|
24
24
|
|
|
@@ -126,7 +126,7 @@ This repository includes `server.json` for the official MCP Registry.
|
|
|
126
126
|
|
|
127
127
|
Release metadata:
|
|
128
128
|
|
|
129
|
-
- npm package: `@tokenlabai/mcp-server@0.6.
|
|
129
|
+
- npm package: `@tokenlabai/mcp-server@0.6.9`
|
|
130
130
|
- MCP registry name: `io.github.hedging8563/tokenlab`
|
|
131
131
|
- `package.json.mcpName`: `io.github.hedging8563/tokenlab`
|
|
132
132
|
|
|
@@ -65,6 +65,33 @@
|
|
|
65
65
|
]
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
|
+
"operation_variants": {
|
|
69
|
+
"dispatchVolcCompatibleSeedanceActionPost": [
|
|
70
|
+
{
|
|
71
|
+
"tool_name": "create_visual_validate_session",
|
|
72
|
+
"title": "Create visual validation session",
|
|
73
|
+
"description": "Create a real-person visual validation session through the Volc-compatible Action API. Returns the official ResponseMetadata and Result shape with BytedToken, H5Link, and CallbackURL.",
|
|
74
|
+
"request_schema": "#/components/schemas/VolcCreateVisualValidateSessionRequest",
|
|
75
|
+
"fixed_arguments": {
|
|
76
|
+
"Action": "CreateVisualValidateSession",
|
|
77
|
+
"Version": "2024-01-01"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"tool_name": "get_visual_validate_result",
|
|
82
|
+
"title": "Get visual validation result",
|
|
83
|
+
"description": "Get the mapped real-person material GroupId through the Volc-compatible Action API after the H5 validation succeeds. The operation returns the official ResponseMetadata and Result shape.",
|
|
84
|
+
"request_schema": "#/components/schemas/VolcGetVisualValidateResultRequest",
|
|
85
|
+
"fixed_arguments": {
|
|
86
|
+
"Action": "GetVisualValidateResult",
|
|
87
|
+
"Version": "2024-01-01"
|
|
88
|
+
},
|
|
89
|
+
"annotations": {
|
|
90
|
+
"idempotentHint": true
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
},
|
|
68
95
|
"public_contract": {
|
|
69
96
|
"landing_url": "https://tokenlab.sh/mcp",
|
|
70
97
|
"docs_url": "https://docs.tokenlab.sh/integrations/tokenlab-mcp-server",
|