@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
@@ -1,12 +1,14 @@
1
1
  import { APIResource } from "../../core/resource.js";
2
2
  import * as DeploymentsAPI from "./deployments.js";
3
- import { DeployPayload, DeploymentDeployByNamespaceParams, DeploymentDeployByNamespaceResponse, DeploymentDeployParams, DeploymentDeployResponse, DeploymentGetByNamespaceParams, DeploymentGetByNamespaceResponse, DeploymentGetParams, DeploymentGetResponse, DeploymentListByNamespaceResponse, DeploymentListParams, DeploymentListResponse, DeploymentResumeByNamespaceParams, DeploymentResumeByNamespaceResponse, DeploymentResumeParams, DeploymentResumeResponse, DeploymentStreamByNamespaceParams, DeploymentStreamByNamespaceResponse, DeploymentStreamParams, DeploymentStreamResponse, Deployments, ExternalDeployPayload, HostedDeployPayload, ServerCard, StdioDeployPayload } from "./deployments.js";
3
+ import { DeployPayload, DeploymentDeployParams, DeploymentDeployResponse, DeploymentGetParams, DeploymentGetResponse, DeploymentListResponse, DeploymentResumeParams, DeploymentResumeResponse, DeploymentStreamParams, DeploymentStreamResponse, Deployments, ExternalDeployPayload, HostedDeployPayload, ServerCard, StdioDeployPayload } from "./deployments.js";
4
+ import * as DomainsAPI from "./domains.js";
5
+ import { DomainCreateParams, DomainCreateResponse, DomainDeleteParams, DomainDeleteResponse, DomainListResponse, DomainUpdateParams, DomainUpdateResponse, Domains } from "./domains.js";
4
6
  import * as LogsAPI from "./logs.js";
5
- import { LogListByNamespaceParams, LogListByNamespaceResponse, LogListParams, LogListResponse, Logs } from "./logs.js";
7
+ import { LogListParams, LogListResponse, Logs } from "./logs.js";
6
8
  import * as RepoAPI from "./repo.js";
7
- import { Repo, RepoDeleteByNamespaceResponse, RepoDeleteParams, RepoDeleteResponse, RepoGetByNamespaceResponse, RepoGetParams, RepoGetResponse, RepoSetByNamespaceParams, RepoSetByNamespaceResponse, RepoSetParams, RepoSetResponse } from "./repo.js";
9
+ import { Repo, RepoDeleteResponse, RepoGetResponse, RepoSetParams, RepoSetResponse } from "./repo.js";
8
10
  import * as SecretsAPI from "./secrets.js";
9
- import { SecretDeleteByNamespaceParams, SecretDeleteByNamespaceResponse, SecretDeleteParams, SecretDeleteResponse, SecretListByNamespaceResponse, SecretListParams, SecretListResponse, SecretSetByNamespaceParams, SecretSetByNamespaceResponse, SecretSetParams, SecretSetResponse, Secrets } from "./secrets.js";
11
+ import { SecretDeleteParams, SecretDeleteResponse, SecretListResponse, SecretSetParams, SecretSetResponse, Secrets } from "./secrets.js";
10
12
  import { APIPromise } from "../../core/api-promise.js";
11
13
  import { PagePromise, SmitheryPage, type SmitheryPageParams } from "../../core/pagination.js";
12
14
  import { RequestOptions } from "../../internal/request-options.js";
