@smithery/api 0.45.0 → 0.47.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.
Files changed (184) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +5 -10
  3. package/client.d.mts +5 -5
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +5 -5
  6. package/client.d.ts.map +1 -1
  7. package/client.js +3 -3
  8. package/client.js.map +1 -1
  9. package/client.mjs +3 -3
  10. package/client.mjs.map +1 -1
  11. package/lib/mcp-transport.js +3 -3
  12. package/lib/mcp-transport.js.map +1 -1
  13. package/lib/mcp-transport.mjs +3 -3
  14. package/lib/mcp-transport.mjs.map +1 -1
  15. package/package.json +1 -1
  16. package/resources/{experimental/connect → connections}/connections.d.mts +24 -26
  17. package/resources/connections/connections.d.mts.map +1 -0
  18. package/resources/{experimental/connect → connections}/connections.d.ts +24 -26
  19. package/resources/connections/connections.d.ts.map +1 -0
  20. package/resources/{experimental/connect → connections}/connections.js +27 -25
  21. package/resources/connections/connections.js.map +1 -0
  22. package/resources/{experimental/connect → connections}/connections.mjs +26 -25
  23. package/resources/connections/connections.mjs.map +1 -0
  24. package/resources/{experimental/connect → connections}/index.d.mts +0 -1
  25. package/resources/connections/index.d.mts.map +1 -0
  26. package/resources/{experimental/connect → connections}/index.d.ts +0 -1
  27. package/resources/connections/index.d.ts.map +1 -0
  28. package/resources/{experimental/connect → connections}/index.js +1 -3
  29. package/resources/connections/index.js.map +1 -0
  30. package/resources/{experimental/connect → connections}/index.mjs +0 -1
  31. package/resources/connections/index.mjs.map +1 -0
  32. package/resources/{experimental/connect → connections}/mcp.d.mts +7 -8
  33. package/resources/connections/mcp.d.mts.map +1 -0
  34. package/resources/{experimental/connect → connections}/mcp.d.ts +7 -8
  35. package/resources/connections/mcp.d.ts.map +1 -0
  36. package/resources/{experimental/connect → connections}/mcp.js +6 -7
  37. package/resources/connections/mcp.js.map +1 -0
  38. package/resources/{experimental/connect → connections}/mcp.mjs +6 -7
  39. package/resources/connections/mcp.mjs.map +1 -0
  40. package/resources/connections.d.mts +2 -0
  41. package/resources/connections.d.mts.map +1 -0
  42. package/resources/connections.d.ts +2 -0
  43. package/resources/connections.d.ts.map +1 -0
  44. package/resources/{experimental.js → connections.js} +2 -2
  45. package/resources/connections.js.map +1 -0
  46. package/{src/resources/experimental.ts → resources/connections.mjs} +2 -2
  47. package/resources/connections.mjs.map +1 -0
  48. package/resources/index.d.mts +2 -2
  49. package/resources/index.d.mts.map +1 -1
  50. package/resources/index.d.ts +2 -2
  51. package/resources/index.d.ts.map +1 -1
  52. package/resources/index.js +3 -3
  53. package/resources/index.js.map +1 -1
  54. package/resources/index.mjs +1 -1
  55. package/resources/index.mjs.map +1 -1
  56. package/resources/servers/deployments.d.mts +61 -309
  57. package/resources/servers/deployments.d.mts.map +1 -1
  58. package/resources/servers/deployments.d.ts +61 -309
  59. package/resources/servers/deployments.d.ts.map +1 -1
  60. package/resources/servers/deployments.js +25 -112
  61. package/resources/servers/deployments.js.map +1 -1
  62. package/resources/servers/deployments.mjs +25 -112
  63. package/resources/servers/deployments.mjs.map +1 -1
  64. package/resources/servers/domains.d.mts +176 -0
  65. package/resources/servers/domains.d.mts.map +1 -0
  66. package/resources/servers/domains.d.ts +176 -0
  67. package/resources/servers/domains.d.ts.map +1 -0
  68. package/resources/servers/domains.js +67 -0
  69. package/resources/servers/domains.js.map +1 -0
  70. package/resources/servers/domains.mjs +63 -0
  71. package/resources/servers/domains.mjs.map +1 -0
  72. package/resources/servers/index.d.mts +6 -5
  73. package/resources/servers/index.d.mts.map +1 -1
  74. package/resources/servers/index.d.ts +6 -5
  75. package/resources/servers/index.d.ts.map +1 -1
  76. package/resources/servers/index.js +3 -1
  77. package/resources/servers/index.js.map +1 -1
  78. package/resources/servers/index.mjs +2 -1
  79. package/resources/servers/index.mjs.map +1 -1
  80. package/resources/servers/logs.d.mts +5 -79
  81. package/resources/servers/logs.d.mts.map +1 -1
  82. package/resources/servers/logs.d.ts +5 -79
  83. package/resources/servers/logs.d.ts.map +1 -1
  84. package/resources/servers/logs.js +5 -21
  85. package/resources/servers/logs.js.map +1 -1
  86. package/resources/servers/logs.mjs +5 -21
  87. package/resources/servers/logs.mjs.map +1 -1
  88. package/resources/servers/repo.d.mts +13 -103
  89. package/resources/servers/repo.d.mts.map +1 -1
  90. package/resources/servers/repo.d.ts +13 -103
  91. package/resources/servers/repo.d.ts.map +1 -1
  92. package/resources/servers/repo.js +15 -61
  93. package/resources/servers/repo.js.map +1 -1
  94. package/resources/servers/repo.mjs +15 -61
  95. package/resources/servers/repo.mjs.map +1 -1
  96. package/resources/servers/secrets.d.mts +14 -85
  97. package/resources/servers/secrets.d.mts.map +1 -1
  98. package/resources/servers/secrets.d.ts +14 -85
  99. package/resources/servers/secrets.d.ts.map +1 -1
  100. package/resources/servers/secrets.js +13 -63
  101. package/resources/servers/secrets.js.map +1 -1
  102. package/resources/servers/secrets.mjs +13 -63
  103. package/resources/servers/secrets.mjs.map +1 -1
  104. package/resources/servers/servers.d.mts +30 -182
  105. package/resources/servers/servers.d.mts.map +1 -1
  106. package/resources/servers/servers.d.ts +30 -182
  107. package/resources/servers/servers.d.ts.map +1 -1
  108. package/resources/servers/servers.js +26 -79
  109. package/resources/servers/servers.js.map +1 -1
  110. package/resources/servers/servers.mjs +28 -81
  111. package/resources/servers/servers.mjs.map +1 -1
  112. package/src/client.ts +26 -20
  113. package/src/lib/mcp-transport.ts +4 -4
  114. package/src/resources/{experimental/connect → connections}/connections.ts +34 -27
  115. package/src/resources/{experimental/connect → connections}/index.ts +0 -1
  116. package/src/resources/{experimental/connect → connections}/mcp.ts +8 -9
  117. package/src/resources/{experimental/connect.ts → connections.ts} +1 -1
  118. package/src/resources/index.ts +12 -9
  119. package/src/resources/servers/deployments.ts +69 -425
  120. package/src/resources/servers/domains.ts +270 -0
  121. package/src/resources/servers/index.ts +10 -36
  122. package/src/resources/servers/logs.ts +9 -118
  123. package/src/resources/servers/repo.ts +15 -150
  124. package/src/resources/servers/secrets.ts +17 -126
  125. package/src/resources/servers/servers.ts +51 -319
  126. package/src/version.ts +1 -1
  127. package/version.d.mts +1 -1
  128. package/version.d.ts +1 -1
  129. package/version.js +1 -1
  130. package/version.mjs +1 -1
  131. package/resources/experimental/connect/connect.d.mts +0 -14
  132. package/resources/experimental/connect/connect.d.mts.map +0 -1
  133. package/resources/experimental/connect/connect.d.ts +0 -14
  134. package/resources/experimental/connect/connect.d.ts.map +0 -1
  135. package/resources/experimental/connect/connect.js +0 -21
  136. package/resources/experimental/connect/connect.js.map +0 -1
  137. package/resources/experimental/connect/connect.mjs +0 -16
  138. package/resources/experimental/connect/connect.mjs.map +0 -1
  139. package/resources/experimental/connect/connections.d.mts.map +0 -1
  140. package/resources/experimental/connect/connections.d.ts.map +0 -1
  141. package/resources/experimental/connect/connections.js.map +0 -1
  142. package/resources/experimental/connect/connections.mjs.map +0 -1
  143. package/resources/experimental/connect/index.d.mts.map +0 -1
  144. package/resources/experimental/connect/index.d.ts.map +0 -1
  145. package/resources/experimental/connect/index.js.map +0 -1
  146. package/resources/experimental/connect/index.mjs.map +0 -1
  147. package/resources/experimental/connect/mcp.d.mts.map +0 -1
  148. package/resources/experimental/connect/mcp.d.ts.map +0 -1
  149. package/resources/experimental/connect/mcp.js.map +0 -1
  150. package/resources/experimental/connect/mcp.mjs.map +0 -1
  151. package/resources/experimental/connect.d.mts +0 -2
  152. package/resources/experimental/connect.d.mts.map +0 -1
  153. package/resources/experimental/connect.d.ts +0 -2
  154. package/resources/experimental/connect.d.ts.map +0 -1
  155. package/resources/experimental/connect.js +0 -6
  156. package/resources/experimental/connect.js.map +0 -1
  157. package/resources/experimental/connect.mjs +0 -3
  158. package/resources/experimental/connect.mjs.map +0 -1
  159. package/resources/experimental/experimental.d.mts +0 -10
  160. package/resources/experimental/experimental.d.mts.map +0 -1
  161. package/resources/experimental/experimental.d.ts +0 -10
  162. package/resources/experimental/experimental.d.ts.map +0 -1
  163. package/resources/experimental/experimental.js +0 -17
  164. package/resources/experimental/experimental.js.map +0 -1
  165. package/resources/experimental/experimental.mjs +0 -12
  166. package/resources/experimental/experimental.mjs.map +0 -1
  167. package/resources/experimental/index.d.mts +0 -3
  168. package/resources/experimental/index.d.mts.map +0 -1
  169. package/resources/experimental/index.d.ts +0 -3
  170. package/resources/experimental/index.d.ts.map +0 -1
  171. package/resources/experimental/index.js +0 -9
  172. package/resources/experimental/index.js.map +0 -1
  173. package/resources/experimental/index.mjs +0 -4
  174. package/resources/experimental/index.mjs.map +0 -1
  175. package/resources/experimental.d.mts +0 -2
  176. package/resources/experimental.d.mts.map +0 -1
  177. package/resources/experimental.d.ts +0 -2
  178. package/resources/experimental.d.ts.map +0 -1
  179. package/resources/experimental.js.map +0 -1
  180. package/resources/experimental.mjs +0 -3
  181. package/resources/experimental.mjs.map +0 -1
  182. package/src/resources/experimental/connect/connect.ts +0 -48
  183. package/src/resources/experimental/experimental.ts +0 -15
  184. package/src/resources/experimental/index.ts +0 -4
