@tokenlabai/mcp-server 0.6.15 → 0.6.17

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 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.15 generates 78 endpoint tools; two composite discovery tools are registered at runtime.
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.17 generates 78 endpoint tools; with the two MCP-only composite discovery tools, the full profile returns 80 tools from `tools/list`.
14
14
 
15
- | Profile | Endpoint tools | Model-facing schema | Coverage |
16
- | --- | ---: | --- | --- |
17
- | `catalog` | 4 | Exact | Public model discovery and pricing only; no API key required |
18
- | `core` (default) | 29 | Portable | 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` | 78 | Portable | Every allowlisted developer API operation in the checked-in OpenAPI snapshot, including core plus response lifecycle, batches, worlds, and native model discovery |
15
+ | Profile | Endpoint tools | Total registered tools | Model-facing schema | Coverage |
16
+ | --- | ---: | ---: | --- | --- |
17
+ | `catalog` | 4 | 6 | Exact | Public model discovery and pricing only; no API key required |
18
+ | `core` (default) | 29 | 31 | Portable | 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` | 78 | 80 | Portable | 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 80 tools. Realtime and streaming-only operations are excluded because stdio MCP tool calls return one final result. API operations that accept `stream` fix it internally to `false` without exposing a boolean `const` to provider adapters, and the Gemini query-string API key is intentionally hidden from tool arguments.
21
+ The total registered count is the number returned by `tools/list`. All profiles include `compare_models` and `get_api_overview`, producing totals of 6, 31, and 80 tools. Realtime and streaming-only operations are excluded because stdio MCP tool calls return one final result. API operations that accept `stream` fix it internally to `false` without exposing a boolean `const` to provider adapters, and the Gemini query-string API key is intentionally hidden from tool arguments.
22
22
 
23
23
  The portable projection keeps every top-level argument but bounds deeply nested model-facing shapes. The server still validates calls against the complete generated OpenAPI schema before issuing an API request. Compatibility budgets keep `core` at no more than 60 KB and depth 8, and `full` at no more than 100 KB and depth 8 for the complete `tools/list` response. Tests also run the full profile through the Google AI SDK version used by the observed OpenCode/Gemini failure.
24
24
 
@@ -133,7 +133,7 @@ This repository includes `server.json` for the official MCP Registry.
133
133
 
134
134
  Release metadata:
135
135
 
136
- - npm package: `@tokenlabai/mcp-server@0.6.15`
136
+ - npm package: `@tokenlabai/mcp-server@0.6.17`
137
137
  - MCP registry name: `io.github.hedging8563/tokenlab`
138
138
  - `package.json.mcpName`: `io.github.hedging8563/tokenlab`
139
139
 
@@ -5,7 +5,7 @@
5
5
  "id": "tokenlab-mcp-server",
6
6
  "name": "@tokenlabai/mcp-server",
7
7
  "title": "TokenLab MCP Server",
8
- "version": "0.6.15",
8
+ "version": "0.6.17",
9
9
  "registry_name": "io.github.hedging8563/tokenlab",
10
10
  "source_url": "https://github.com/hedging8563/tokenlab-mcp-server",
11
11
  "landing_url": "https://tokenlab.sh/mcp",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tokenlabai/mcp-server",
3
- "version": "0.6.15",
4
- "description": "OpenAPI-generated TokenLab MCP server with catalog, native AI, multimodal, resource, prompt, and async task support.",
3
+ "version": "0.6.17",
4
+ "description": "OpenAPI-generated TokenLab MCP server with 31 default and 80 full-profile tools for catalog, native AI, multimodal, and async APIs.",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "node": ">=18.17"
@@ -553,21 +553,21 @@ let synchronizedReadme = replaceProjection(
553
553
  );
554
554
  synchronizedReadme = replaceProjection(
555
555
  synchronizedReadme,
556
- /\| `catalog` \| \d+ \|/,
557
- `| \`catalog\` | ${catalogProfile.endpoint_tools} |`,
558
- "README catalog profile count"
556
+ /\| `catalog` \| \d+ \| \d+ \|/,
557
+ `| \`catalog\` | ${catalogProfile.endpoint_tools} | ${catalogProfile.total_tools} |`,
558
+ "README catalog profile counts"
559
559
  );
560
560
  synchronizedReadme = replaceProjection(
561
561
  synchronizedReadme,
562
- /\| `core` \(default\) \| \d+ \|/,
563
- `| \`core\` (default) | ${coreProfile.endpoint_tools} |`,
564
- "README core profile count"
562
+ /\| `core` \(default\) \| \d+ \| \d+ \|/,
563
+ `| \`core\` (default) | ${coreProfile.endpoint_tools} | ${coreProfile.total_tools} |`,
564
+ "README core profile counts"
565
565
  );
566
566
  synchronizedReadme = replaceProjection(
567
567
  synchronizedReadme,
568
- /\| `full` \| \d+ \|/,
569
- `| \`full\` | ${fullProfile.endpoint_tools} |`,
570
- "README full profile count"
568
+ /\| `full` \| \d+ \| \d+ \|/,
569
+ `| \`full\` | ${fullProfile.endpoint_tools} | ${fullProfile.total_tools} |`,
570
+ "README full profile counts"
571
571
  );
572
572
  synchronizedReadme = replaceProjection(
573
573
  synchronizedReadme,