@@ -15,29 +17,26 @@ export declare class Servers extends APIResource {
15
17
  logs: LogsAPI.Logs;
16
18
  secrets: SecretsAPI.Secrets;
17
19
  repo: RepoAPI.Repo;
20
+ domains: DomainsAPI.Domains;
18
21
  /**
19
- * Create a new server under the specified namespace. This endpoint is idempotent -
20
- * if the server already exists and is owned by the user, returns success.
22
+ * Create a new server. Idempotent returns success if the server already exists
23
+ * and is owned by the caller.
21
24
  *
22
25
  * @example
23
26
  * ```ts
24
- * const server = await client.servers.create('server', {
25
- * namespace: 'namespace',
26
- * });
27
+ * const server = await client.servers.create('qualifiedName');
27
28
  * ```
28
29
  */
29
- create(server: string, params: ServerCreateParams, options?: RequestOptions): APIPromise<ServerCreateResponse>;
30
+ create(qualifiedName: string, body?: ServerCreateParams | null | undefined, options?: RequestOptions): APIPromise<ServerCreateResponse>;
30
31
  /**
31
- * Update metadata for a server by namespace and server name.
32
+ * Update server metadata such as display name, description, icon, or visibility.
32
33
  *
33
34
  * @example
34
35
  * ```ts
35
- * const server = await client.servers.update('server', {
36
- * namespace: 'namespace',
37
- * });
36
+ * const server = await client.servers.update('qualifiedName');
38
37
  * ```
39
38
  */
40
- update(server: string, params: ServerUpdateParams, options?: RequestOptions): APIPromise<ServerUpdateResponse>;
39
+ update(qualifiedName: string, body?: ServerUpdateParams | null | undefined, options?: RequestOptions): APIPromise<ServerUpdateResponse>;
41
40
  /**
42
41
  * Search and browse public MCP servers in the Smithery registry. Supports
43
42
  * full-text and semantic search via the `q` parameter, and filtering by deployment
@@ -53,79 +52,37 @@ export declare class Servers extends APIResource {
53
52
  */
54
53
  list(query?: ServerListParams | null | undefined, options?: RequestOptions): PagePromise<ServerListResponsesSmitheryPage, ServerListResponse>;
55
54
  /**
56
- * Delete a server by namespace and server name.
55
+ * Permanently delete a server, its releases, and associated resources.
57
56
  *
58
57
  * @example
59
58
  * ```ts
60
- * const server = await client.servers.delete('server', {
61
- * namespace: 'namespace',
62
- * });
59
+ * const server = await client.servers.delete('qualifiedName');
63
60
  * ```
64
61
  */
65
- delete(server: string, params: ServerDeleteParams, options?: RequestOptions): APIPromise<ServerDeleteResponse>;
62
+ delete(qualifiedName: string, options?: RequestOptions): APIPromise<ServerDeleteResponse>;
66
63
  /**
67
- * Create a namespace-only server where the namespace is also the server
68
- * identifier. This endpoint is idempotent - if the server already exists and is
69
- * owned by the user, returns success.
64
+ * Download the MCPB bundle for the latest successful stdio release.
70
65
  *
71
66
  * @example
72
67
  * ```ts
73
- * const response = await client.servers.createByNamespace(
74
- * 'namespace',
68
+ * const response = await client.servers.download(
69
+ * 'qualifiedName',
75
70
  * );
76
- * ```
77
- */
78
- createByNamespace(namespace: string, body?: ServerCreateByNamespaceParams | null | undefined, options?: RequestOptions): APIPromise<ServerCreateByNamespaceResponse>;
79
- /**
80
- * Download the MCPB bundle for the latest successful stdio deployment
81
- *
82
- * @example
83
- * ```ts
84
- * const response = await client.servers.download('server', {
85
- * namespace: 'namespace',
86
- * });
87
71
  *
88
72
  * const content = await response.blob();
89
73
  * console.log(content);
90
74
  * ```
91
75
  */
92
- download(server: string, params: ServerDownloadParams, options?: RequestOptions): APIPromise<Response>;
93
- /**
94
- * Get a single server by its namespace and server name.
95
- *
96
- * @example
97
- * ```ts
98
- * const server = await client.servers.get('server', {
99
- * namespace: 'namespace',
100
- * });
101
- * ```
102
- */
103
- get(server: string, params: ServerGetParams, options?: RequestOptions): APIPromise<ServerGetResponse>;
76
+ download(qualifiedName: string, options?: RequestOptions): APIPromise<Response>;
104
77
  /**
105
- * Get a server by namespace name. Used for namespace-only servers where the
106
- * namespace name is also the server name. Also handles deprecated encoded
107
- * patterns.
78
+ * Retrieve server details including connections, tools, and security status.
108
79
  *
109
80
  * @example
110
81
  * ```ts
111
- * const response = await client.servers.getByNamespace(
112
- * 'namespace',
113
- * );
82
+ * const server = await client.servers.get('qualifiedName');
114
83
  * ```
115
84
  */
116
- getByNamespace(namespace: string, options?: RequestOptions): APIPromise<ServerGetByNamespaceResponse>;
117
- /**
118
- * Update metadata for a namespace-only server where the namespace is also the
119
- * server identifier.
120
- *
121
- * @example
122
- * ```ts
123
- * const response = await client.servers.updateByNamespace(
124
- * 'namespace',
125
- * );
126
- * ```
127
- */
128
- updateByNamespace(namespace: string, body?: ServerUpdateByNamespaceParams | null | undefined, options?: RequestOptions): APIPromise<ServerUpdateByNamespaceResponse>;
85
+ get(qualifiedName: string, options?: RequestOptions): APIPromise<ServerGetResponse>;
129
86
  }