@@ -11,141 +11,69 @@ import { path } from '../../internal/utils/path';
11
11
 
12
12
  export class Deployments extends APIResource {
13
13
  /**
14
- * List all deployments for a server, ordered by most recent first. Does not
15
- * include deployment logs — fetch a specific deployment to see logs.
14
+ * List releases ordered by most recent first. Logs are omitted — fetch a specific
15
+ * release to see logs.
16
16
  *
17
17
  * @example
18
18
  * ```ts
19
19
  * const deployments = await client.servers.deployments.list(
20
- * 'server',
21
- * { namespace: 'namespace' },
20
+ * 'qualifiedName',
22
21
  * );
23
22
  * ```
24
23
  */
25
- list(
26
- server: string,
27
- params: DeploymentListParams,
28
- options?: RequestOptions,
29
- ): APIPromise<DeploymentListResponse> {
30
- const { namespace } = params;
31
- return this._client.get(path`/servers/${namespace}/${server}/deployments`, options);
24
+ list(qualifiedName: string, options?: RequestOptions): APIPromise<DeploymentListResponse> {
25
+ return this._client.get(path`/servers/${qualifiedName}/deployments`, options);
32
26
  }
33
27
 
34
28
  /**
35
- * Deploy an MCP server via multipart form. Supports hosted deployments (upload a
36
- * JS module), external deployments (register a URL), stdio deployments (upload an
37
- * MCPB bundle), and repo deployments (build from a connected GitHub repository).
29
+ * Submit a release via multipart form. Supports hosted (JS module upload),
30
+ * external (URL), stdio (MCPB bundle), and repo (GitHub build) release types.
38
31
  *
39
32
  * @example
40
33
  * ```ts
41
34
  * const response = await client.servers.deployments.deploy(
42
- * 'server',
43
- * { namespace: 'namespace', payload: 'payload' },
35
+ * 'qualifiedName',
36
+ * { payload: 'payload' },
44
37
  * );
45
38
  * ```
46
39
  */
47
40
  deploy(
48
- server: string,
49
- params: DeploymentDeployParams,
41
+ qualifiedName: string,
42
+ body: DeploymentDeployParams,
50
43
  options?: RequestOptions,
51
44
  ): APIPromise<DeploymentDeployResponse> {
52
- const { namespace, ...body } = params;
53
45
  return this._client.put(
54
- path`/servers/${namespace}/${server}/deployments`,
46
+ path`/servers/${qualifiedName}/deployments`,
55
47
  multipartFormRequestOptions({ body, ...options }, this._client),
56
48
  );
57
49
  }
58
50
 
59
51
  /**
60
- * Deploy an MCP server via multipart form. Supports hosted deployments (upload a
61
- * JS module), external deployments (register a URL), stdio deployments (upload an
62
- * MCPB bundle), and repo deployments (build from a connected GitHub repository).
63
- *
64
- * @example
65
- * ```ts
66
- * const response =
67
- * await client.servers.deployments.deployByNamespace(
68
- * 'namespace',
69
- * { payload: 'payload' },
70
- * );
71
- * ```
72
- */
73
- deployByNamespace(
74
- namespace: string,
75
- body: DeploymentDeployByNamespaceParams,
76
- options?: RequestOptions,
77
- ): APIPromise<DeploymentDeployByNamespaceResponse> {
78
- return this._client.put(
79
- path`/servers/${namespace}/deployments`,
80
- multipartFormRequestOptions({ body, ...options }, this._client),
81
- );
82
- }
83
-
84
- /**
85
- * Get full details for a specific deployment, including status, type, git
86
- * metadata, pipeline logs, and MCP endpoint URL.
52
+ * Retrieve release details including status, git metadata, pipeline logs, and MCP
53
+ * endpoint URL.
87
54
  *
88
55
  * @example
89
56
  * ```ts
90
57
  * const deployment = await client.servers.deployments.get(
91
58
  * 'id',
92
- * { namespace: 'namespace', server: 'server' },
59
+ * { qualifiedName: 'qualifiedName' },
93
60
  * );
94
61
  * ```
95
62
  */
96
63
  get(id: string, params: DeploymentGetParams, options?: RequestOptions): APIPromise<DeploymentGetResponse> {
97
- const { namespace, server } = params;
98
- return this._client.get(path`/servers/${namespace}/${server}/deployments/${id}`, options);
99
- }
100
-
101
- /**
102
- * Get full details for a specific deployment, including status, type, git
103
- * metadata, pipeline logs, and MCP endpoint URL.
104
- *
105
- * @example
106
- * ```ts
107
- * const response =
108
- * await client.servers.deployments.getByNamespace('id', {
109
- * namespace: 'namespace',
110
- * });
111
- * ```
112
- */
113
- getByNamespace(
114
- id: string,
115
- params: DeploymentGetByNamespaceParams,
116
- options?: RequestOptions,
117
- ): APIPromise<DeploymentGetByNamespaceResponse> {
118
- const { namespace } = params;
119
- return this._client.get(path`/servers/${namespace}/deployments/${id}`, options);
120
- }
121
-
122
- /**
123
- * List all deployments for a server, ordered by most recent first. Does not
124
- * include deployment logs — fetch a specific deployment to see logs.
125
- *
126
- * @example
127
- * ```ts
128
- * const response =
129
- * await client.servers.deployments.listByNamespace(
130
- * 'namespace',
131
- * );
132
- * ```
133
- */
134
- listByNamespace(
135
- namespace: string,
136
- options?: RequestOptions,
137
- ): APIPromise<DeploymentListByNamespaceResponse> {
138
- return this._client.get(path`/servers/${namespace}/deployments`, options);
64
+ const { qualifiedName } = params;
65
+ return this._client.get(path`/servers/${qualifiedName}/deployments/${id}`, options);
139
66
  }
140
67
 
141
68
  /**
142
- * Use id='latest' to resume the most recent deployment
69
+ * Resume a paused release (e.g. after OAuth authorization). Use id='latest' to
70
+ * resume the most recent one.
143
71
  *
144
72
  * @example
145
73
  * ```ts
146
74
  * const response = await client.servers.deployments.resume(
147
75
  * 'id',
148
- * { namespace: 'namespace', server: 'server' },
76
+ * { qualifiedName: 'qualifiedName' },
149
77
  * );
150
78
  * ```
151
79
  */
@@ -154,39 +82,18 @@ export class Deployments extends APIResource {
154
82
  params: DeploymentResumeParams,
155
83
  options?: RequestOptions,
156
84
  ): APIPromise<DeploymentResumeResponse> {
157
- const { namespace, server } = params;
158
- return this._client.post(path`/servers/${namespace}/${server}/deployments/${id}/resume`, options);
85
+ const { qualifiedName } = params;
86
+ return this._client.post(path`/servers/${qualifiedName}/deployments/${id}/resume`, options);
159
87
  }
160
88
 
161
89
  /**
162
- * Use id='latest' to resume the most recent deployment
163
- *
164
- * @example
165
- * ```ts
166
- * const response =
167
- * await client.servers.deployments.resumeByNamespace('id', {
168
- * namespace: 'namespace',
169
- * });
170
- * ```
171
- */
172
- resumeByNamespace(
173
- id: string,
174
- params: DeploymentResumeByNamespaceParams,
175
- options?: RequestOptions,
176
- ): APIPromise<DeploymentResumeByNamespaceResponse> {
177
- const { namespace } = params;
178
- return this._client.post(path`/servers/${namespace}/deployments/${id}/resume`, options);
179
- }
180
-
181
- /**
182
- * Returns a real-time SSE stream of deployment logs and status updates. Connect to
183
- * this endpoint to receive live updates as the deployment progresses.
90
+ * Real-time SSE stream of release logs and status updates.
184
91
  *
185
92
  * @example
186
93
  * ```ts
187
94
  * const response = await client.servers.deployments.stream(
188
95
  * 'id',
189
- * { namespace: 'namespace', server: 'server' },
96
+ * { qualifiedName: 'qualifiedName' },
190
97
  * );
191
98
  * ```
192
99
  */
@@ -195,38 +102,13 @@ export class Deployments extends APIResource {
195
102
  params: DeploymentStreamParams,
196
103
  options?: RequestOptions,
197
104
  ): APIPromise<Stream<DeploymentStreamResponse>> {
198
- const { namespace, server } = params;
199
- return this._client.get(path`/servers/${namespace}/${server}/deployments/${id}/stream`, {
105
+ const { qualifiedName } = params;
106
+ return this._client.get(path`/servers/${qualifiedName}/deployments/${id}/stream`, {
200
107
  ...options,
201
108
  headers: buildHeaders([{ Accept: 'text/event-stream' }, options?.headers]),
202
109
  stream: true,
203
110
  }) as APIPromise<Stream<DeploymentStreamResponse>>;
204
111
  }
205
-
206
- /**
207
- * Returns a real-time SSE stream of deployment logs and status updates. Connect to
208
- * this endpoint to receive live updates as the deployment progresses.
209
- *
210
- * @example
211
- * ```ts
212
- * const response =
213
- * await client.servers.deployments.streamByNamespace('id', {
214
- * namespace: 'namespace',
215
- * });
216
- * ```
217
- */
218
- streamByNamespace(
219
- id: string,
220
- params: DeploymentStreamByNamespaceParams,
221
- options?: RequestOptions,
222
- ): APIPromise<Stream<DeploymentStreamByNamespaceResponse>> {
223
- const { namespace } = params;
224
- return this._client.get(path`/servers/${namespace}/deployments/${id}/stream`, {
225
- ...options,
226
- headers: buildHeaders([{ Accept: 'text/event-stream' }, options?.headers]),
227
- stream: true,
228
- }) as APIPromise<Stream<DeploymentStreamByNamespaceResponse>>;
229
- }
230
112
  }
231
113
 
232
114
  export type DeployPayload =
@@ -498,19 +380,19 @@ export namespace DeploymentListResponse {
498
380
  id: string;
499
381
 
500
382
  /**
501
- * ISO 8601 timestamp of when the deployment was created.
383
+ * ISO 8601 timestamp of when the release was created.
502
384
  */
503
385
  createdAt: string;
504
386
 
505
387
  /**
506
- * Current deployment status: QUEUED, WORKING, SUCCESS, FAILURE, FAILURE_SCAN,
507
- * AUTH_REQUIRED, CANCELLED, or INTERNAL_ERROR.
388
+ * Current status: QUEUED, WORKING, SUCCESS, FAILURE, FAILURE_SCAN, AUTH_REQUIRED,
389
+ * CANCELLED, or INTERNAL_ERROR.
508
390
  */
509
391
  status: string;
510
392
 
511
393
  /**
512
- * Deployment type: hosted_shttp (Smithery-hosted), external_shttp (external URL),
513
- * or stdio (local binary).
394
+ * Release type: hosted_shttp (Smithery-hosted), external_shttp (external URL), or
395
+ * stdio (local binary).
514
396
  */
515
397
  type: string;
516
398
 
@@ -520,18 +402,17 @@ export namespace DeploymentListResponse {
520
402
  updatedAt: string;
521
403
 
522
404
  /**
523
- * Git branch this deployment was built from.
405
+ * Git branch this release was built from.
524
406
  */
525
407
  branch?: string | null;
526
408
 
527
409
  /**
528
- * Git commit SHA that triggered this deployment. Present for repo and
529
- * source-tracked deployments.
410
+ * Git commit SHA that triggered this release.
530
411
  */
531
412
  commit?: string | null;
532
413
 
533
414
  /**
534
- * Git commit message associated with this deployment.
415
+ * Git commit message associated with this release.
535
416
  */
536
417
  commitMessage?: string | null;
537
418
 
@@ -541,7 +422,7 @@ export namespace DeploymentListResponse {
541
422
  mcpUrl?: string;
542
423
 
543
424
  /**
544
- * Upstream MCP server URL. Present only for external deployments.
425
+ * Upstream MCP server URL. Present only for external releases.
545
426
  */
546
427
  upstreamUrl?: string | null;
547
428
  }
@@ -549,44 +430,22 @@ export namespace DeploymentListResponse {
549
430
 
550
431
  export interface DeploymentDeployResponse {
551
432
  /**
552
- * Unique identifier for this deployment.
553
- */
554
- deploymentId: string;
555
-
556
- /**
557
- * The MCP endpoint URL for connecting to this server once deployed.
558
- */
559
- mcpUrl: string;
560
-
561
- /**
562
- * Initial deployment status. Will be WORKING while the deployment is in progress.
563
- */
564
- status: string;
565
-
566
- /**
567
- * Non-fatal warnings encountered during deployment submission.
568
- */
569
- warnings?: Array<string>;
570
- }
571
-
572
- export interface DeploymentDeployByNamespaceResponse {
573
- /**
574
- * Unique identifier for this deployment.
433
+ * Unique identifier for this release.
575
434
  */
576
435
  deploymentId: string;
577
436
 
578
437
  /**
579
- * The MCP endpoint URL for connecting to this server once deployed.
438
+ * The MCP endpoint URL for connecting to this server once published.
580
439
  */
581
440
  mcpUrl: string;
582
441
 
583
442
  /**
584
- * Initial deployment status. Will be WORKING while the deployment is in progress.
443
+ * Initial status. Will be WORKING while the release is in progress.
585
444
  */
586
445
  status: string;
587
446
 
588
447
  /**
589
- * Non-fatal warnings encountered during deployment submission.
448
+ * Non-fatal warnings encountered during submission.
590
449
  */
591
450
  warnings?: Array<string>;
592
451
  }
@@ -595,19 +454,19 @@ export interface DeploymentGetResponse {
595
454
  id: string;
596
455
 
597
456
  /**
598
- * ISO 8601 timestamp of when the deployment was created.
457
+ * ISO 8601 timestamp of when the release was created.
599
458
  */
600
459
  createdAt: string;
601
460
 
602
461
  /**
603
- * Current deployment status: QUEUED, WORKING, SUCCESS, FAILURE, FAILURE_SCAN,
604
- * AUTH_REQUIRED, CANCELLED, or INTERNAL_ERROR.
462
+ * Current status: QUEUED, WORKING, SUCCESS, FAILURE, FAILURE_SCAN, AUTH_REQUIRED,
463
+ * CANCELLED, or INTERNAL_ERROR.
605
464
  */
606
465
  status: string;
607
466
 
608
467
  /**
609
- * Deployment type: hosted_shttp (Smithery-hosted), external_shttp (external URL),
610
- * or stdio (local binary).
468
+ * Release type: hosted_shttp (Smithery-hosted), external_shttp (external URL), or
469
+ * stdio (local binary).
611
470
  */
612
471
  type: string;
613
472
 
@@ -617,24 +476,22 @@ export interface DeploymentGetResponse {
617
476
  updatedAt: string;
618
477
 
619
478
  /**
620
- * Git branch this deployment was built from.
479
+ * Git branch this release was built from.
621
480
  */
622
481
  branch?: string | null;
623
482
 
624
483
  /**
625
- * Git commit SHA that triggered this deployment. Present for repo and
626
- * source-tracked deployments.
484
+ * Git commit SHA that triggered this release.
627
485
  */
628
486
  commit?: string | null;
629
487
 
630
488
  /**
631
- * Git commit message associated with this deployment.
489
+ * Git commit message associated with this release.
632
490
  */
633
491
  commitMessage?: string | null;
634
492
 
635
493
  /**
636
- * Deployment pipeline log entries. Only included when fetching a single
637
- * deployment.
494
+ * Pipeline log entries. Only included when fetching a single release.
638
495
  */
639
496
  logs?: Array<DeploymentGetResponse.Log>;
640
497
 
@@ -644,7 +501,7 @@ export interface DeploymentGetResponse {
644
501
  mcpUrl?: string;
645
502
 
646
503
  /**
647
- * Upstream MCP server URL. Present only for external deployments.
504
+ * Upstream MCP server URL. Present only for external releases.
648
505
  */
649
506
  upstreamUrl?: string | null;
650
507
  }
@@ -662,8 +519,8 @@ export namespace DeploymentGetResponse {
662
519
  message: string;
663
520
 
664
521
  /**
665
- * Deployment pipeline stage: deploy (bundle upload), scan (security/OAuth check),
666
- * metadata (tool discovery), publish (making the server live).
522
+ * Pipeline stage: deploy (bundle upload), scan (security/OAuth check), metadata
523
+ * (tool discovery), publish (making the server live).
667
524
  */
668
525
  stage: 'deploy' | 'scan' | 'metadata' | 'publish';
669
526
 
@@ -688,264 +545,61 @@ export namespace DeploymentGetResponse {
688
545
  }
689
546
  }
690
547
 
691
- export interface DeploymentGetByNamespaceResponse {
692
- id: string;
693
-
694
- /**
695
- * ISO 8601 timestamp of when the deployment was created.
696
- */
697
- createdAt: string;
698
-
699
- /**
700
- * Current deployment status: QUEUED, WORKING, SUCCESS, FAILURE, FAILURE_SCAN,
701
- * AUTH_REQUIRED, CANCELLED, or INTERNAL_ERROR.
702
- */
703
- status: string;
704
-
705
- /**
706
- * Deployment type: hosted_shttp (Smithery-hosted), external_shttp (external URL),
707
- * or stdio (local binary).
708
- */
709
- type: string;
710
-
711
- /**
712
- * ISO 8601 timestamp of the last status change.
713
- */
714
- updatedAt: string;
715
-
716
- /**
717
- * Git branch this deployment was built from.
718
- */
719
- branch?: string | null;
720
-
721
- /**
722
- * Git commit SHA that triggered this deployment. Present for repo and
723
- * source-tracked deployments.
724
- */
725
- commit?: string | null;
726
-
727
- /**
728
- * Git commit message associated with this deployment.
729
- */
730
- commitMessage?: string | null;
731
-
732
- /**
733
- * Deployment pipeline log entries. Only included when fetching a single
734
- * deployment.
735
- */
736
- logs?: Array<DeploymentGetByNamespaceResponse.Log>;
737
-
738
- /**
739
- * The MCP endpoint URL for connecting to this server.
740
- */
741
- mcpUrl?: string;
742
-
743
- /**
744
- * Upstream MCP server URL. Present only for external deployments.
745
- */
746
- upstreamUrl?: string | null;
747
- }
748
-
749
- export namespace DeploymentGetByNamespaceResponse {
750
- export interface Log {
751
- /**
752
- * Log level: 'start', 'end', 'info', 'success', or 'failure'.
753
- */
754
- level: string;
755
-
756
- /**
757
- * Human-readable log message.
758
- */
759
- message: string;
760
-
761
- /**
762
- * Deployment pipeline stage: deploy (bundle upload), scan (security/OAuth check),
763
- * metadata (tool discovery), publish (making the server live).
764
- */
765
- stage: 'deploy' | 'scan' | 'metadata' | 'publish';
766
-
767
- /**
768
- * ISO 8601 timestamp of the log entry.
769
- */
770
- timestamp: string;
771
-
772
- /**
773
- * Error details, present only when the stage failed.
774
- */
775
- error?: Log.Error;
776
- }
777
-
778
- export namespace Log {
779
- /**
780
- * Error details, present only when the stage failed.
781
- */
782
- export interface Error {
783
- message?: string;
784
- }
785
- }
786
- }
787
-
788
- export type DeploymentListByNamespaceResponse =
789
- Array<DeploymentListByNamespaceResponse.DeploymentListByNamespaceResponseItem>;
790
-
791
- export namespace DeploymentListByNamespaceResponse {
792
- export interface DeploymentListByNamespaceResponseItem {
793
- id: string;
794
-
795
- /**
796
- * ISO 8601 timestamp of when the deployment was created.
797
- */
798
- createdAt: string;
799
-
800
- /**
801
- * Current deployment status: QUEUED, WORKING, SUCCESS, FAILURE, FAILURE_SCAN,
802
- * AUTH_REQUIRED, CANCELLED, or INTERNAL_ERROR.
803
- */
804
- status: string;
805
-
806
- /**
807
- * Deployment type: hosted_shttp (Smithery-hosted), external_shttp (external URL),
808
- * or stdio (local binary).
809
- */
810
- type: string;
811
-
812
- /**
813
- * ISO 8601 timestamp of the last status change.
814
- */
815
- updatedAt: string;
816
-
817
- /**
818
- * Git branch this deployment was built from.
819
- */
820
- branch?: string | null;
821
-
822
- /**
823
- * Git commit SHA that triggered this deployment. Present for repo and
824
- * source-tracked deployments.
825
- */
826
- commit?: string | null;
827
-
828
- /**
829
- * Git commit message associated with this deployment.
830
- */
831
- commitMessage?: string | null;
832
-
833
- /**
834
- * The MCP endpoint URL for connecting to this server.
835
- */
836
- mcpUrl?: string;
837
-
838
- /**
839
- * Upstream MCP server URL. Present only for external deployments.
840
- */
841
- upstreamUrl?: string | null;
842
- }
843
- }
844
-
845
548
  export interface DeploymentResumeResponse {
846
549
  deploymentId: string;
847
550
 
848
551
  status: string;
849
552
  }
850
553
 
851
- export interface DeploymentResumeByNamespaceResponse {
852
- deploymentId: string;
853
-
854
- status: string;
855
- }
856
-
857
554
  /**
858
555
  * SSE events: init (with buffered logs), log, status, complete
859
556
  */
860
557
  export type DeploymentStreamResponse = string;
861
558
 
862
- /**
863
- * SSE events: init (with buffered logs), log, status, complete
864
- */
865
- export type DeploymentStreamByNamespaceResponse = string;
866
-
867
- export interface DeploymentListParams {
868
- namespace: string;
869
- }
870
-
871
559
  export interface DeploymentDeployParams {
872
560
  /**
873
- * Path param
874
- */
875
- namespace: string;
876
-
877
- /**
878
- * Body param: JSON-encoded deployment payload. See DeployPayload schema for
879
- * structure.
561
+ * JSON-encoded release payload. See DeployPayload schema for structure.
880
562
  */
881
563
  payload: string;
882
564
 
883
565
  /**
884
- * Body param: MCPB bundle file (for stdio deployments)
566
+ * MCPB bundle file (for stdio releases)
885
567
  */
886
568
  bundle?: Uploadable;
887
569
 
888
570
  /**
889
- * Body param: JavaScript module file (for hosted deployments)
571
+ * JavaScript module file (for hosted releases)
890
572
  */
891
573
  module?: Uploadable;
892
574
 
893
575
  /**
894
- * Body param: Source map file (for hosted deployments)
576
+ * Source map file (for hosted releases)
895
577
  */
896
578
  sourcemap?: Uploadable;
897
579
  }
898
580
 
899
- export interface DeploymentDeployByNamespaceParams {
900
- /**
901
- * JSON-encoded deployment payload. See DeployPayload schema for structure.
902
- */
903
- payload: string;
904
-
905
- /**
906
- * MCPB bundle file (for stdio deployments)
907
- */
908
- bundle?: Uploadable;
909
-
910
- /**
911
- * JavaScript module file (for hosted deployments)
912
- */
913
- module?: Uploadable;
914
-
581
+ export interface DeploymentGetParams {
915
582
  /**
916
- * Source map file (for hosted deployments)
583
+ * The server's qualified name (e.g. 'namespace/server' or 'namespace' for
584
+ * namespace-only servers). Use %2F to encode the slash.
917
585
  */
918
- sourcemap?: Uploadable;
919
- }
920
-
921
- export interface DeploymentGetParams {
922
- namespace: string;
923
-
924
- server: string;
925
- }
926
-
927
- export interface DeploymentGetByNamespaceParams {
928
- namespace: string;
586
+ qualifiedName: string;
929
587
  }
930
588
 
931
589
  export interface DeploymentResumeParams {
932
- namespace: string;
933
-
934
- server: string;
935
- }
936
-
937
- export interface DeploymentResumeByNamespaceParams {
938
- namespace: string;
590
+ /**
591
+ * The server's qualified name (e.g. 'namespace/server' or 'namespace' for
592
+ * namespace-only servers). Use %2F to encode the slash.
593
+ */
594
+ qualifiedName: string;
939
595
  }
940
596
 
941
597
  export interface DeploymentStreamParams {
942
- namespace: string;
943
-
944
- server: string;
945
- }
946
-
947
- export interface DeploymentStreamByNamespaceParams {
948
- namespace: string;
598
+ /**
599
+ * The server's qualified name (e.g. 'namespace/server' or 'namespace' for
600
+ * namespace-only servers). Use %2F to encode the slash.
601
+ */
602
+ qualifiedName: string;
949
603
  }
950
604
 
951
605
  export declare namespace Deployments {
@@ -957,22 +611,12 @@ export declare namespace Deployments {
957
611
  type StdioDeployPayload as StdioDeployPayload,
958
612
  type DeploymentListResponse as DeploymentListResponse,
959
613
  type DeploymentDeployResponse as DeploymentDeployResponse,
960
- type DeploymentDeployByNamespaceResponse as DeploymentDeployByNamespaceResponse,
961
614
  type DeploymentGetResponse as DeploymentGetResponse,
962
- type DeploymentGetByNamespaceResponse as DeploymentGetByNamespaceResponse,
963
- type DeploymentListByNamespaceResponse as DeploymentListByNamespaceResponse,
964
615
  type DeploymentResumeResponse as DeploymentResumeResponse,
965
- type DeploymentResumeByNamespaceResponse as DeploymentResumeByNamespaceResponse,
966
616
  type DeploymentStreamResponse as DeploymentStreamResponse,
967
- type DeploymentStreamByNamespaceResponse as DeploymentStreamByNamespaceResponse,
968
- type DeploymentListParams as DeploymentListParams,
969
617
  type DeploymentDeployParams as DeploymentDeployParams,
970
- type DeploymentDeployByNamespaceParams as DeploymentDeployByNamespaceParams,
971
618
  type DeploymentGetParams as DeploymentGetParams,
972
- type DeploymentGetByNamespaceParams as DeploymentGetByNamespaceParams,
973
619
  type DeploymentResumeParams as DeploymentResumeParams,
974
- type DeploymentResumeByNamespaceParams as DeploymentResumeByNamespaceParams,
975
620
  type DeploymentStreamParams as DeploymentStreamParams,
976
- type DeploymentStreamByNamespaceParams as DeploymentStreamByNamespaceParams,
977
621
  };
978
622
  }