@norbix.ai/mcp 0.7.0 → 0.9.0
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 +13 -1
- package/dist/manifest/dtos.hub.json +439 -48
- package/dist/manifest/endpoints.json +24 -0
- package/dist/server.js +4 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -166,7 +166,9 @@ NORBIX_HUB_URL=https://hub.norbix.ai norbix-mcp --http --port 3010
|
|
|
166
166
|
`norbix_test_integration`, `norbix_get_code_functions`, `norbix_get_code_function_qualifiers`,
|
|
167
167
|
`norbix_invoke_code_function`, `norbix_get_code_function_event_sample`,
|
|
168
168
|
`norbix_get_code_function_runs`, `norbix_get_marketplace_integrations`,
|
|
169
|
-
`norbix_save_marketplace_integration`, `
|
|
169
|
+
`norbix_save_marketplace_integration`, `norbix_test_marketplace_integration`,
|
|
170
|
+
`norbix_invoke_marketplace_function`, `norbix_get_marketplace_function_runs`,
|
|
171
|
+
`norbix_get_database_schemas`,
|
|
170
172
|
`norbix_find_documents`, `norbix_find_one_document`, `norbix_insert_document`,
|
|
171
173
|
`norbix_update_document`, `norbix_get_taxonomy_terms`, `norbix_get_roles`, `norbix_get_policies`,
|
|
172
174
|
`norbix_get_logs`, `norbix_list_service_api_keys`.
|
|
@@ -203,6 +205,16 @@ envelope itself (`CodeFunctionEventDto`: `specVersion`, `event`, `source`,
|
|
|
203
205
|
`context.runAs.accessToken`, `data.{database,user,file,payment,ai,task,payload}`,
|
|
204
206
|
`config`) is in `norbix_describe_endpoint("getCodeFunctionEventSample")`.
|
|
205
207
|
|
|
208
|
+
**Marketplace** (`@norbix.ai/ts` 4.21.0): `norbix_save_marketplace_integration`
|
|
209
|
+
enables a listing as a connection (empty `integration.viewId` → the answer's `id`
|
|
210
|
+
is the minted `int_…`), `norbix_test_marketplace_integration` runs its validation
|
|
211
|
+
steps (`steps[]`; functions can be added once every `requiredForFunctions` step
|
|
212
|
+
succeeded), `norbix_invoke_marketplace_function` calls a function by hand
|
|
213
|
+
(`functionViewId`, `payload`), and `norbix_get_marketplace_function_runs` lists
|
|
214
|
+
the last runs of a trigger or task. Listings, functions (`saveMarketplaceFunction`
|
|
215
|
+
with `arguments` and `inputs`) and the rest of the 23 routes are reached with
|
|
216
|
+
`norbix_search_endpoints("marketplace")`.
|
|
217
|
+
|
|
206
218
|
## Database tools
|
|
207
219
|
|
|
208
220
|
Six shortcuts cover the everyday database work. Everything else in the
|
|
@@ -212,6 +212,16 @@
|
|
|
212
212
|
"name": "resolver",
|
|
213
213
|
"type": "TokenMappingResolverType",
|
|
214
214
|
"optional": false
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"name": "secretKeys",
|
|
218
|
+
"type": "string[]",
|
|
219
|
+
"optional": true
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "secretFormat",
|
|
223
|
+
"type": "SecretValueFormat",
|
|
224
|
+
"optional": true
|
|
215
225
|
}
|
|
216
226
|
]
|
|
217
227
|
},
|
|
@@ -3312,6 +3322,11 @@
|
|
|
3312
3322
|
"name": "payload",
|
|
3313
3323
|
"type": "{ [index: string]: string }",
|
|
3314
3324
|
"optional": true
|
|
3325
|
+
},
|
|
3326
|
+
{
|
|
3327
|
+
"name": "runAsUserId",
|
|
3328
|
+
"type": "string",
|
|
3329
|
+
"optional": true
|
|
3315
3330
|
}
|
|
3316
3331
|
]
|
|
3317
3332
|
},
|
|
@@ -5623,6 +5638,41 @@
|
|
|
5623
5638
|
}
|
|
5624
5639
|
]
|
|
5625
5640
|
},
|
|
5641
|
+
"MarketplaceValidationStepResultDto": {
|
|
5642
|
+
"base": null,
|
|
5643
|
+
"fields": [
|
|
5644
|
+
{
|
|
5645
|
+
"name": "key",
|
|
5646
|
+
"type": "string",
|
|
5647
|
+
"optional": false
|
|
5648
|
+
},
|
|
5649
|
+
{
|
|
5650
|
+
"name": "label",
|
|
5651
|
+
"type": "string",
|
|
5652
|
+
"optional": false
|
|
5653
|
+
},
|
|
5654
|
+
{
|
|
5655
|
+
"name": "requiredForFunctions",
|
|
5656
|
+
"type": "boolean",
|
|
5657
|
+
"optional": false
|
|
5658
|
+
},
|
|
5659
|
+
{
|
|
5660
|
+
"name": "succeeded",
|
|
5661
|
+
"type": "boolean",
|
|
5662
|
+
"optional": false
|
|
5663
|
+
},
|
|
5664
|
+
{
|
|
5665
|
+
"name": "skipped",
|
|
5666
|
+
"type": "boolean",
|
|
5667
|
+
"optional": false
|
|
5668
|
+
},
|
|
5669
|
+
{
|
|
5670
|
+
"name": "message",
|
|
5671
|
+
"type": "string",
|
|
5672
|
+
"optional": true
|
|
5673
|
+
}
|
|
5674
|
+
]
|
|
5675
|
+
},
|
|
5626
5676
|
"MarketplaceIntegrationDto": {
|
|
5627
5677
|
"base": "IntegrationDto",
|
|
5628
5678
|
"fields": [
|
|
@@ -5655,36 +5705,41 @@
|
|
|
5655
5705
|
"name": "config",
|
|
5656
5706
|
"type": "IReadOnlyDictionary<string, string>",
|
|
5657
5707
|
"optional": false
|
|
5708
|
+
},
|
|
5709
|
+
{
|
|
5710
|
+
"name": "lastValidationSteps",
|
|
5711
|
+
"type": "MarketplaceValidationStepResultDto[]",
|
|
5712
|
+
"optional": true
|
|
5658
5713
|
}
|
|
5659
5714
|
]
|
|
5660
5715
|
},
|
|
5661
|
-
"
|
|
5716
|
+
"MarketplaceFunctionParameterDto": {
|
|
5662
5717
|
"base": null,
|
|
5663
5718
|
"fields": [
|
|
5664
5719
|
{
|
|
5665
|
-
"name": "
|
|
5720
|
+
"name": "name",
|
|
5666
5721
|
"type": "string",
|
|
5667
5722
|
"optional": false
|
|
5668
5723
|
},
|
|
5669
5724
|
{
|
|
5670
|
-
"name": "
|
|
5671
|
-
"type": "
|
|
5725
|
+
"name": "type",
|
|
5726
|
+
"type": "string",
|
|
5672
5727
|
"optional": false
|
|
5673
5728
|
},
|
|
5674
5729
|
{
|
|
5675
|
-
"name": "
|
|
5730
|
+
"name": "description",
|
|
5676
5731
|
"type": "string",
|
|
5677
5732
|
"optional": true
|
|
5678
5733
|
},
|
|
5679
5734
|
{
|
|
5680
|
-
"name": "
|
|
5681
|
-
"type": "
|
|
5682
|
-
"optional":
|
|
5735
|
+
"name": "isRequired",
|
|
5736
|
+
"type": "boolean",
|
|
5737
|
+
"optional": false
|
|
5683
5738
|
},
|
|
5684
5739
|
{
|
|
5685
|
-
"name": "
|
|
5686
|
-
"type": "
|
|
5687
|
-
"optional":
|
|
5740
|
+
"name": "defaultValue",
|
|
5741
|
+
"type": "string",
|
|
5742
|
+
"optional": true
|
|
5688
5743
|
}
|
|
5689
5744
|
]
|
|
5690
5745
|
},
|
|
@@ -5724,11 +5779,21 @@
|
|
|
5724
5779
|
{
|
|
5725
5780
|
"name": "requestTemplate",
|
|
5726
5781
|
"type": "string",
|
|
5782
|
+
"optional": true
|
|
5783
|
+
},
|
|
5784
|
+
{
|
|
5785
|
+
"name": "arguments",
|
|
5786
|
+
"type": "{ [index: string]: string } = {}",
|
|
5787
|
+
"optional": false
|
|
5788
|
+
},
|
|
5789
|
+
{
|
|
5790
|
+
"name": "inputs",
|
|
5791
|
+
"type": "MarketplaceFunctionParameterDto[] = []",
|
|
5727
5792
|
"optional": false
|
|
5728
5793
|
},
|
|
5729
5794
|
{
|
|
5730
5795
|
"name": "mappedTokens",
|
|
5731
|
-
"type": "
|
|
5796
|
+
"type": "TokenMappingDto[] = []",
|
|
5732
5797
|
"optional": false
|
|
5733
5798
|
}
|
|
5734
5799
|
]
|
|
@@ -5788,33 +5853,23 @@
|
|
|
5788
5853
|
}
|
|
5789
5854
|
]
|
|
5790
5855
|
},
|
|
5791
|
-
"
|
|
5856
|
+
"MarketplaceInstallFormDto": {
|
|
5792
5857
|
"base": null,
|
|
5793
5858
|
"fields": [
|
|
5794
5859
|
{
|
|
5795
|
-
"name": "
|
|
5860
|
+
"name": "dataSchema",
|
|
5796
5861
|
"type": "string",
|
|
5797
5862
|
"optional": false
|
|
5798
5863
|
},
|
|
5799
5864
|
{
|
|
5800
|
-
"name": "
|
|
5865
|
+
"name": "uiSchema",
|
|
5801
5866
|
"type": "string",
|
|
5802
5867
|
"optional": false
|
|
5803
5868
|
},
|
|
5804
5869
|
{
|
|
5805
|
-
"name": "
|
|
5806
|
-
"type": "string",
|
|
5807
|
-
"optional": true
|
|
5808
|
-
},
|
|
5809
|
-
{
|
|
5810
|
-
"name": "isRequired",
|
|
5811
|
-
"type": "boolean",
|
|
5870
|
+
"name": "secretKeys",
|
|
5871
|
+
"type": "string[] = []",
|
|
5812
5872
|
"optional": false
|
|
5813
|
-
},
|
|
5814
|
-
{
|
|
5815
|
-
"name": "defaultValue",
|
|
5816
|
-
"type": "string",
|
|
5817
|
-
"optional": true
|
|
5818
5873
|
}
|
|
5819
5874
|
]
|
|
5820
5875
|
},
|
|
@@ -5888,6 +5943,36 @@
|
|
|
5888
5943
|
}
|
|
5889
5944
|
]
|
|
5890
5945
|
},
|
|
5946
|
+
"MarketplaceValidationStepDto": {
|
|
5947
|
+
"base": null,
|
|
5948
|
+
"fields": [
|
|
5949
|
+
{
|
|
5950
|
+
"name": "key",
|
|
5951
|
+
"type": "string",
|
|
5952
|
+
"optional": false
|
|
5953
|
+
},
|
|
5954
|
+
{
|
|
5955
|
+
"name": "label",
|
|
5956
|
+
"type": "string",
|
|
5957
|
+
"optional": false
|
|
5958
|
+
},
|
|
5959
|
+
{
|
|
5960
|
+
"name": "description",
|
|
5961
|
+
"type": "string",
|
|
5962
|
+
"optional": true
|
|
5963
|
+
},
|
|
5964
|
+
{
|
|
5965
|
+
"name": "requiredForFunctions",
|
|
5966
|
+
"type": "boolean",
|
|
5967
|
+
"optional": false
|
|
5968
|
+
},
|
|
5969
|
+
{
|
|
5970
|
+
"name": "probe",
|
|
5971
|
+
"type": "MarketplaceHttpRequestSpecDto",
|
|
5972
|
+
"optional": true
|
|
5973
|
+
}
|
|
5974
|
+
]
|
|
5975
|
+
},
|
|
5891
5976
|
"MarketplaceFunctionDefinitionDto": {
|
|
5892
5977
|
"base": null,
|
|
5893
5978
|
"fields": [
|
|
@@ -5916,6 +6001,16 @@
|
|
|
5916
6001
|
"type": "string",
|
|
5917
6002
|
"optional": true
|
|
5918
6003
|
},
|
|
6004
|
+
{
|
|
6005
|
+
"name": "formKind",
|
|
6006
|
+
"type": "MarketplaceFormKind",
|
|
6007
|
+
"optional": false
|
|
6008
|
+
},
|
|
6009
|
+
{
|
|
6010
|
+
"name": "inputs",
|
|
6011
|
+
"type": "IReadOnlyList<MarketplaceFunctionParameterDto>",
|
|
6012
|
+
"optional": false
|
|
6013
|
+
},
|
|
5919
6014
|
{
|
|
5920
6015
|
"name": "parameters",
|
|
5921
6016
|
"type": "IReadOnlyList<MarketplaceFunctionParameterDto>",
|
|
@@ -5938,7 +6033,7 @@
|
|
|
5938
6033
|
},
|
|
5939
6034
|
{
|
|
5940
6035
|
"name": "defaultTokenMappings",
|
|
5941
|
-
"type": "
|
|
6036
|
+
"type": "TokenMappingDto[] = []",
|
|
5942
6037
|
"optional": false
|
|
5943
6038
|
}
|
|
5944
6039
|
]
|
|
@@ -5991,6 +6086,16 @@
|
|
|
5991
6086
|
"type": "string",
|
|
5992
6087
|
"optional": true
|
|
5993
6088
|
},
|
|
6089
|
+
{
|
|
6090
|
+
"name": "videoUrl",
|
|
6091
|
+
"type": "string",
|
|
6092
|
+
"optional": true
|
|
6093
|
+
},
|
|
6094
|
+
{
|
|
6095
|
+
"name": "availability",
|
|
6096
|
+
"type": "MarketplaceAvailability",
|
|
6097
|
+
"optional": false
|
|
6098
|
+
},
|
|
5994
6099
|
{
|
|
5995
6100
|
"name": "isOfficial",
|
|
5996
6101
|
"type": "boolean",
|
|
@@ -6016,6 +6121,16 @@
|
|
|
6016
6121
|
"type": "IReadOnlyList<MarketplaceFieldDefinitionDto>",
|
|
6017
6122
|
"optional": false
|
|
6018
6123
|
},
|
|
6124
|
+
{
|
|
6125
|
+
"name": "installForm",
|
|
6126
|
+
"type": "MarketplaceInstallFormDto",
|
|
6127
|
+
"optional": true
|
|
6128
|
+
},
|
|
6129
|
+
{
|
|
6130
|
+
"name": "validationSteps",
|
|
6131
|
+
"type": "IReadOnlyList<MarketplaceValidationStepDto>",
|
|
6132
|
+
"optional": false
|
|
6133
|
+
},
|
|
6019
6134
|
{
|
|
6020
6135
|
"name": "functions",
|
|
6021
6136
|
"type": "IReadOnlyList<MarketplaceFunctionDefinitionDto>",
|
|
@@ -7348,6 +7463,31 @@
|
|
|
7348
7463
|
}
|
|
7349
7464
|
]
|
|
7350
7465
|
},
|
|
7466
|
+
"MarketplaceFunctionCallDto": {
|
|
7467
|
+
"base": null,
|
|
7468
|
+
"fields": [
|
|
7469
|
+
{
|
|
7470
|
+
"name": "functionId",
|
|
7471
|
+
"type": "string",
|
|
7472
|
+
"optional": false
|
|
7473
|
+
},
|
|
7474
|
+
{
|
|
7475
|
+
"name": "functionKey",
|
|
7476
|
+
"type": "string",
|
|
7477
|
+
"optional": false
|
|
7478
|
+
},
|
|
7479
|
+
{
|
|
7480
|
+
"name": "integrationId",
|
|
7481
|
+
"type": "string",
|
|
7482
|
+
"optional": false
|
|
7483
|
+
},
|
|
7484
|
+
{
|
|
7485
|
+
"name": "payload",
|
|
7486
|
+
"type": "{ [index: string]: Object } = {}",
|
|
7487
|
+
"optional": false
|
|
7488
|
+
}
|
|
7489
|
+
]
|
|
7490
|
+
},
|
|
7351
7491
|
"CodeFunctionDataDto": {
|
|
7352
7492
|
"base": null,
|
|
7353
7493
|
"fields": [
|
|
@@ -7385,6 +7525,11 @@
|
|
|
7385
7525
|
"name": "payload",
|
|
7386
7526
|
"type": "{ [index: string]: Object }",
|
|
7387
7527
|
"optional": true
|
|
7528
|
+
},
|
|
7529
|
+
{
|
|
7530
|
+
"name": "marketplace",
|
|
7531
|
+
"type": "MarketplaceFunctionCallDto",
|
|
7532
|
+
"optional": true
|
|
7388
7533
|
}
|
|
7389
7534
|
]
|
|
7390
7535
|
},
|
|
@@ -7482,6 +7627,26 @@
|
|
|
7482
7627
|
}
|
|
7483
7628
|
]
|
|
7484
7629
|
},
|
|
7630
|
+
"MarketplaceFunctionSchedulerTaskRequest": {
|
|
7631
|
+
"base": "SchedulerTaskRequest",
|
|
7632
|
+
"fields": [
|
|
7633
|
+
{
|
|
7634
|
+
"name": "type",
|
|
7635
|
+
"type": "SchedulerTaskType",
|
|
7636
|
+
"optional": false
|
|
7637
|
+
},
|
|
7638
|
+
{
|
|
7639
|
+
"name": "functionId",
|
|
7640
|
+
"type": "string",
|
|
7641
|
+
"optional": true
|
|
7642
|
+
},
|
|
7643
|
+
{
|
|
7644
|
+
"name": "payload",
|
|
7645
|
+
"type": "{ [index: string]: string }",
|
|
7646
|
+
"optional": true
|
|
7647
|
+
}
|
|
7648
|
+
]
|
|
7649
|
+
},
|
|
7485
7650
|
"ICultureBasedRequest": {
|
|
7486
7651
|
"base": null,
|
|
7487
7652
|
"fields": [
|
|
@@ -10944,6 +11109,16 @@
|
|
|
10944
11109
|
"type": "string",
|
|
10945
11110
|
"optional": true
|
|
10946
11111
|
},
|
|
11112
|
+
{
|
|
11113
|
+
"name": "lastHeartbeatOutcome",
|
|
11114
|
+
"type": "string",
|
|
11115
|
+
"optional": true
|
|
11116
|
+
},
|
|
11117
|
+
{
|
|
11118
|
+
"name": "lastHeartbeatError",
|
|
11119
|
+
"type": "string",
|
|
11120
|
+
"optional": true
|
|
11121
|
+
},
|
|
10947
11122
|
{
|
|
10948
11123
|
"name": "message",
|
|
10949
11124
|
"type": "string",
|
|
@@ -13486,6 +13661,16 @@
|
|
|
13486
13661
|
"name": "functionCount",
|
|
13487
13662
|
"type": "number",
|
|
13488
13663
|
"optional": false
|
|
13664
|
+
},
|
|
13665
|
+
{
|
|
13666
|
+
"name": "availability",
|
|
13667
|
+
"type": "MarketplaceAvailability",
|
|
13668
|
+
"optional": false
|
|
13669
|
+
},
|
|
13670
|
+
{
|
|
13671
|
+
"name": "videoUrl",
|
|
13672
|
+
"type": "string",
|
|
13673
|
+
"optional": true
|
|
13489
13674
|
}
|
|
13490
13675
|
]
|
|
13491
13676
|
},
|
|
@@ -13554,6 +13739,41 @@
|
|
|
13554
13739
|
}
|
|
13555
13740
|
]
|
|
13556
13741
|
},
|
|
13742
|
+
"MarketplaceMcpToolDto": {
|
|
13743
|
+
"base": null,
|
|
13744
|
+
"fields": [
|
|
13745
|
+
{
|
|
13746
|
+
"name": "name",
|
|
13747
|
+
"type": "string",
|
|
13748
|
+
"optional": false
|
|
13749
|
+
},
|
|
13750
|
+
{
|
|
13751
|
+
"name": "title",
|
|
13752
|
+
"type": "string",
|
|
13753
|
+
"optional": true
|
|
13754
|
+
},
|
|
13755
|
+
{
|
|
13756
|
+
"name": "description",
|
|
13757
|
+
"type": "string",
|
|
13758
|
+
"optional": true
|
|
13759
|
+
},
|
|
13760
|
+
{
|
|
13761
|
+
"name": "inputSchema",
|
|
13762
|
+
"type": "string",
|
|
13763
|
+
"optional": false
|
|
13764
|
+
},
|
|
13765
|
+
{
|
|
13766
|
+
"name": "readOnlyHint",
|
|
13767
|
+
"type": "boolean",
|
|
13768
|
+
"optional": true
|
|
13769
|
+
},
|
|
13770
|
+
{
|
|
13771
|
+
"name": "destructiveHint",
|
|
13772
|
+
"type": "boolean",
|
|
13773
|
+
"optional": true
|
|
13774
|
+
}
|
|
13775
|
+
]
|
|
13776
|
+
},
|
|
13557
13777
|
"MarketplaceFunctionProjection": {
|
|
13558
13778
|
"base": null,
|
|
13559
13779
|
"fields": [
|
|
@@ -13589,6 +13809,86 @@
|
|
|
13589
13809
|
}
|
|
13590
13810
|
]
|
|
13591
13811
|
},
|
|
13812
|
+
"MarketplaceFunctionRunDto": {
|
|
13813
|
+
"base": null,
|
|
13814
|
+
"fields": [
|
|
13815
|
+
{
|
|
13816
|
+
"name": "firedAt",
|
|
13817
|
+
"type": "string",
|
|
13818
|
+
"optional": false
|
|
13819
|
+
},
|
|
13820
|
+
{
|
|
13821
|
+
"name": "event",
|
|
13822
|
+
"type": "string",
|
|
13823
|
+
"optional": false
|
|
13824
|
+
},
|
|
13825
|
+
{
|
|
13826
|
+
"name": "source",
|
|
13827
|
+
"type": "string",
|
|
13828
|
+
"optional": false
|
|
13829
|
+
},
|
|
13830
|
+
{
|
|
13831
|
+
"name": "functionId",
|
|
13832
|
+
"type": "string",
|
|
13833
|
+
"optional": false
|
|
13834
|
+
},
|
|
13835
|
+
{
|
|
13836
|
+
"name": "runAsUserId",
|
|
13837
|
+
"type": "string",
|
|
13838
|
+
"optional": true
|
|
13839
|
+
},
|
|
13840
|
+
{
|
|
13841
|
+
"name": "succeeded",
|
|
13842
|
+
"type": "boolean",
|
|
13843
|
+
"optional": false
|
|
13844
|
+
},
|
|
13845
|
+
{
|
|
13846
|
+
"name": "status",
|
|
13847
|
+
"type": "string",
|
|
13848
|
+
"optional": true
|
|
13849
|
+
},
|
|
13850
|
+
{
|
|
13851
|
+
"name": "durationMs",
|
|
13852
|
+
"type": "number",
|
|
13853
|
+
"optional": true
|
|
13854
|
+
},
|
|
13855
|
+
{
|
|
13856
|
+
"name": "error",
|
|
13857
|
+
"type": "string",
|
|
13858
|
+
"optional": true
|
|
13859
|
+
},
|
|
13860
|
+
{
|
|
13861
|
+
"name": "vendorRequestId",
|
|
13862
|
+
"type": "string",
|
|
13863
|
+
"optional": true
|
|
13864
|
+
},
|
|
13865
|
+
{
|
|
13866
|
+
"name": "correlationId",
|
|
13867
|
+
"type": "string",
|
|
13868
|
+
"optional": true
|
|
13869
|
+
},
|
|
13870
|
+
{
|
|
13871
|
+
"name": "hasDetails",
|
|
13872
|
+
"type": "boolean",
|
|
13873
|
+
"optional": false
|
|
13874
|
+
},
|
|
13875
|
+
{
|
|
13876
|
+
"name": "triggerId",
|
|
13877
|
+
"type": "string",
|
|
13878
|
+
"optional": true
|
|
13879
|
+
},
|
|
13880
|
+
{
|
|
13881
|
+
"name": "taskId",
|
|
13882
|
+
"type": "string",
|
|
13883
|
+
"optional": true
|
|
13884
|
+
},
|
|
13885
|
+
{
|
|
13886
|
+
"name": "input",
|
|
13887
|
+
"type": "string",
|
|
13888
|
+
"optional": true
|
|
13889
|
+
}
|
|
13890
|
+
]
|
|
13891
|
+
},
|
|
13592
13892
|
"CodeIntegrationListProjection": {
|
|
13593
13893
|
"base": "IntegrationListProjection",
|
|
13594
13894
|
"fields": [
|
|
@@ -18581,6 +18881,31 @@
|
|
|
18581
18881
|
}
|
|
18582
18882
|
]
|
|
18583
18883
|
},
|
|
18884
|
+
"GetMarketplaceIntegrationToolsResponse": {
|
|
18885
|
+
"base": "ResponseBase",
|
|
18886
|
+
"fields": [
|
|
18887
|
+
{
|
|
18888
|
+
"name": "tools",
|
|
18889
|
+
"type": "IReadOnlyList<MarketplaceMcpToolDto>",
|
|
18890
|
+
"optional": false
|
|
18891
|
+
},
|
|
18892
|
+
{
|
|
18893
|
+
"name": "listedAt",
|
|
18894
|
+
"type": "string",
|
|
18895
|
+
"optional": true
|
|
18896
|
+
},
|
|
18897
|
+
{
|
|
18898
|
+
"name": "catalogHash",
|
|
18899
|
+
"type": "string",
|
|
18900
|
+
"optional": true
|
|
18901
|
+
},
|
|
18902
|
+
{
|
|
18903
|
+
"name": "truncated",
|
|
18904
|
+
"type": "boolean",
|
|
18905
|
+
"optional": false
|
|
18906
|
+
}
|
|
18907
|
+
]
|
|
18908
|
+
},
|
|
18584
18909
|
"EmptyMarketplaceSecretsResponse": {
|
|
18585
18910
|
"base": "ResponseBase",
|
|
18586
18911
|
"fields": []
|
|
@@ -18602,6 +18927,11 @@
|
|
|
18602
18927
|
"name": "items",
|
|
18603
18928
|
"type": "IReadOnlyList<IntegrationTestResultItemDto>",
|
|
18604
18929
|
"optional": true
|
|
18930
|
+
},
|
|
18931
|
+
{
|
|
18932
|
+
"name": "steps",
|
|
18933
|
+
"type": "IReadOnlyList<MarketplaceValidationStepResultDto>",
|
|
18934
|
+
"optional": true
|
|
18605
18935
|
}
|
|
18606
18936
|
]
|
|
18607
18937
|
},
|
|
@@ -18639,6 +18969,16 @@
|
|
|
18639
18969
|
}
|
|
18640
18970
|
]
|
|
18641
18971
|
},
|
|
18972
|
+
"GetMarketplaceFunctionRunsResponse": {
|
|
18973
|
+
"base": "ResponseBase",
|
|
18974
|
+
"fields": [
|
|
18975
|
+
{
|
|
18976
|
+
"name": "runs",
|
|
18977
|
+
"type": "MarketplaceFunctionRunDto[] = []",
|
|
18978
|
+
"optional": false
|
|
18979
|
+
}
|
|
18980
|
+
]
|
|
18981
|
+
},
|
|
18642
18982
|
"InvokeMarketplaceFunctionResponse": {
|
|
18643
18983
|
"base": "ResponseBase",
|
|
18644
18984
|
"fields": [
|
|
@@ -21949,6 +22289,11 @@
|
|
|
21949
22289
|
"name": "typegen_283_CodeFunctionSchedulerTaskRequest",
|
|
21950
22290
|
"type": "CodeFunctionSchedulerTaskRequest",
|
|
21951
22291
|
"optional": true
|
|
22292
|
+
},
|
|
22293
|
+
{
|
|
22294
|
+
"name": "typegen_284_MarketplaceFunctionSchedulerTaskRequest",
|
|
22295
|
+
"type": "MarketplaceFunctionSchedulerTaskRequest",
|
|
22296
|
+
"optional": true
|
|
21952
22297
|
}
|
|
21953
22298
|
]
|
|
21954
22299
|
},
|
|
@@ -26377,6 +26722,16 @@
|
|
|
26377
26722
|
}
|
|
26378
26723
|
]
|
|
26379
26724
|
},
|
|
26725
|
+
"GetMarketplaceIntegrationTools": {
|
|
26726
|
+
"base": "CodeMashRequestBase",
|
|
26727
|
+
"fields": [
|
|
26728
|
+
{
|
|
26729
|
+
"name": "integrationViewId",
|
|
26730
|
+
"type": "string",
|
|
26731
|
+
"optional": false
|
|
26732
|
+
}
|
|
26733
|
+
]
|
|
26734
|
+
},
|
|
26380
26735
|
"ReplaceMarketplaceIntegrationSecretsRequest": {
|
|
26381
26736
|
"base": "CodeMashRequestBase",
|
|
26382
26737
|
"fields": [
|
|
@@ -26412,7 +26767,7 @@
|
|
|
26412
26767
|
},
|
|
26413
26768
|
{
|
|
26414
26769
|
"name": "tokenMappings",
|
|
26415
|
-
"type": "
|
|
26770
|
+
"type": "TokenMappingDto[] = []",
|
|
26416
26771
|
"optional": false
|
|
26417
26772
|
}
|
|
26418
26773
|
]
|
|
@@ -26427,6 +26782,31 @@
|
|
|
26427
26782
|
}
|
|
26428
26783
|
]
|
|
26429
26784
|
},
|
|
26785
|
+
"GetMarketplaceFunctionRuns": {
|
|
26786
|
+
"base": "CodeMashRequestBase",
|
|
26787
|
+
"fields": [
|
|
26788
|
+
{
|
|
26789
|
+
"name": "functionId",
|
|
26790
|
+
"type": "string",
|
|
26791
|
+
"optional": true
|
|
26792
|
+
},
|
|
26793
|
+
{
|
|
26794
|
+
"name": "triggerId",
|
|
26795
|
+
"type": "string",
|
|
26796
|
+
"optional": true
|
|
26797
|
+
},
|
|
26798
|
+
{
|
|
26799
|
+
"name": "taskId",
|
|
26800
|
+
"type": "string",
|
|
26801
|
+
"optional": true
|
|
26802
|
+
},
|
|
26803
|
+
{
|
|
26804
|
+
"name": "limit",
|
|
26805
|
+
"type": "number",
|
|
26806
|
+
"optional": true
|
|
26807
|
+
}
|
|
26808
|
+
]
|
|
26809
|
+
},
|
|
26430
26810
|
"GetCodeFunctions": {
|
|
26431
26811
|
"base": "CodeMashListPaginationRequestBase",
|
|
26432
26812
|
"fields": [
|
|
@@ -29539,7 +29919,19 @@
|
|
|
29539
29919
|
"Template",
|
|
29540
29920
|
"EmailFooters",
|
|
29541
29921
|
"Old",
|
|
29542
|
-
"New"
|
|
29922
|
+
"New",
|
|
29923
|
+
"RequestInput",
|
|
29924
|
+
"IntegrationConfig",
|
|
29925
|
+
"IntegrationSecret"
|
|
29926
|
+
]
|
|
29927
|
+
},
|
|
29928
|
+
"SecretValueFormat": {
|
|
29929
|
+
"enum": true,
|
|
29930
|
+
"values": [
|
|
29931
|
+
"Raw",
|
|
29932
|
+
"Bearer",
|
|
29933
|
+
"Basic",
|
|
29934
|
+
"Prefixed"
|
|
29543
29935
|
]
|
|
29544
29936
|
},
|
|
29545
29937
|
"CollectionEmailCampaignRecipientField": {
|
|
@@ -29898,7 +30290,8 @@
|
|
|
29898
30290
|
"PushCampaign",
|
|
29899
30291
|
"SmsCampaign",
|
|
29900
30292
|
"CodeFunctionalCall",
|
|
29901
|
-
"WebhookCall"
|
|
30293
|
+
"WebhookCall",
|
|
30294
|
+
"MarketplaceFunctionCall"
|
|
29902
30295
|
]
|
|
29903
30296
|
},
|
|
29904
30297
|
"MarketplaceTransport": {
|
|
@@ -29931,25 +30324,12 @@
|
|
|
29931
30324
|
"Calendar"
|
|
29932
30325
|
]
|
|
29933
30326
|
},
|
|
29934
|
-
"
|
|
30327
|
+
"MarketplaceAvailability": {
|
|
29935
30328
|
"enum": true,
|
|
29936
30329
|
"values": [
|
|
29937
|
-
"
|
|
29938
|
-
"
|
|
29939
|
-
"
|
|
29940
|
-
"Initiator",
|
|
29941
|
-
"Custom",
|
|
29942
|
-
"IntegrationConfig",
|
|
29943
|
-
"IntegrationSecret"
|
|
29944
|
-
]
|
|
29945
|
-
},
|
|
29946
|
-
"MarketplaceSecretValueFormat": {
|
|
29947
|
-
"enum": true,
|
|
29948
|
-
"values": [
|
|
29949
|
-
"Raw",
|
|
29950
|
-
"Bearer",
|
|
29951
|
-
"Basic",
|
|
29952
|
-
"Prefixed"
|
|
30330
|
+
"Development",
|
|
30331
|
+
"Staging",
|
|
30332
|
+
"Production"
|
|
29953
30333
|
]
|
|
29954
30334
|
},
|
|
29955
30335
|
"MarketplaceFieldType": {
|
|
@@ -29973,6 +30353,17 @@
|
|
|
29973
30353
|
"Path"
|
|
29974
30354
|
]
|
|
29975
30355
|
},
|
|
30356
|
+
"MarketplaceFormKind": {
|
|
30357
|
+
"enum": true,
|
|
30358
|
+
"values": [
|
|
30359
|
+
"Generic",
|
|
30360
|
+
"DatabaseQuery",
|
|
30361
|
+
"DatabaseWrite",
|
|
30362
|
+
"Message",
|
|
30363
|
+
"Prompt",
|
|
30364
|
+
"Web"
|
|
30365
|
+
]
|
|
30366
|
+
},
|
|
29976
30367
|
"CodeFunctionSource": {
|
|
29977
30368
|
"enum": true,
|
|
29978
30369
|
"values": [
|
|
@@ -2003,6 +2003,19 @@
|
|
|
2003
2003
|
],
|
|
2004
2004
|
"scope": "project"
|
|
2005
2005
|
},
|
|
2006
|
+
{
|
|
2007
|
+
"surface": "hub",
|
|
2008
|
+
"group": "code",
|
|
2009
|
+
"method": "getMarketplaceIntegrationTools",
|
|
2010
|
+
"requestDto": "GetMarketplaceIntegrationTools",
|
|
2011
|
+
"responseDto": "GetMarketplaceIntegrationToolsResponse",
|
|
2012
|
+
"path": "/{version}/code/marketplace/integrations/{IntegrationViewId}/tools",
|
|
2013
|
+
"verb": "GET",
|
|
2014
|
+
"pathParams": [
|
|
2015
|
+
"IntegrationViewId"
|
|
2016
|
+
],
|
|
2017
|
+
"scope": "project"
|
|
2018
|
+
},
|
|
2006
2019
|
{
|
|
2007
2020
|
"surface": "hub",
|
|
2008
2021
|
"group": "code",
|
|
@@ -2055,6 +2068,17 @@
|
|
|
2055
2068
|
],
|
|
2056
2069
|
"scope": "project"
|
|
2057
2070
|
},
|
|
2071
|
+
{
|
|
2072
|
+
"surface": "hub",
|
|
2073
|
+
"group": "code",
|
|
2074
|
+
"method": "getMarketplaceFunctionRuns",
|
|
2075
|
+
"requestDto": "GetMarketplaceFunctionRuns",
|
|
2076
|
+
"responseDto": "GetMarketplaceFunctionRunsResponse",
|
|
2077
|
+
"path": "/{version}/code/marketplace/functions/runs",
|
|
2078
|
+
"verb": "GET",
|
|
2079
|
+
"pathParams": [],
|
|
2080
|
+
"scope": "project"
|
|
2081
|
+
},
|
|
2058
2082
|
{
|
|
2059
2083
|
"surface": "hub",
|
|
2060
2084
|
"group": "code",
|
package/dist/server.js
CHANGED
|
@@ -75,7 +75,10 @@ export const curated = [
|
|
|
75
75
|
{ name: 'norbix_get_code_function_event_sample', surface: 'hub', group: 'code', method: 'getCodeFunctionEventSample', description: 'A sample event envelope with example data for a source (Database | Membership | Files | Payments | Ai | Scheduler | Manual), an event name and, for Database, a schemaId — the fixture for a local run of a function.' },
|
|
76
76
|
{ name: 'norbix_get_code_function_runs', surface: 'hub', group: 'code', method: 'getCodeFunctionRuns', description: 'The last cloud-function runs of a trigger (triggerId) or a scheduler task (taskId), newest first: firedAt, event, succeeded, statusCode, durationMs, error, requestId; a run through the Fake provider also input — the envelope the function received as JSON text, context.runAs.accessToken masked, cut at 64 KB. limit 1-50, default 20.' },
|
|
77
77
|
{ name: 'norbix_get_marketplace_integrations', surface: 'hub', group: 'code', method: 'getMarketplaceIntegrations', description: 'List marketplace integrations of the project.' },
|
|
78
|
-
{ name: 'norbix_save_marketplace_integration', surface: 'hub', group: 'code', method: 'saveMarketplaceIntegration', description: '
|
|
78
|
+
{ name: 'norbix_save_marketplace_integration', surface: 'hub', group: 'code', method: 'saveMarketplaceIntegration', description: 'Enable a marketplace listing as a connection: integration { listingViewId (ml_…), integrationName, isEnabled, config { key: value } } and secrets { key: value }. Leave integration.viewId empty for a new connection — the answer\'s id is the minted int_…; set it to save an existing one again (empty secrets keep the stored ones). getMarketplaceListing shows the listing\'s config and secret fields.' },
|
|
79
|
+
{ name: 'norbix_test_marketplace_integration', surface: 'hub', group: 'code', method: 'testMarketplaceIntegration', description: 'Validate a marketplace connection (integrationViewId): runs the listing\'s steps in order; steps[] has key, label, requiredForFunctions, succeeded, skipped, message. Functions can be added only when every requiredForFunctions step succeeded (else saveMarketplaceFunction fails with CM-ERRORS-MARKETPLACE-013).' },
|
|
80
|
+
{ name: 'norbix_invoke_marketplace_function', surface: 'hub', group: 'code', method: 'invokeMarketplaceFunction', description: 'Call a marketplace function by hand as the caller: functionViewId (func_…) and payload (JSON object; each declared input is read from it as @Model.Request.<name>, a missing required input is refused). Answers isSuccess, output, vendorRequestId.' },
|
|
81
|
+
{ name: 'norbix_get_marketplace_function_runs', surface: 'hub', group: 'code', method: 'getMarketplaceFunctionRuns', description: 'The last marketplace-function runs of a trigger (triggerId) or a scheduler task (taskId), newest first: firedAt, event, source, functionId, runAsUserId, succeeded, durationMs, error, vendorRequestId; a run through the Fake vendor also input — what the vendor received, secrets masked. limit 1-50, default 20.' },
|
|
79
82
|
{ name: 'norbix_get_database_schemas', surface: 'hub', group: 'database', method: 'getDatabaseSchemas', description: 'List database collection schemas of the project.' },
|
|
80
83
|
{ name: 'norbix_get_roles', surface: 'hub', group: 'membership', method: 'getRoles', description: 'List membership roles of the project.' },
|
|
81
84
|
{ name: 'norbix_get_policies', surface: 'hub', group: 'membership', method: 'getPolicies', description: 'List membership policies of the project.' },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@norbix.ai/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Norbix MCP server — manage projects, integrations, databases, membership, notifications and every other Norbix Hub/API endpoint from Claude, Cursor, VS Code, Windsurf or any MCP client.",
|
|
5
5
|
"author": "UAB Isidos",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
48
|
-
"@norbix.ai/ts": "^4.
|
|
48
|
+
"@norbix.ai/ts": "^4.23.0",
|
|
49
49
|
"express": "^4.21.2",
|
|
50
50
|
"zod": "^3.24.0"
|
|
51
51
|
},
|