@naturali/cli 0.220.0 → 0.220.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/dist/index.mjs +499 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -17,7 +17,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
17
17
|
};
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region package.json
|
|
20
|
-
var version = "0.220.
|
|
20
|
+
var version = "0.220.2";
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region ../sdk/src/generated/core/bodySerializer.gen.ts
|
|
23
23
|
const serializeFormDataPair = (data, key, value) => {
|
|
@@ -3774,6 +3774,112 @@ var Listings = class {
|
|
|
3774
3774
|
});
|
|
3775
3775
|
}
|
|
3776
3776
|
};
|
|
3777
|
+
var McpServers = class {
|
|
3778
|
+
/**
|
|
3779
|
+
* List MCP servers
|
|
3780
|
+
*
|
|
3781
|
+
* The project's MCP servers, newest first.
|
|
3782
|
+
*/
|
|
3783
|
+
static listMcpServers(options) {
|
|
3784
|
+
return (options.client ?? client).get({
|
|
3785
|
+
url: "/v1/projects/{project_id}/mcp-servers",
|
|
3786
|
+
...options
|
|
3787
|
+
});
|
|
3788
|
+
}
|
|
3789
|
+
/**
|
|
3790
|
+
* Create an MCP server
|
|
3791
|
+
*
|
|
3792
|
+
* Each item of `tools` is checked against the tool it names: the project's own or an installed one, else `400`. `action` is required, and must be one of the tool's available actions, when the tool declares `actions`; otherwise it is ignored and stored as `null`. A tool whose definition reads `{{context:naturali_caller_…}}` is refused unless `auth.type` is `oauth`.
|
|
3793
|
+
* `daily_call_limit` is required when `auth` is `none` or `oauth` with `mode: any_account`.
|
|
3794
|
+
*
|
|
3795
|
+
*/
|
|
3796
|
+
static createMcpServer(options) {
|
|
3797
|
+
return (options.client ?? client).post({
|
|
3798
|
+
url: "/v1/projects/{project_id}/mcp-servers",
|
|
3799
|
+
...options,
|
|
3800
|
+
headers: {
|
|
3801
|
+
"Content-Type": "application/json",
|
|
3802
|
+
...options.headers
|
|
3803
|
+
}
|
|
3804
|
+
});
|
|
3805
|
+
}
|
|
3806
|
+
/**
|
|
3807
|
+
* Delete an MCP server
|
|
3808
|
+
*
|
|
3809
|
+
* Removes the server and its keys.
|
|
3810
|
+
*/
|
|
3811
|
+
static deleteMcpServer(options) {
|
|
3812
|
+
return (options.client ?? client).delete({
|
|
3813
|
+
url: "/v1/projects/{project_id}/mcp-servers/{mcp_server_id}",
|
|
3814
|
+
...options
|
|
3815
|
+
});
|
|
3816
|
+
}
|
|
3817
|
+
/**
|
|
3818
|
+
* Get an MCP server
|
|
3819
|
+
*
|
|
3820
|
+
* The server, with the keys of its context; values are never returned.
|
|
3821
|
+
*/
|
|
3822
|
+
static getMcpServer(options) {
|
|
3823
|
+
return (options.client ?? client).get({
|
|
3824
|
+
url: "/v1/projects/{project_id}/mcp-servers/{mcp_server_id}",
|
|
3825
|
+
...options
|
|
3826
|
+
});
|
|
3827
|
+
}
|
|
3828
|
+
/**
|
|
3829
|
+
* Update an MCP server
|
|
3830
|
+
*
|
|
3831
|
+
* A field sent replaces the stored one, `tools`, `context` and `auth` whole; `null` clears an optional field. The result is checked as on create. Changing `auth.type` away from `header` deletes the server's keys.
|
|
3832
|
+
*
|
|
3833
|
+
*/
|
|
3834
|
+
static updateMcpServer(options) {
|
|
3835
|
+
return (options.client ?? client).patch({
|
|
3836
|
+
url: "/v1/projects/{project_id}/mcp-servers/{mcp_server_id}",
|
|
3837
|
+
...options,
|
|
3838
|
+
headers: {
|
|
3839
|
+
"Content-Type": "application/json",
|
|
3840
|
+
...options.headers
|
|
3841
|
+
}
|
|
3842
|
+
});
|
|
3843
|
+
}
|
|
3844
|
+
/**
|
|
3845
|
+
* List MCP server keys
|
|
3846
|
+
*
|
|
3847
|
+
* The server's keys, newest first. The secret is not returned.
|
|
3848
|
+
*/
|
|
3849
|
+
static listMcpServerKeys(options) {
|
|
3850
|
+
return (options.client ?? client).get({
|
|
3851
|
+
url: "/v1/projects/{project_id}/mcp-servers/{mcp_server_id}/keys",
|
|
3852
|
+
...options
|
|
3853
|
+
});
|
|
3854
|
+
}
|
|
3855
|
+
/**
|
|
3856
|
+
* Create an MCP server key
|
|
3857
|
+
*
|
|
3858
|
+
* A key confined to this server, for a server whose `auth.type` is `header`. The response carries `key`; **this is the only time it is returned.** `idempotency_key` is refused.
|
|
3859
|
+
*
|
|
3860
|
+
*/
|
|
3861
|
+
static createMcpServerKey(options) {
|
|
3862
|
+
return (options.client ?? client).post({
|
|
3863
|
+
url: "/v1/projects/{project_id}/mcp-servers/{mcp_server_id}/keys",
|
|
3864
|
+
...options,
|
|
3865
|
+
headers: {
|
|
3866
|
+
"Content-Type": "application/json",
|
|
3867
|
+
...options.headers
|
|
3868
|
+
}
|
|
3869
|
+
});
|
|
3870
|
+
}
|
|
3871
|
+
/**
|
|
3872
|
+
* Revoke an MCP server key
|
|
3873
|
+
*
|
|
3874
|
+
* Deletes the key; a client holding it can no longer connect.
|
|
3875
|
+
*/
|
|
3876
|
+
static deleteMcpServerKey(options) {
|
|
3877
|
+
return (options.client ?? client).delete({
|
|
3878
|
+
url: "/v1/projects/{project_id}/mcp-servers/{mcp_server_id}/keys/{key_id}",
|
|
3879
|
+
...options
|
|
3880
|
+
});
|
|
3881
|
+
}
|
|
3882
|
+
};
|
|
3777
3883
|
var Memories = class {
|
|
3778
3884
|
/**
|
|
3779
3885
|
* List memories
|
|
@@ -6610,6 +6716,7 @@ var NaturaliClient = class {
|
|
|
6610
6716
|
installs;
|
|
6611
6717
|
knowledge;
|
|
6612
6718
|
listings;
|
|
6719
|
+
mcpServers;
|
|
6613
6720
|
memories;
|
|
6614
6721
|
memoryRules;
|
|
6615
6722
|
memoryStores;
|
|
@@ -6666,6 +6773,7 @@ var NaturaliClient = class {
|
|
|
6666
6773
|
this.installs = bindResource(Installs, this.http);
|
|
6667
6774
|
this.knowledge = bindResource(Knowledge, this.http);
|
|
6668
6775
|
this.listings = bindResource(Listings, this.http);
|
|
6776
|
+
this.mcpServers = bindResource(McpServers, this.http);
|
|
6669
6777
|
this.memories = bindResource(Memories, this.http);
|
|
6670
6778
|
this.memoryRules = bindResource(MemoryRules, this.http);
|
|
6671
6779
|
this.memoryStores = bindResource(MemoryStores, this.http);
|
|
@@ -6717,6 +6825,7 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
6717
6825
|
Installs: () => Installs,
|
|
6718
6826
|
Knowledge: () => Knowledge,
|
|
6719
6827
|
Listings: () => Listings,
|
|
6828
|
+
McpServers: () => McpServers,
|
|
6720
6829
|
Memories: () => Memories,
|
|
6721
6830
|
MemoryRules: () => MemoryRules,
|
|
6722
6831
|
MemoryStores: () => MemoryStores,
|
|
@@ -16838,6 +16947,395 @@ const routes = {
|
|
|
16838
16947
|
}
|
|
16839
16948
|
]
|
|
16840
16949
|
},
|
|
16950
|
+
"list-mcp-servers": {
|
|
16951
|
+
serviceClass: "McpServers",
|
|
16952
|
+
operationId: "listMcpServers",
|
|
16953
|
+
description: "The project's MCP servers, newest first.",
|
|
16954
|
+
moduleDocsUrl: "https://naturali.ai/docs/modules/mcp-servers",
|
|
16955
|
+
httpMethod: "get",
|
|
16956
|
+
pathParams: ["project_id"],
|
|
16957
|
+
queryParams: ["limit", "cursor"],
|
|
16958
|
+
headerParams: [],
|
|
16959
|
+
cookieParams: [],
|
|
16960
|
+
flags: [
|
|
16961
|
+
{
|
|
16962
|
+
"name": "project_id",
|
|
16963
|
+
"description": "Project public ID (proj_ prefix).",
|
|
16964
|
+
"required": true,
|
|
16965
|
+
"type": "string",
|
|
16966
|
+
"in": "path"
|
|
16967
|
+
},
|
|
16968
|
+
{
|
|
16969
|
+
"name": "limit",
|
|
16970
|
+
"description": "Results per page, 1 to 100 (default 50). Above 100 it is clamped; below 1 or not an integer it is `400`.",
|
|
16971
|
+
"required": false,
|
|
16972
|
+
"type": "integer",
|
|
16973
|
+
"in": "query"
|
|
16974
|
+
},
|
|
16975
|
+
{
|
|
16976
|
+
"name": "cursor",
|
|
16977
|
+
"description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
|
|
16978
|
+
"required": false,
|
|
16979
|
+
"type": "string",
|
|
16980
|
+
"in": "query"
|
|
16981
|
+
}
|
|
16982
|
+
]
|
|
16983
|
+
},
|
|
16984
|
+
"create-mcp-server": {
|
|
16985
|
+
serviceClass: "McpServers",
|
|
16986
|
+
operationId: "createMcpServer",
|
|
16987
|
+
description: "Each item of `tools` is checked against the tool it names: the project's own or an installed one, else `400`. `action` is required, and must be one of the tool's available actions, when the tool declares `actions`; otherwise it is ignored and stored as `null`. A tool whose definition reads `{{context:naturali_caller_…}}` is refused unless `auth.type` is `oauth`. `daily_call_limit` is required when `auth` is `none` or `oauth` with `mode: any_account`.",
|
|
16988
|
+
moduleDocsUrl: "https://naturali.ai/docs/modules/mcp-servers",
|
|
16989
|
+
httpMethod: "post",
|
|
16990
|
+
pathParams: ["project_id"],
|
|
16991
|
+
queryParams: [],
|
|
16992
|
+
headerParams: [],
|
|
16993
|
+
cookieParams: [],
|
|
16994
|
+
flags: [
|
|
16995
|
+
{
|
|
16996
|
+
"name": "project_id",
|
|
16997
|
+
"description": "Project public ID (proj_ prefix).",
|
|
16998
|
+
"required": true,
|
|
16999
|
+
"type": "string",
|
|
17000
|
+
"in": "path"
|
|
17001
|
+
},
|
|
17002
|
+
{
|
|
17003
|
+
"name": "name",
|
|
17004
|
+
"description": "",
|
|
17005
|
+
"required": true,
|
|
17006
|
+
"type": "string",
|
|
17007
|
+
"in": "body"
|
|
17008
|
+
},
|
|
17009
|
+
{
|
|
17010
|
+
"name": "title",
|
|
17011
|
+
"description": "",
|
|
17012
|
+
"required": false,
|
|
17013
|
+
"type": "string",
|
|
17014
|
+
"in": "body"
|
|
17015
|
+
},
|
|
17016
|
+
{
|
|
17017
|
+
"name": "instructions",
|
|
17018
|
+
"description": "",
|
|
17019
|
+
"required": false,
|
|
17020
|
+
"type": "string",
|
|
17021
|
+
"in": "body"
|
|
17022
|
+
},
|
|
17023
|
+
{
|
|
17024
|
+
"name": "logo",
|
|
17025
|
+
"description": "",
|
|
17026
|
+
"required": false,
|
|
17027
|
+
"type": "string",
|
|
17028
|
+
"in": "body"
|
|
17029
|
+
},
|
|
17030
|
+
{
|
|
17031
|
+
"name": "website_url",
|
|
17032
|
+
"description": "",
|
|
17033
|
+
"required": false,
|
|
17034
|
+
"type": "string",
|
|
17035
|
+
"in": "body"
|
|
17036
|
+
},
|
|
17037
|
+
{
|
|
17038
|
+
"name": "tools",
|
|
17039
|
+
"description": "",
|
|
17040
|
+
"required": false,
|
|
17041
|
+
"type": "array",
|
|
17042
|
+
"in": "body"
|
|
17043
|
+
},
|
|
17044
|
+
{
|
|
17045
|
+
"name": "tool_mode",
|
|
17046
|
+
"description": "",
|
|
17047
|
+
"required": false,
|
|
17048
|
+
"type": "string",
|
|
17049
|
+
"in": "body"
|
|
17050
|
+
},
|
|
17051
|
+
{
|
|
17052
|
+
"name": "context",
|
|
17053
|
+
"description": "Literal string values merged into each call's `tool_context`. Keys are header names, unique ignoring case; `naturali_*` is refused.",
|
|
17054
|
+
"required": false,
|
|
17055
|
+
"type": "object",
|
|
17056
|
+
"in": "body"
|
|
17057
|
+
},
|
|
17058
|
+
{
|
|
17059
|
+
"name": "auth",
|
|
17060
|
+
"description": "Who may connect. `oauth` with `mode` `members` (project members), `allowlist` (the listed emails) or `any_account` (any naturali account); `header` (holders of a key from [`POST /v1/projects/{project_id}/mcp-servers/{mcp_server_id}/keys`](/docs/api/mcp-servers/create-mcp-server-key), sent in `header_name`, default `Authorization`); `none` (anyone).",
|
|
17061
|
+
"required": true,
|
|
17062
|
+
"type": "object",
|
|
17063
|
+
"in": "body"
|
|
17064
|
+
},
|
|
17065
|
+
{
|
|
17066
|
+
"name": "daily_call_limit",
|
|
17067
|
+
"description": "Calls per day; required for `none` and `any_account`.",
|
|
17068
|
+
"required": false,
|
|
17069
|
+
"type": "integer",
|
|
17070
|
+
"in": "body"
|
|
17071
|
+
}
|
|
17072
|
+
]
|
|
17073
|
+
},
|
|
17074
|
+
"get-mcp-server": {
|
|
17075
|
+
serviceClass: "McpServers",
|
|
17076
|
+
operationId: "getMcpServer",
|
|
17077
|
+
description: "The server, with the keys of its context; values are never returned.",
|
|
17078
|
+
moduleDocsUrl: "https://naturali.ai/docs/modules/mcp-servers",
|
|
17079
|
+
httpMethod: "get",
|
|
17080
|
+
pathParams: ["project_id", "mcp_server_id"],
|
|
17081
|
+
queryParams: [],
|
|
17082
|
+
headerParams: [],
|
|
17083
|
+
cookieParams: [],
|
|
17084
|
+
flags: [{
|
|
17085
|
+
"name": "project_id",
|
|
17086
|
+
"description": "Project public ID (proj_ prefix).",
|
|
17087
|
+
"required": true,
|
|
17088
|
+
"type": "string",
|
|
17089
|
+
"in": "path"
|
|
17090
|
+
}, {
|
|
17091
|
+
"name": "mcp_server_id",
|
|
17092
|
+
"description": "MCP server public ID (mcps_ prefix).",
|
|
17093
|
+
"required": true,
|
|
17094
|
+
"type": "string",
|
|
17095
|
+
"in": "path"
|
|
17096
|
+
}]
|
|
17097
|
+
},
|
|
17098
|
+
"update-mcp-server": {
|
|
17099
|
+
serviceClass: "McpServers",
|
|
17100
|
+
operationId: "updateMcpServer",
|
|
17101
|
+
description: "A field sent replaces the stored one, `tools`, `context` and `auth` whole; `null` clears an optional field. The result is checked as on create. Changing `auth.type` away from `header` deletes the server's keys.",
|
|
17102
|
+
moduleDocsUrl: "https://naturali.ai/docs/modules/mcp-servers",
|
|
17103
|
+
httpMethod: "patch",
|
|
17104
|
+
pathParams: ["project_id", "mcp_server_id"],
|
|
17105
|
+
queryParams: [],
|
|
17106
|
+
headerParams: [],
|
|
17107
|
+
cookieParams: [],
|
|
17108
|
+
flags: [
|
|
17109
|
+
{
|
|
17110
|
+
"name": "project_id",
|
|
17111
|
+
"description": "Project public ID (proj_ prefix).",
|
|
17112
|
+
"required": true,
|
|
17113
|
+
"type": "string",
|
|
17114
|
+
"in": "path"
|
|
17115
|
+
},
|
|
17116
|
+
{
|
|
17117
|
+
"name": "mcp_server_id",
|
|
17118
|
+
"description": "MCP server public ID (mcps_ prefix).",
|
|
17119
|
+
"required": true,
|
|
17120
|
+
"type": "string",
|
|
17121
|
+
"in": "path"
|
|
17122
|
+
},
|
|
17123
|
+
{
|
|
17124
|
+
"name": "name",
|
|
17125
|
+
"description": "",
|
|
17126
|
+
"required": false,
|
|
17127
|
+
"type": "string",
|
|
17128
|
+
"in": "body"
|
|
17129
|
+
},
|
|
17130
|
+
{
|
|
17131
|
+
"name": "title",
|
|
17132
|
+
"description": "",
|
|
17133
|
+
"required": false,
|
|
17134
|
+
"type": "string",
|
|
17135
|
+
"in": "body"
|
|
17136
|
+
},
|
|
17137
|
+
{
|
|
17138
|
+
"name": "instructions",
|
|
17139
|
+
"description": "",
|
|
17140
|
+
"required": false,
|
|
17141
|
+
"type": "string",
|
|
17142
|
+
"in": "body"
|
|
17143
|
+
},
|
|
17144
|
+
{
|
|
17145
|
+
"name": "logo",
|
|
17146
|
+
"description": "",
|
|
17147
|
+
"required": false,
|
|
17148
|
+
"type": "string",
|
|
17149
|
+
"in": "body"
|
|
17150
|
+
},
|
|
17151
|
+
{
|
|
17152
|
+
"name": "website_url",
|
|
17153
|
+
"description": "",
|
|
17154
|
+
"required": false,
|
|
17155
|
+
"type": "string",
|
|
17156
|
+
"in": "body"
|
|
17157
|
+
},
|
|
17158
|
+
{
|
|
17159
|
+
"name": "tools",
|
|
17160
|
+
"description": "",
|
|
17161
|
+
"required": false,
|
|
17162
|
+
"type": "array",
|
|
17163
|
+
"in": "body"
|
|
17164
|
+
},
|
|
17165
|
+
{
|
|
17166
|
+
"name": "tool_mode",
|
|
17167
|
+
"description": "",
|
|
17168
|
+
"required": false,
|
|
17169
|
+
"type": "string",
|
|
17170
|
+
"in": "body"
|
|
17171
|
+
},
|
|
17172
|
+
{
|
|
17173
|
+
"name": "context",
|
|
17174
|
+
"description": "Literal string values merged into each call's `tool_context`. Keys are header names, unique ignoring case; `naturali_*` is refused.",
|
|
17175
|
+
"required": false,
|
|
17176
|
+
"type": "object",
|
|
17177
|
+
"in": "body"
|
|
17178
|
+
},
|
|
17179
|
+
{
|
|
17180
|
+
"name": "auth",
|
|
17181
|
+
"description": "Who may connect. `oauth` with `mode` `members` (project members), `allowlist` (the listed emails) or `any_account` (any naturali account); `header` (holders of a key from [`POST /v1/projects/{project_id}/mcp-servers/{mcp_server_id}/keys`](/docs/api/mcp-servers/create-mcp-server-key), sent in `header_name`, default `Authorization`); `none` (anyone).",
|
|
17182
|
+
"required": false,
|
|
17183
|
+
"type": "object",
|
|
17184
|
+
"in": "body"
|
|
17185
|
+
},
|
|
17186
|
+
{
|
|
17187
|
+
"name": "daily_call_limit",
|
|
17188
|
+
"description": "",
|
|
17189
|
+
"required": false,
|
|
17190
|
+
"type": "integer",
|
|
17191
|
+
"in": "body"
|
|
17192
|
+
}
|
|
17193
|
+
]
|
|
17194
|
+
},
|
|
17195
|
+
"delete-mcp-server": {
|
|
17196
|
+
serviceClass: "McpServers",
|
|
17197
|
+
operationId: "deleteMcpServer",
|
|
17198
|
+
description: "Removes the server and its keys.",
|
|
17199
|
+
moduleDocsUrl: "https://naturali.ai/docs/modules/mcp-servers",
|
|
17200
|
+
httpMethod: "delete",
|
|
17201
|
+
pathParams: ["project_id", "mcp_server_id"],
|
|
17202
|
+
queryParams: [],
|
|
17203
|
+
headerParams: [],
|
|
17204
|
+
cookieParams: [],
|
|
17205
|
+
flags: [{
|
|
17206
|
+
"name": "project_id",
|
|
17207
|
+
"description": "Project public ID (proj_ prefix).",
|
|
17208
|
+
"required": true,
|
|
17209
|
+
"type": "string",
|
|
17210
|
+
"in": "path"
|
|
17211
|
+
}, {
|
|
17212
|
+
"name": "mcp_server_id",
|
|
17213
|
+
"description": "MCP server public ID (mcps_ prefix).",
|
|
17214
|
+
"required": true,
|
|
17215
|
+
"type": "string",
|
|
17216
|
+
"in": "path"
|
|
17217
|
+
}]
|
|
17218
|
+
},
|
|
17219
|
+
"list-mcp-server-keys": {
|
|
17220
|
+
serviceClass: "McpServers",
|
|
17221
|
+
operationId: "listMcpServerKeys",
|
|
17222
|
+
description: "The server's keys, newest first. The secret is not returned.",
|
|
17223
|
+
moduleDocsUrl: "https://naturali.ai/docs/modules/mcp-servers",
|
|
17224
|
+
httpMethod: "get",
|
|
17225
|
+
pathParams: ["project_id", "mcp_server_id"],
|
|
17226
|
+
queryParams: ["limit", "cursor"],
|
|
17227
|
+
headerParams: [],
|
|
17228
|
+
cookieParams: [],
|
|
17229
|
+
flags: [
|
|
17230
|
+
{
|
|
17231
|
+
"name": "project_id",
|
|
17232
|
+
"description": "Project public ID (proj_ prefix).",
|
|
17233
|
+
"required": true,
|
|
17234
|
+
"type": "string",
|
|
17235
|
+
"in": "path"
|
|
17236
|
+
},
|
|
17237
|
+
{
|
|
17238
|
+
"name": "mcp_server_id",
|
|
17239
|
+
"description": "MCP server public ID (mcps_ prefix).",
|
|
17240
|
+
"required": true,
|
|
17241
|
+
"type": "string",
|
|
17242
|
+
"in": "path"
|
|
17243
|
+
},
|
|
17244
|
+
{
|
|
17245
|
+
"name": "limit",
|
|
17246
|
+
"description": "Results per page, 1 to 100 (default 50). Above 100 it is clamped; below 1 or not an integer it is `400`.",
|
|
17247
|
+
"required": false,
|
|
17248
|
+
"type": "integer",
|
|
17249
|
+
"in": "query"
|
|
17250
|
+
},
|
|
17251
|
+
{
|
|
17252
|
+
"name": "cursor",
|
|
17253
|
+
"description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
|
|
17254
|
+
"required": false,
|
|
17255
|
+
"type": "string",
|
|
17256
|
+
"in": "query"
|
|
17257
|
+
}
|
|
17258
|
+
]
|
|
17259
|
+
},
|
|
17260
|
+
"create-mcp-server-key": {
|
|
17261
|
+
serviceClass: "McpServers",
|
|
17262
|
+
operationId: "createMcpServerKey",
|
|
17263
|
+
description: "A key confined to this server, for a server whose `auth.type` is `header`. The response carries `key`; **this is the only time it is returned.** `idempotency_key` is refused.",
|
|
17264
|
+
moduleDocsUrl: "https://naturali.ai/docs/modules/mcp-servers",
|
|
17265
|
+
httpMethod: "post",
|
|
17266
|
+
pathParams: ["project_id", "mcp_server_id"],
|
|
17267
|
+
queryParams: [],
|
|
17268
|
+
headerParams: [],
|
|
17269
|
+
cookieParams: [],
|
|
17270
|
+
flags: [
|
|
17271
|
+
{
|
|
17272
|
+
"name": "project_id",
|
|
17273
|
+
"description": "Project public ID (proj_ prefix).",
|
|
17274
|
+
"required": true,
|
|
17275
|
+
"type": "string",
|
|
17276
|
+
"in": "path"
|
|
17277
|
+
},
|
|
17278
|
+
{
|
|
17279
|
+
"name": "mcp_server_id",
|
|
17280
|
+
"description": "MCP server public ID (mcps_ prefix).",
|
|
17281
|
+
"required": true,
|
|
17282
|
+
"type": "string",
|
|
17283
|
+
"in": "path"
|
|
17284
|
+
},
|
|
17285
|
+
{
|
|
17286
|
+
"name": "name",
|
|
17287
|
+
"description": "",
|
|
17288
|
+
"required": false,
|
|
17289
|
+
"type": "string",
|
|
17290
|
+
"in": "body"
|
|
17291
|
+
},
|
|
17292
|
+
{
|
|
17293
|
+
"name": "context",
|
|
17294
|
+
"description": "Literal string values merged into each call's `tool_context`. Keys are header names, unique ignoring case; `naturali_*` is refused.",
|
|
17295
|
+
"required": false,
|
|
17296
|
+
"type": "object",
|
|
17297
|
+
"in": "body"
|
|
17298
|
+
}
|
|
17299
|
+
]
|
|
17300
|
+
},
|
|
17301
|
+
"delete-mcp-server-key": {
|
|
17302
|
+
serviceClass: "McpServers",
|
|
17303
|
+
operationId: "deleteMcpServerKey",
|
|
17304
|
+
description: "Deletes the key; a client holding it can no longer connect.",
|
|
17305
|
+
moduleDocsUrl: "https://naturali.ai/docs/modules/mcp-servers",
|
|
17306
|
+
httpMethod: "delete",
|
|
17307
|
+
pathParams: [
|
|
17308
|
+
"project_id",
|
|
17309
|
+
"mcp_server_id",
|
|
17310
|
+
"key_id"
|
|
17311
|
+
],
|
|
17312
|
+
queryParams: [],
|
|
17313
|
+
headerParams: [],
|
|
17314
|
+
cookieParams: [],
|
|
17315
|
+
flags: [
|
|
17316
|
+
{
|
|
17317
|
+
"name": "project_id",
|
|
17318
|
+
"description": "Project public ID (proj_ prefix).",
|
|
17319
|
+
"required": true,
|
|
17320
|
+
"type": "string",
|
|
17321
|
+
"in": "path"
|
|
17322
|
+
},
|
|
17323
|
+
{
|
|
17324
|
+
"name": "mcp_server_id",
|
|
17325
|
+
"description": "MCP server public ID (mcps_ prefix).",
|
|
17326
|
+
"required": true,
|
|
17327
|
+
"type": "string",
|
|
17328
|
+
"in": "path"
|
|
17329
|
+
},
|
|
17330
|
+
{
|
|
17331
|
+
"name": "key_id",
|
|
17332
|
+
"description": "MCP server key public ID (mcpk_ prefix).",
|
|
17333
|
+
"required": true,
|
|
17334
|
+
"type": "string",
|
|
17335
|
+
"in": "path"
|
|
17336
|
+
}
|
|
17337
|
+
]
|
|
17338
|
+
},
|
|
16841
17339
|
"list-memories": {
|
|
16842
17340
|
serviceClass: "Memories",
|
|
16843
17341
|
operationId: "listMemories",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/cli",
|
|
3
|
-
"version": "0.220.
|
|
3
|
+
"version": "0.220.2",
|
|
4
4
|
"description": "Command-line interface for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"naturali",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"yaml": "^2.9.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@naturali/sdk": "0.220.
|
|
34
|
+
"@naturali/sdk": "0.220.2",
|
|
35
35
|
"@ttoss/openapi-codegen": "^0.10.0",
|
|
36
36
|
"@types/node": "^26.5.1",
|
|
37
37
|
"tsdown": "^0.23.0",
|