130
87
  export type ServerListResponsesSmitheryPage = SmitheryPage<ServerListResponse>;
131
88
  /**
@@ -243,13 +200,6 @@ export interface ServerDeleteResponse {
243
200
  server: string;
244
201
  success: boolean;
245
202
  }
246
- export interface ServerCreateByNamespaceResponse {
247
- createdAt: string;
248
- description: string;
249
- displayName: string;
250
- namespace: string;
251
- server: string;
252
- }
253
203
  export interface ServerGetResponse {
254
204
  connections: Array<ServerGetResponse.StdioConnection | ServerGetResponse.HTTPConnection>;
255
205
  deploymentUrl: string | null;
@@ -295,98 +245,16 @@ export declare namespace ServerGetResponse {
295
245
  }
296
246
  }
297
247
  }
298
- export interface ServerGetByNamespaceResponse {
299
- connections: Array<ServerGetByNamespaceResponse.StdioConnection | ServerGetByNamespaceResponse.HTTPConnection>;
300
- deploymentUrl: string | null;
301
- description: string;
302
- displayName: string;
303
- iconUrl: string | null;
304
- qualifiedName: string;
305
- remote: boolean;
306
- security: ServerGetByNamespaceResponse.Security | null;
307
- tools: Array<ServerGetByNamespaceResponse.Tool> | null;
308
- }
309
- export declare namespace ServerGetByNamespaceResponse {
310
- interface StdioConnection {
311
- configSchema: {
312
- [key: string]: unknown;
313
- };
314
- type: 'stdio';
315
- bundleUrl?: string;
316
- runtime?: string;
317
- stdioFunction?: string;
318
- }
319
- interface HTTPConnection {
320
- configSchema: {
321
- [key: string]: unknown;
322
- };
323
- deploymentUrl: string;
324
- type: 'http';
325
- }
326
- interface Security {
327
- scanPassed: boolean;
328
- }
329
- interface Tool {
330
- description: string | null;
331
- inputSchema: Tool.InputSchema;
332
- name: string;
333
- }
334
- namespace Tool {
335
- interface InputSchema {
336
- type: 'object';
337
- properties?: {
338
- [key: string]: unknown;
339
- };
340
- }
341
- }
342
- }
343
- export interface ServerUpdateByNamespaceResponse {
344
- namespace: string;
345
- server: string;
346
- success: boolean;
347
- }
348
248
  export interface ServerCreateParams {
349
- /**
350
- * Path param
351
- */
352
- namespace: string;
353
- /**
354
- * Body param
355
- */
356
249
  description?: string;
357
- /**
358
- * Body param
359
- */
360
250
  displayName?: string;
361
251
  }
362
252
  export interface ServerUpdateParams {
363
- /**
364
- * Path param
365
- */
366
- namespace: string;
367
- /**
368
- * Body param
369
- */
370
253
  description?: string;
371
- /**
372
- * Body param
373
- */
374
254
  displayName?: string;
375
- /**
376
- * Body param
377
- */
378
255
  homepage?: string | null;
379
- /**
380
- * Body param
381
- */
382
256
  iconUrl?: string | null;
383
- /**
384
- * Body param
385
- */
386
257
  license?: string | null;
387
- /**
388
- * Body param
389
- */
390
258
  unlisted?: boolean;
391
259
  }
