@tokenlabai/mcp-server 0.6.7 → 0.6.8

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.
@@ -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.7",
8
+ "version": "0.6.8",
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",
@@ -25,8 +25,8 @@
25
25
  "openapi": "3.0.3",
26
26
  "title": "TokenLab AI Gateway",
27
27
  "version": "1.0.0",
28
- "sha256": "b97e2566a0ee162a76bf3036e53e124cc7555d0efe51bd38e17894baf7124152",
29
- "tool_manifest_sha256": "020115866467dcabae35643182b950b59ec533eb6346e887ec5046cf2d021423"
28
+ "sha256": "66bfd771665f51aca0bd8a16cdec7c63712b529c4ff009d2b29cfdbb173e2602",
29
+ "tool_manifest_sha256": "c0ff1a3dfd194349349c2135ef26ff3b0e6631a4c2cb76a15898659298419a6c"
30
30
  },
31
31
  "profiles": {
32
32
  "catalog": {
@@ -84,11 +84,10 @@
84
84
  },
85
85
  "full": {
86
86
  "is_default": false,
87
- "endpoint_tools": 76,
87
+ "endpoint_tools": 75,
88
88
  "composite_tools": 2,
89
- "total_tools": 78,
89
+ "total_tools": 77,
90
90
  "tool_names": [
91
- "bind_seedance_visual_validation_result",
92
91
  "cancel_anthropic_message_batch",
93
92
  "cancel_batch",
94
93
  "cancel_task",
@@ -110,9 +109,9 @@
110
109
  "create_response",
111
110
  "create_seedance_material_asset",
112
111
  "create_seedance_material_asset_group",
113
- "create_seedance_visual_validation_session",
114
112
  "create_speech",
115
113
  "create_video",
114
+ "create_visual_validate_session",
116
115
  "create_volc_compatible_seedance_task",
117
116
  "create_world",
118
117
  "delete_anthropic_message_batch",
@@ -138,6 +137,7 @@
138
137
  "get_seedance_material_asset_group",
139
138
  "get_task_status",
140
139
  "get_video_task",
140
+ "get_visual_validate_result",
141
141
  "get_volc_compatible_seedance_task",
142
142
  "get_world",
143
143
  "get_world_media_asset",
@@ -149,7 +149,6 @@
149
149
  "list_models",
150
150
  "list_seedance_material_asset_groups",
151
151
  "list_seedance_material_assets",
152
- "list_seedance_visual_validation_history",
153
152
  "list_volc_compatible_seedance_tasks",
154
153
  "list_worlds",
155
154
  "prepare_world_media_asset_upload",
@@ -6,7 +6,7 @@
6
6
  "openapi": "3.0.3",
7
7
  "title": "TokenLab AI Gateway",
8
8
  "version": "1.0.0",
9
- "sha256": "b97e2566a0ee162a76bf3036e53e124cc7555d0efe51bd38e17894baf7124152"
9
+ "sha256": "66bfd771665f51aca0bd8a16cdec7c63712b529c4ff009d2b29cfdbb173e2602"
10
10
  },
11
11
  "default_profile": "core",
12
12
  "profiles": [
@@ -14,89 +14,8 @@
14
14
  "core",
15
15
  "full"
16
16
  ],
17
- "tool_count": 76,
17
+ "tool_count": 75,
18
18
  "tools": [
19
- {
20
- "name": "bind_seedance_visual_validation_result",
21
- "title": "Bind Seedance real-person verification result",
22
- "operation_id": "bindSeedanceVisualValidationResult",
23
- "method": "POST",
24
- "path": "/v1/videos/assets/visual-validation-results",
25
- "content_type": "application/json",
26
- "auth": "required",
27
- "tags": [
28
- "Video"
29
- ],
30
- "profiles": [
31
- "full"
32
- ],
33
- "description": "Bind Seedance real-person verification result Binds a successful TokenLab real-person verification session to a TokenLab real-person material group. The request must include session_id and verification_token from the TokenLab callback redirect.",
34
- "input_schema": {
35
- "type": "object",
36
- "properties": {
37
- "session_id": {
38
- "type": "string",
39
- "description": "TokenLab real-person verification session ID."
40
- },
41
- "verification_token": {
42
- "type": "string",
43
- "description": "TokenLab opaque token from the TokenLab callback redirect."
44
- },
45
- "group_name": {
46
- "type": "string",
47
- "minLength": 1,
48
- "maxLength": 128,
49
- "description": "Optional TokenLab display name for the bound real-person material group."
50
- },
51
- "description": {
52
- "anyOf": [
53
- {
54
- "type": "string",
55
- "maxLength": 500
56
- },
57
- {
58
- "type": "null"
59
- }
60
- ]
61
- },
62
- "metadata": {
63
- "anyOf": [
64
- {
65
- "type": "object",
66
- "additionalProperties": true
67
- },
68
- {
69
- "type": "null"
70
- }
71
- ]
72
- }
73
- },
74
- "required": [
75
- "session_id",
76
- "verification_token"
77
- ],
78
- "additionalProperties": false
79
- },
80
- "bindings": {
81
- "path": [],
82
- "query": [],
83
- "header": [],
84
- "body": [
85
- "session_id",
86
- "verification_token",
87
- "group_name",
88
- "description",
89
- "metadata"
90
- ],
91
- "files": []
92
- },
93
- "annotations": {
94
- "readOnlyHint": false,
95
- "destructiveHint": false,
96
- "idempotentHint": false,
97
- "openWorldHint": true
98
- }
99
- },
100
19
  {
101
20
  "name": "cancel_anthropic_message_batch",
102
21
  "title": "Cancel message batch (Anthropic-compatible)",
@@ -3103,7 +3022,7 @@
3103
3022
  "profiles": [
3104
3023
  "full"
3105
3024
  ],
3106
- "description": "Create Seedance material asset Uploads one Seedance material asset URL into a TokenLab material group. Real-person assets require the TokenLab group_id returned by the real-person verification bind flow.",
3025
+ "description": "Create Seedance material asset Uploads one Seedance material asset URL into a TokenLab material group. Real-person assets require the group_id mapped from Result.GroupId returned by GetVisualValidateResult.",
3107
3026
  "input_schema": {
3108
3027
  "type": "object",
3109
3028
  "properties": {
@@ -3193,7 +3112,7 @@
3193
3112
  "profiles": [
3194
3113
  "full"
3195
3114
  ],
3196
- "description": "Create Seedance material asset group Creates a TokenLab Seedance virtual-avatar material group. Real-person material groups are created by the real-person verification bind flow.",
3115
+ "description": "Create Seedance material asset group Creates a TokenLab Seedance virtual-avatar material group. Real-person material groups are created by GetVisualValidateResult after the H5 validation succeeds.",
3197
3116
  "input_schema": {
3198
3117
  "type": "object",
3199
3118
  "properties": {
@@ -3221,7 +3140,7 @@
3221
3140
  "liveness_face"
3222
3141
  ],
3223
3142
  "default": "aigc_avatar",
3224
- "description": "Material library class. Direct creation supports aigc_avatar. Create liveness_face groups through real-person material verification."
3143
+ "description": "Material library class. Direct creation supports aigc_avatar. Create liveness_face groups through CreateVisualValidateSession followed by GetVisualValidateResult."
3225
3144
  },
3226
3145
  "metadata": {
3227
3146
  "anyOf": [
@@ -3256,62 +3175,6 @@
3256
3175
  "openWorldHint": true
3257
3176
  }
3258
3177
  },
3259
- {
3260
- "name": "create_seedance_visual_validation_session",
3261
- "title": "Create Seedance real-person verification session",
3262
- "operation_id": "createSeedanceVisualValidationSession",
3263
- "method": "POST",
3264
- "path": "/v1/videos/assets/visual-validation-sessions",
3265
- "content_type": "application/json",
3266
- "auth": "required",
3267
- "tags": [
3268
- "Video"
3269
- ],
3270
- "profiles": [
3271
- "full"
3272
- ],
3273
- "description": "Create Seedance real-person verification session Creates a TokenLab real-person material verification H5 session. The response contains only TokenLab session fields. The session and H5 link are valid for 120 seconds; the binding token is delivered through the TokenLab callback redirect after the H5 flow completes.",
3274
- "input_schema": {
3275
- "type": "object",
3276
- "properties": {
3277
- "callback_url": {
3278
- "type": "string",
3279
- "format": "uri",
3280
- "description": "Public HTTPS URL that TokenLab redirects to after the H5 verification flow. TokenLab appends session_id, verification_token, verification_status, and result_code."
3281
- },
3282
- "language": {
3283
- "type": "string",
3284
- "enum": [
3285
- "zh",
3286
- "en",
3287
- "zh-Hant"
3288
- ],
3289
- "default": "zh",
3290
- "description": "Language parameter appended to the returned H5 link."
3291
- }
3292
- },
3293
- "required": [
3294
- "callback_url"
3295
- ],
3296
- "additionalProperties": false
3297
- },
3298
- "bindings": {
3299
- "path": [],
3300
- "query": [],
3301
- "header": [],
3302
- "body": [
3303
- "callback_url",
3304
- "language"
3305
- ],
3306
- "files": []
3307
- },
3308
- "annotations": {
3309
- "readOnlyHint": false,
3310
- "destructiveHint": false,
3311
- "idempotentHint": false,
3312
- "openWorldHint": true
3313
- }
3314
- },
3315
3178
  {
3316
3179
  "name": "create_speech",
3317
3180
  "title": "Create speech",
@@ -3623,7 +3486,7 @@
3623
3486
  },
3624
3487
  "material_asset_id": {
3625
3488
  "type": "string",
3626
- "description": "TokenLab Seedance material asset ID returned by /v1/videos/assets, by automatic image preparation, or by a real-person verification bind flow. Use it after the asset is ACTIVE with Seedance models that can use the TokenLab material library. The asset must belong to the current account. This field is a generic reference input; to assign first-frame, last-frame, or reference-image semantics explicitly, put asset://<material_asset_id> in start_image, end_image, or reference_images."
3489
+ "description": "TokenLab Seedance material asset ID returned by /v1/videos/assets, by automatic image preparation, or from a real-person group returned by GetVisualValidateResult. Use it after the asset is ACTIVE with Seedance models that can use the TokenLab material library. The asset must belong to the current account. This field is a generic reference input; to assign first-frame, last-frame, or reference-image semantics explicitly, put asset://<material_asset_id> in start_image, end_image, or reference_images."
3627
3490
  },
3628
3491
  "material_asset_ids": {
3629
3492
  "type": "array",
@@ -3850,6 +3713,64 @@
3850
3713
  ]
3851
3714
  }
3852
3715
  },
3716
+ {
3717
+ "name": "create_visual_validate_session",
3718
+ "title": "Create visual validation session",
3719
+ "operation_id": "dispatchVolcCompatibleSeedanceActionPost",
3720
+ "method": "POST",
3721
+ "path": "/api/v3",
3722
+ "content_type": "application/json",
3723
+ "auth": "required",
3724
+ "tags": [
3725
+ "Seedance Volc Compatible"
3726
+ ],
3727
+ "profiles": [
3728
+ "full"
3729
+ ],
3730
+ "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.",
3731
+ "input_schema": {
3732
+ "type": "object",
3733
+ "properties": {
3734
+ "CallbackURL": {
3735
+ "type": "string",
3736
+ "format": "uri",
3737
+ "description": "Public HTTPS URL opened by the H5 flow after validation. Official callback query names are preserved."
3738
+ },
3739
+ "ProjectName": {
3740
+ "type": "string",
3741
+ "default": "default",
3742
+ "description": "Case-sensitive project name. Omit to use default."
3743
+ }
3744
+ },
3745
+ "required": [
3746
+ "CallbackURL"
3747
+ ],
3748
+ "additionalProperties": false
3749
+ },
3750
+ "bindings": {
3751
+ "path": [],
3752
+ "query": [
3753
+ "Action",
3754
+ "Version"
3755
+ ],
3756
+ "header": [],
3757
+ "body": [
3758
+ "CallbackURL",
3759
+ "ProjectName"
3760
+ ],
3761
+ "files": []
3762
+ },
3763
+ "default_arguments": {
3764
+ "Action": "CreateVisualValidateSession",
3765
+ "Version": "2024-01-01"
3766
+ },
3767
+ "annotations": {
3768
+ "readOnlyHint": false,
3769
+ "destructiveHint": false,
3770
+ "idempotentHint": false,
3771
+ "openWorldHint": true
3772
+ }
3773
+ },
3853
3774
  {
3854
3775
  "name": "create_volc_compatible_seedance_task",
3855
3776
  "title": "Create Seedance task (Volc-compatible)",
@@ -4692,7 +4613,7 @@
4692
4613
  "profiles": [
4693
4614
  "full"
4694
4615
  ],
4695
- "description": "Seedance Action dispatcher (POST) Dispatches Volc-style Action requests. The Action and Version fields may be in the query string or JSON body.",
4616
+ "description": "Seedance Action dispatcher (POST) Dispatches Volc-style Action requests with TokenLab Bearer authentication. Real-person validation uses CreateVisualValidateSession and GetVisualValidateResult with Version=2024-01-01; these actions are POST-only.",
4696
4617
  "input_schema": {
4697
4618
  "type": "object",
4698
4619
  "properties": {
@@ -4702,12 +4623,59 @@
4702
4623
  "CreateContentsGenerationsTasks",
4703
4624
  "GetContentsGenerationsTask",
4704
4625
  "ListContentsGenerationsTasks",
4705
- "DeleteContentsGenerationsTasks"
4626
+ "DeleteContentsGenerationsTasks",
4627
+ "CreateVisualValidateSession",
4628
+ "GetVisualValidateResult"
4706
4629
  ]
4707
4630
  },
4708
4631
  "Version": {
4709
4632
  "type": "string",
4710
4633
  "default": "2024-01-01"
4634
+ },
4635
+ "body": {
4636
+ "anyOf": [
4637
+ {
4638
+ "type": "object",
4639
+ "required": [
4640
+ "CallbackURL"
4641
+ ],
4642
+ "properties": {
4643
+ "CallbackURL": {
4644
+ "type": "string",
4645
+ "format": "uri",
4646
+ "description": "Public HTTPS URL opened by the H5 flow after validation. Official callback query names are preserved."
4647
+ },
4648
+ "ProjectName": {
4649
+ "type": "string",
4650
+ "default": "default",
4651
+ "description": "Case-sensitive project name. Omit to use default."
4652
+ }
4653
+ },
4654
+ "additionalProperties": false
4655
+ },
4656
+ {
4657
+ "type": "object",
4658
+ "required": [
4659
+ "BytedToken"
4660
+ ],
4661
+ "properties": {
4662
+ "BytedToken": {
4663
+ "type": "string",
4664
+ "description": "Opaque token returned by CreateVisualValidateSession. It is valid for 30 minutes and scoped to the authenticated organization, actor, and ProjectName."
4665
+ },
4666
+ "ProjectName": {
4667
+ "type": "string",
4668
+ "default": "default",
4669
+ "description": "Must match the ProjectName used to create the token."
4670
+ }
4671
+ },
4672
+ "additionalProperties": false
4673
+ },
4674
+ {
4675
+ "type": "object",
4676
+ "additionalProperties": true
4677
+ }
4678
+ ]
4711
4679
  }
4712
4680
  },
4713
4681
  "additionalProperties": false
@@ -4719,7 +4687,9 @@
4719
4687
  "Version"
4720
4688
  ],
4721
4689
  "header": [],
4722
- "body": [],
4690
+ "body": [
4691
+ "body"
4692
+ ],
4723
4693
  "files": []
4724
4694
  },
4725
4695
  "annotations": {
@@ -5639,6 +5609,63 @@
5639
5609
  "openWorldHint": true
5640
5610
  }
5641
5611
  },
5612
+ {
5613
+ "name": "get_visual_validate_result",
5614
+ "title": "Get visual validation result",
5615
+ "operation_id": "dispatchVolcCompatibleSeedanceActionPost",
5616
+ "method": "POST",
5617
+ "path": "/api/v3",
5618
+ "content_type": "application/json",
5619
+ "auth": "required",
5620
+ "tags": [
5621
+ "Seedance Volc Compatible"
5622
+ ],
5623
+ "profiles": [
5624
+ "full"
5625
+ ],
5626
+ "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.",
5627
+ "input_schema": {
5628
+ "type": "object",
5629
+ "properties": {
5630
+ "BytedToken": {
5631
+ "type": "string",
5632
+ "description": "Opaque token returned by CreateVisualValidateSession. It is valid for 30 minutes and scoped to the authenticated organization, actor, and ProjectName."
5633
+ },
5634
+ "ProjectName": {
5635
+ "type": "string",
5636
+ "default": "default",
5637
+ "description": "Must match the ProjectName used to create the token."
5638
+ }
5639
+ },
5640
+ "required": [
5641
+ "BytedToken"
5642
+ ],
5643
+ "additionalProperties": false
5644
+ },
5645
+ "bindings": {
5646
+ "path": [],
5647
+ "query": [
5648
+ "Action",
5649
+ "Version"
5650
+ ],
5651
+ "header": [],
5652
+ "body": [
5653
+ "BytedToken",
5654
+ "ProjectName"
5655
+ ],
5656
+ "files": []
5657
+ },
5658
+ "default_arguments": {
5659
+ "Action": "GetVisualValidateResult",
5660
+ "Version": "2024-01-01"
5661
+ },
5662
+ "annotations": {
5663
+ "readOnlyHint": false,
5664
+ "destructiveHint": false,
5665
+ "idempotentHint": true,
5666
+ "openWorldHint": true
5667
+ }
5668
+ },
5642
5669
  {
5643
5670
  "name": "get_volc_compatible_seedance_task",
5644
5671
  "title": "Get Seedance task (Volc-compatible)",
@@ -6144,7 +6171,7 @@
6144
6171
  "profiles": [
6145
6172
  "full"
6146
6173
  ],
6147
- "description": "List Seedance material asset groups Lists Seedance material groups owned by the authenticated organization. Real-person groups are returned after a successful verification bind flow.",
6174
+ "description": "List Seedance material asset groups Lists Seedance material groups owned by the authenticated organization. Real-person groups are returned after GetVisualValidateResult succeeds.",
6148
6175
  "input_schema": {
6149
6176
  "type": "object",
6150
6177
  "properties": {
@@ -6265,55 +6292,6 @@
6265
6292
  "openWorldHint": true
6266
6293
  }
6267
6294
  },
6268
- {
6269
- "name": "list_seedance_visual_validation_history",
6270
- "title": "List Seedance real-person verification history",
6271
- "operation_id": "listSeedanceVisualValidationHistory",
6272
- "method": "GET",
6273
- "path": "/v1/videos/assets/visual-validation-sessions",
6274
- "content_type": null,
6275
- "auth": "required",
6276
- "tags": [
6277
- "Video"
6278
- ],
6279
- "profiles": [
6280
- "full"
6281
- ],
6282
- "description": "List Seedance real-person verification history Lists TokenLab real-person material verification history for the authenticated organization. The response contains only TokenLab IDs and session status fields.",
6283
- "input_schema": {
6284
- "type": "object",
6285
- "properties": {
6286
- "page_size": {
6287
- "type": "integer",
6288
- "minimum": 1,
6289
- "maximum": 100,
6290
- "default": 20,
6291
- "description": "Maximum number of history records to return."
6292
- },
6293
- "page_token": {
6294
- "type": "string",
6295
- "description": "Pagination token from a previous response."
6296
- }
6297
- },
6298
- "additionalProperties": false
6299
- },
6300
- "bindings": {
6301
- "path": [],
6302
- "query": [
6303
- "page_size",
6304
- "page_token"
6305
- ],
6306
- "header": [],
6307
- "body": [],
6308
- "files": []
6309
- },
6310
- "annotations": {
6311
- "readOnlyHint": true,
6312
- "destructiveHint": false,
6313
- "idempotentHint": true,
6314
- "openWorldHint": true
6315
- }
6316
- },
6317
6295
  {
6318
6296
  "name": "list_volc_compatible_seedance_tasks",
6319
6297
  "title": "List Seedance tasks (Volc-compatible)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokenlabai/mcp-server",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "OpenAPI-generated TokenLab MCP server with catalog, native AI, multimodal, resource, prompt, and async task support.",
5
5
  "type": "module",
6
6
  "engines": {