392
260
  export interface ServerListParams extends SmitheryPageParams {
@@ -444,32 +312,12 @@ export interface ServerListParams extends SmitheryPageParams {
444
312
  */
445
313
  verified?: '0' | '1' | 'true' | 'false';
446
314
  }
447
- export interface ServerDeleteParams {
448
- namespace: string;
449
- }
450
- export interface ServerCreateByNamespaceParams {
451
- description?: string;
452
- displayName?: string;
453
- }
454
- export interface ServerDownloadParams {
455
- namespace: string;
456
- }
457
- export interface ServerGetParams {
458
- namespace: string;
459
- }
460
- export interface ServerUpdateByNamespaceParams {
461
- description?: string;
462
- displayName?: string;
463
- homepage?: string | null;
464
- iconUrl?: string | null;
465
- license?: string | null;
466
- unlisted?: boolean;
467
- }
468
315
  export declare namespace Servers {
469
- export { type BuildConfig as BuildConfig, type DeploymentTarget as DeploymentTarget, type ProjectConfig as ProjectConfig, type ServerCreateResponse as ServerCreateResponse, type ServerUpdateResponse as ServerUpdateResponse, type ServerListResponse as ServerListResponse, type ServerDeleteResponse as ServerDeleteResponse, type ServerCreateByNamespaceResponse as ServerCreateByNamespaceResponse, type ServerGetResponse as ServerGetResponse, type ServerGetByNamespaceResponse as ServerGetByNamespaceResponse, type ServerUpdateByNamespaceResponse as ServerUpdateByNamespaceResponse, type ServerListResponsesSmitheryPage as ServerListResponsesSmitheryPage, type ServerCreateParams as ServerCreateParams, type ServerUpdateParams as ServerUpdateParams, type ServerListParams as ServerListParams, type ServerDeleteParams as ServerDeleteParams, type ServerCreateByNamespaceParams as ServerCreateByNamespaceParams, type ServerDownloadParams as ServerDownloadParams, type ServerGetParams as ServerGetParams, type ServerUpdateByNamespaceParams as ServerUpdateByNamespaceParams, };
470
- export { Deployments as Deployments, type DeployPayload as DeployPayload, type ExternalDeployPayload as ExternalDeployPayload, type HostedDeployPayload as HostedDeployPayload, type ServerCard as ServerCard, type StdioDeployPayload as StdioDeployPayload, type DeploymentListResponse as DeploymentListResponse, type DeploymentDeployResponse as DeploymentDeployResponse, type DeploymentDeployByNamespaceResponse as DeploymentDeployByNamespaceResponse, type DeploymentGetResponse as DeploymentGetResponse, type DeploymentGetByNamespaceResponse as DeploymentGetByNamespaceResponse, type DeploymentListByNamespaceResponse as DeploymentListByNamespaceResponse, type DeploymentResumeResponse as DeploymentResumeResponse, type DeploymentResumeByNamespaceResponse as DeploymentResumeByNamespaceResponse, type DeploymentStreamResponse as DeploymentStreamResponse, type DeploymentStreamByNamespaceResponse as DeploymentStreamByNamespaceResponse, type DeploymentListParams as DeploymentListParams, type DeploymentDeployParams as DeploymentDeployParams, type DeploymentDeployByNamespaceParams as DeploymentDeployByNamespaceParams, type DeploymentGetParams as DeploymentGetParams, type DeploymentGetByNamespaceParams as DeploymentGetByNamespaceParams, type DeploymentResumeParams as DeploymentResumeParams, type DeploymentResumeByNamespaceParams as DeploymentResumeByNamespaceParams, type DeploymentStreamParams as DeploymentStreamParams, type DeploymentStreamByNamespaceParams as DeploymentStreamByNamespaceParams, };
471
- export { Logs as Logs, type LogListResponse as LogListResponse, type LogListByNamespaceResponse as LogListByNamespaceResponse, type LogListParams as LogListParams, type LogListByNamespaceParams as LogListByNamespaceParams, };
472
- export { Secrets as Secrets, type SecretListResponse as SecretListResponse, type SecretDeleteResponse as SecretDeleteResponse, type SecretDeleteByNamespaceResponse as SecretDeleteByNamespaceResponse, type SecretListByNamespaceResponse as SecretListByNamespaceResponse, type SecretSetResponse as SecretSetResponse, type SecretSetByNamespaceResponse as SecretSetByNamespaceResponse, type SecretListParams as SecretListParams, type SecretDeleteParams as SecretDeleteParams, type SecretDeleteByNamespaceParams as SecretDeleteByNamespaceParams, type SecretSetParams as SecretSetParams, type SecretSetByNamespaceParams as SecretSetByNamespaceParams, };
473
- export { Repo as Repo, type RepoDeleteResponse as RepoDeleteResponse, type RepoDeleteByNamespaceResponse as RepoDeleteByNamespaceResponse, type RepoGetResponse as RepoGetResponse, type RepoGetByNamespaceResponse as RepoGetByNamespaceResponse, type RepoSetResponse as RepoSetResponse, type RepoSetByNamespaceResponse as RepoSetByNamespaceResponse, type RepoDeleteParams as RepoDeleteParams, type RepoGetParams as RepoGetParams, type RepoSetParams as RepoSetParams, type RepoSetByNamespaceParams as RepoSetByNamespaceParams, };
316
+ export { type BuildConfig as BuildConfig, type DeploymentTarget as DeploymentTarget, type ProjectConfig as ProjectConfig, type ServerCreateResponse as ServerCreateResponse, type ServerUpdateResponse as ServerUpdateResponse, type ServerListResponse as ServerListResponse, type ServerDeleteResponse as ServerDeleteResponse, type ServerGetResponse as ServerGetResponse, type ServerListResponsesSmitheryPage as ServerListResponsesSmitheryPage, type ServerCreateParams as ServerCreateParams, type ServerUpdateParams as ServerUpdateParams, type ServerListParams as ServerListParams, };
317
+ export { Deployments as Deployments, type DeployPayload as DeployPayload, type ExternalDeployPayload as ExternalDeployPayload, type HostedDeployPayload as HostedDeployPayload, type ServerCard as ServerCard, type StdioDeployPayload as StdioDeployPayload, type DeploymentListResponse as DeploymentListResponse, type DeploymentDeployResponse as DeploymentDeployResponse, type DeploymentGetResponse as DeploymentGetResponse, type DeploymentResumeResponse as DeploymentResumeResponse, type DeploymentStreamResponse as DeploymentStreamResponse, type DeploymentDeployParams as DeploymentDeployParams, type DeploymentGetParams as DeploymentGetParams, type DeploymentResumeParams as DeploymentResumeParams, type DeploymentStreamParams as DeploymentStreamParams, };
318
+ export { Logs as Logs, type LogListResponse as LogListResponse, type LogListParams as LogListParams };
319
+ export { Secrets as Secrets, type SecretListResponse as SecretListResponse, type SecretDeleteResponse as SecretDeleteResponse, type SecretSetResponse as SecretSetResponse, type SecretDeleteParams as SecretDeleteParams, type SecretSetParams as SecretSetParams, };
320
+ export { Repo as Repo, type RepoDeleteResponse as RepoDeleteResponse, type RepoGetResponse as RepoGetResponse, type RepoSetResponse as RepoSetResponse, type RepoSetParams as RepoSetParams, };
321
+ export { Domains as Domains, type DomainCreateResponse as DomainCreateResponse, type DomainUpdateResponse as DomainUpdateResponse, type DomainListResponse as DomainListResponse, type DomainDeleteResponse as DomainDeleteResponse, type DomainCreateParams as DomainCreateParams, type DomainUpdateParams as DomainUpdateParams, type DomainDeleteParams as DomainDeleteParams, };
474
322
  }
475
323
  //# sourceMappingURL=servers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"servers.d.ts","sourceRoot":"","sources":["../../src/resources/servers/servers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EACL,aAAa,EACb,iCAAiC,EACjC,mCAAmC,EACnC,sBAAsB,EACtB,wBAAwB,EACxB,8BAA8B,EAC9B,gCAAgC,EAChC,mBAAmB,EACnB,qBAAqB,EACrB,iCAAiC,EACjC,oBAAoB,EACpB,sBAAsB,EACtB,iCAAiC,EACjC,mCAAmC,EACnC,sBAAsB,EACtB,wBAAwB,EACxB,iCAAiC,EACjC,mCAAmC,EACnC,sBAAsB,EACtB,wBAAwB,EACxB,WAAW,EACX,qBAAqB,EACrB,mBAAmB,EACnB,UAAU,EACV,kBAAkB,EACnB;OACM,KAAK,OAAO;OACZ,EACL,wBAAwB,EACxB,0BAA0B,EAC1B,aAAa,EACb,eAAe,EACf,IAAI,EACL;OACM,KAAK,OAAO;OACZ,EACL,IAAI,EACJ,6BAA6B,EAC7B,gBAAgB,EAChB,kBAAkB,EAClB,0BAA0B,EAC1B,aAAa,EACb,eAAe,EACf,wBAAwB,EACxB,0BAA0B,EAC1B,aAAa,EACb,eAAe,EA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ACnC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
1
+ {"version":3,"file":"servers.d.ts","sourceRoot":"","sources":["../../src/resources/servers/servers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EACL,aAAa,EACb,sBAAsB,EACtB,wBAAwB,EACxB,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,WAAW,EACX,qBAAqB,EACrB,mBAAmB,EACnB,UAAU,EACV,kBAAkB,EACnB;OACM,KAAK,UAAU;OACf,EACL,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,OAAO,EACR;OACM,KAAK,OAAO;OACZ,EAAE,aAAa,EAAE,eAAe,EAAE,IAAI,EAAE;OACxC,KAAK,OAAO;OACZ,EAAE,IAAI,EAAE,kBAAkB,EAAE,eAAe,EAAE,aAAa,EAAE,eAAe,EAAE;OAC7E,KAAK,UAAU;OACf,EACL,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EACjB,OAAO,EACR;OACM,EAAE,UAAU,EAAE;OACd,EAAE,WAAW,EAAE,YAAY,EAAE,KAAK,kBAAkB,EAAE;OAEtD,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IACvF,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IACpD,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IACpD,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;OAQG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM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,KAAK,eAAe,IAAI,eAAe,EAAE,KAAK,aAAa,IAAI,aAAa,EAAE,CAAC;IAEtG,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;IAEF,OAAO,EACL,IAAI,IAAI,IAAI,EACZ,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,GACpC,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -6,6 +6,8 @@ const tslib_1 = require("../../internal/tslib.js");
6
6
  const resource_1 = require("../../core/resource.js");
7
7
  const DeploymentsAPI = tslib_1.__importStar(require("./deployments.js"));
8
8
  const deployments_1 = require("./deployments.js");
9
+ const DomainsAPI = tslib_1.__importStar(require("./domains.js"));
10
+ const domains_1 = require("./domains.js");
9
11
  const LogsAPI = tslib_1.__importStar(require("./logs.js"));
10
12
  const logs_1 = require("./logs.js");
11
13
  const RepoAPI = tslib_1.__importStar(require("./repo.js"));
@@ -22,35 +24,30 @@ class Servers extends resource_1.APIResource {
22
24
  this.logs = new LogsAPI.Logs(this._client);
23
25
  this.secrets = new SecretsAPI.Secrets(this._client);
24
26
  this.repo = new RepoAPI.Repo(this._client);
27
+ this.domains = new DomainsAPI.Domains(this._client);
25
28
  }
26
29
  /**
27
- * Create a new server under the specified namespace. This endpoint is idempotent -
28
- * if the server already exists and is owned by the user, returns success.
30
+ * Create a new server. Idempotent returns success if the server already exists
31
+ * and is owned by the caller.
29
32
  *
30
33
  * @example
31
34
  * ```ts
32
- * const server = await client.servers.create('server', {
33
- * namespace: 'namespace',
34
- * });
35
+ * const server = await client.servers.create('qualifiedName');
35
36
  * ```
36
37
  */
37
- create(server, params, options) {
38
- const { namespace, ...body } = params;
39
- return this._client.put((0, path_1.path) `/servers/${namespace}/${server}`, { body, ...options });
38
+ create(qualifiedName, body = {}, options) {
39
+ return this._client.put((0, path_1.path) `/servers/${qualifiedName}`, { body, ...options });
40
40
  }
41
41
  /**
42
- * Update metadata for a server by namespace and server name.
42
+ * Update server metadata such as display name, description, icon, or visibility.
43
43
  *
44
44
  * @example
45
45
  * ```ts
46
- * const server = await client.servers.update('server', {
47
- * namespace: 'namespace',
48
- * });
46
+ * const server = await client.servers.update('qualifiedName');
49
47
  * ```
50
48
  */
51
- update(server, params, options) {
52
- const { namespace, ...body } = params;
53
- return this._client.patch((0, path_1.path) `/servers/${namespace}/${server}`, { body, ...options });
49
+ update(qualifiedName, body = {}, options) {
50
+ return this._client.patch((0, path_1.path) `/servers/${qualifiedName}`, { body, ...options });
54
51
  }
55
52
  /**
56
53
  * Search and browse public MCP servers in the Smithery registry. Supports
@@ -69,97 +66,46 @@ class Servers extends resource_1.APIResource {
69
66
  return this._client.getAPIList('/servers', (pagination_1.SmitheryPage), { query, ...options });
70
67
  }
71
68
  /**
72
- * Delete a server by namespace and server name.
69
+ * Permanently delete a server, its releases, and associated resources.
73
70
  *
74
71
  * @example
75
72
  * ```ts
76
- * const server = await client.servers.delete('server', {
77
- * namespace: 'namespace',
78
- * });
73
+ * const server = await client.servers.delete('qualifiedName');
79
74
  * ```
80
75
  */
81
- delete(server, params, options) {
82
- const { namespace } = params;
83
- return this._client.delete((0, path_1.path) `/servers/${namespace}/${server}`, options);
76
+ delete(qualifiedName, options) {
77
+ return this._client.delete((0, path_1.path) `/servers/${qualifiedName}`, options);
84
78
  }
85
79
  /**
86
- * Create a namespace-only server where the namespace is also the server
87
- * identifier. This endpoint is idempotent - if the server already exists and is
88
- * owned by the user, returns success.
80
+ * Download the MCPB bundle for the latest successful stdio release.
89
81
  *
90
82
  * @example
91
83
  * ```ts
92
- * const response = await client.servers.createByNamespace(
93
- * 'namespace',
84
+ * const response = await client.servers.download(
85
+ * 'qualifiedName',
94
86
  * );
95
- * ```
96
- */
97
- createByNamespace(namespace, body = {}, options) {
98
- return this._client.put((0, path_1.path) `/servers/${namespace}`, { body, ...options });
99
- }
100
- /**
101
- * Download the MCPB bundle for the latest successful stdio deployment
102
- *
103
- * @example
104
- * ```ts
105
- * const response = await client.servers.download('server', {
106
- * namespace: 'namespace',
107
- * });
108
87
  *
109
88
  * const content = await response.blob();
110
89
  * console.log(content);
111
90
  * ```
112
91
  */
113
- download(server, params, options) {
114
- const { namespace } = params;
115
- return this._client.get((0, path_1.path) `/servers/${namespace}/${server}/download`, {
92
+ download(qualifiedName, options) {
93
+ return this._client.get((0, path_1.path) `/servers/${qualifiedName}/download`, {
116
94
  ...options,
117
95
  headers: (0, headers_1.buildHeaders)([{ Accept: 'application/zip' }, options?.headers]),
118
96
  __binaryResponse: true,
119
97
  });
120
98
  }
121
99
  /**
122
- * Get a single server by its namespace and server name.
100
+ * Retrieve server details including connections, tools, and security status.
123
101
  *
124
102
  * @example
125
103
  * ```ts
126
- * const server = await client.servers.get('server', {
127
- * namespace: 'namespace',
128
- * });
129
- * ```
130
- */
131
- get(server, params, options) {
132
- const { namespace } = params;
133
- return this._client.get((0, path_1.path) `/servers/${namespace}/${server}`, options);
134
- }
135
- /**
136
- * Get a server by namespace name. Used for namespace-only servers where the
137
- * namespace name is also the server name. Also handles deprecated encoded
138
- * patterns.
139
- *
140
- * @example
141
- * ```ts
142
- * const response = await client.servers.getByNamespace(
143
- * 'namespace',
144
- * );
145
- * ```
146
- */
147
- getByNamespace(namespace, options) {
148
- return this._client.get((0, path_1.path) `/servers/${namespace}`, options);
149
- }
150
- /**
151
- * Update metadata for a namespace-only server where the namespace is also the
152
- * server identifier.
153
- *
154
- * @example
155
- * ```ts
156
- * const response = await client.servers.updateByNamespace(
157
- * 'namespace',
158
- * );
104
+ * const server = await client.servers.get('qualifiedName');
159
105
  * ```
160
106
  */
161
- updateByNamespace(namespace, body = {}, options) {
162
- return this._client.patch((0, path_1.path) `/servers/${namespace}`, { body, ...options });
107
+ get(qualifiedName, options) {
108
+ return this._client.get((0, path_1.path) `/servers/${qualifiedName}`, options);
163
109
  }
164
110
  }
165
111
  exports.Servers = Servers;
@@ -167,4 +113,5 @@ Servers.Deployments = deployments_1.Deployments;
167
113
  Servers.Logs = logs_1.Logs;
168
114
  Servers.Secrets = secrets_1.Secrets;
169
115
  Servers.Repo = repo_1.Repo;
116
+ Servers.Domains = domains_1.Domains;
170
117
  //# sourceMappingURL=servers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"servers.js","sourceRoot":"","sources":["../../src/resources/servers/servers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,yEAAgD;AAChD,kDA0BuB;AACvB,2DAAkC;AAClC,oCAMgB;AAChB,2DAAkC;AAClC,oCAYgB;AAChB,iEAAwC;AACxC,0CAamB;AAEnB,yDAA2F;AAC3F,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC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