@composio/client 0.1.0-alpha.11 → 0.1.0-alpha.13

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 (143) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +7 -7
  3. package/client.d.mts +7 -4
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +7 -4
  6. package/client.d.ts.map +1 -1
  7. package/client.js +3 -0
  8. package/client.js.map +1 -1
  9. package/client.mjs +3 -0
  10. package/client.mjs.map +1 -1
  11. package/package.json +1 -1
  12. package/resources/auth/auth.d.mts +10 -0
  13. package/resources/auth/auth.d.mts.map +1 -0
  14. package/resources/auth/auth.d.ts +10 -0
  15. package/resources/auth/auth.d.ts.map +1 -0
  16. package/resources/auth/auth.js +17 -0
  17. package/resources/auth/auth.js.map +1 -0
  18. package/resources/auth/auth.mjs +12 -0
  19. package/resources/auth/auth.mjs.map +1 -0
  20. package/resources/auth/index.d.mts +3 -0
  21. package/resources/auth/index.d.mts.map +1 -0
  22. package/resources/auth/index.d.ts +3 -0
  23. package/resources/auth/index.d.ts.map +1 -0
  24. package/resources/auth/index.js +9 -0
  25. package/resources/auth/index.js.map +1 -0
  26. package/resources/auth/index.mjs +4 -0
  27. package/resources/auth/index.mjs.map +1 -0
  28. package/resources/auth/session.d.mts +240 -0
  29. package/resources/auth/session.d.mts.map +1 -0
  30. package/resources/auth/session.d.ts +240 -0
  31. package/resources/auth/session.d.ts.map +1 -0
  32. package/resources/auth/session.js +19 -0
  33. package/resources/auth/session.js.map +1 -0
  34. package/resources/auth/session.mjs +15 -0
  35. package/resources/auth/session.mjs.map +1 -0
  36. package/resources/auth-configs.d.mts +5 -5
  37. package/resources/auth-configs.d.mts.map +1 -1
  38. package/resources/auth-configs.d.ts +5 -5
  39. package/resources/auth-configs.d.ts.map +1 -1
  40. package/resources/auth.d.mts +2 -0
  41. package/resources/auth.d.mts.map +1 -0
  42. package/resources/auth.d.ts +2 -0
  43. package/resources/auth.d.ts.map +1 -0
  44. package/resources/auth.js +6 -0
  45. package/resources/auth.js.map +1 -0
  46. package/resources/auth.mjs +3 -0
  47. package/resources/auth.mjs.map +1 -0
  48. package/resources/files.d.mts +16 -0
  49. package/resources/files.d.mts.map +1 -1
  50. package/resources/files.d.ts +16 -0
  51. package/resources/files.d.ts.map +1 -1
  52. package/resources/index.d.mts +3 -2
  53. package/resources/index.d.mts.map +1 -1
  54. package/resources/index.d.ts +3 -2
  55. package/resources/index.d.ts.map +1 -1
  56. package/resources/index.js +3 -1
  57. package/resources/index.js.map +1 -1
  58. package/resources/index.mjs +1 -0
  59. package/resources/index.mjs.map +1 -1
  60. package/resources/mcp/custom.d.mts +87 -0
  61. package/resources/mcp/custom.d.mts.map +1 -0
  62. package/resources/mcp/custom.d.ts +87 -0
  63. package/resources/mcp/custom.d.ts.map +1 -0
  64. package/resources/mcp/custom.js +26 -0
  65. package/resources/mcp/custom.js.map +1 -0
  66. package/resources/mcp/custom.mjs +22 -0
  67. package/resources/mcp/custom.mjs.map +1 -0
  68. package/resources/mcp/index.d.mts +2 -2
  69. package/resources/mcp/index.d.mts.map +1 -1
  70. package/resources/mcp/index.d.ts +2 -2
  71. package/resources/mcp/index.d.ts.map +1 -1
  72. package/resources/mcp/index.js +3 -3
  73. package/resources/mcp/index.js.map +1 -1
  74. package/resources/mcp/index.mjs +1 -1
  75. package/resources/mcp/index.mjs.map +1 -1
  76. package/resources/mcp/mcp.d.mts +193 -85
  77. package/resources/mcp/mcp.d.mts.map +1 -1
  78. package/resources/mcp/mcp.d.ts +193 -85
  79. package/resources/mcp/mcp.d.ts.map +1 -1
  80. package/resources/mcp/mcp.js +37 -26
  81. package/resources/mcp/mcp.js.map +1 -1
  82. package/resources/mcp/mcp.mjs +37 -26
  83. package/resources/mcp/mcp.mjs.map +1 -1
  84. package/resources/org/project/api-keys.d.mts +17 -2
  85. package/resources/org/project/api-keys.d.mts.map +1 -1
  86. package/resources/org/project/api-keys.d.ts +17 -2
  87. package/resources/org/project/api-keys.d.ts.map +1 -1
  88. package/resources/team-members.d.mts +7 -7
  89. package/resources/team-members.d.mts.map +1 -1
  90. package/resources/team-members.d.ts +7 -7
  91. package/resources/team-members.d.ts.map +1 -1
  92. package/resources/tools.d.mts +6 -6
  93. package/resources/tools.d.mts.map +1 -1
  94. package/resources/tools.d.ts +6 -6
  95. package/resources/tools.d.ts.map +1 -1
  96. package/resources/tools.js +6 -6
  97. package/resources/tools.js.map +1 -1
  98. package/resources/tools.mjs +6 -6
  99. package/resources/tools.mjs.map +1 -1
  100. package/resources/trigger-instances/index.d.mts +1 -1
  101. package/resources/trigger-instances/index.d.mts.map +1 -1
  102. package/resources/trigger-instances/index.d.ts +1 -1
  103. package/resources/trigger-instances/index.d.ts.map +1 -1
  104. package/resources/trigger-instances/index.js.map +1 -1
  105. package/resources/trigger-instances/index.mjs.map +1 -1
  106. package/resources/trigger-instances/trigger-instances.d.mts +77 -7
  107. package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
  108. package/resources/trigger-instances/trigger-instances.d.ts +77 -7
  109. package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
  110. package/resources/trigger-instances/trigger-instances.js +7 -0
  111. package/resources/trigger-instances/trigger-instances.js.map +1 -1
  112. package/resources/trigger-instances/trigger-instances.mjs +7 -0
  113. package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
  114. package/src/client.ts +19 -4
  115. package/src/resources/auth/auth.ts +15 -0
  116. package/src/resources/auth/index.ts +4 -0
  117. package/src/resources/auth/session.ts +292 -0
  118. package/src/resources/auth-configs.ts +5 -5
  119. package/src/resources/auth.ts +3 -0
  120. package/src/resources/files.ts +19 -0
  121. package/src/resources/index.ts +8 -2
  122. package/src/resources/mcp/custom.ts +103 -0
  123. package/src/resources/mcp/index.ts +5 -3
  124. package/src/resources/mcp/mcp.ts +228 -102
  125. package/src/resources/org/project/api-keys.ts +20 -2
  126. package/src/resources/team-members.ts +7 -7
  127. package/src/resources/tools.ts +8 -8
  128. package/src/resources/trigger-instances/index.ts +3 -0
  129. package/src/resources/trigger-instances/trigger-instances.ts +103 -6
  130. package/src/version.ts +1 -1
  131. package/version.d.mts +1 -1
  132. package/version.d.ts +1 -1
  133. package/version.js +1 -1
  134. package/version.mjs +1 -1
  135. package/resources/mcp/command.d.mts +0 -4
  136. package/resources/mcp/command.d.mts.map +0 -1
  137. package/resources/mcp/command.d.ts +0 -4
  138. package/resources/mcp/command.d.ts.map +0 -1
  139. package/resources/mcp/command.js +0 -9
  140. package/resources/mcp/command.js.map +0 -1
  141. package/resources/mcp/command.mjs +0 -5
  142. package/resources/mcp/command.mjs.map +0 -1
  143. package/src/resources/mcp/command.ts +0 -5
@@ -1,10 +1,26 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
- import * as CommandAPI from "./command.mjs";
3
- import { Command } from "./command.mjs";
2
+ import * as CustomAPI from "./custom.mjs";
3
+ import { Custom, CustomCreateParams, CustomCreateResponse } from "./custom.mjs";
4
4
  import { APIPromise } from "../../core/api-promise.mjs";
5
5
  import { RequestOptions } from "../../internal/request-options.mjs";
6
6
  export declare class Mcp extends APIResource {
7
- command: CommandAPI.Command;
7
+ custom: CustomAPI.Custom;
8
+ /**
9
+ * Creates a new Model Control Protocol (MCP) server instance for the authenticated
10
+ * project. An MCP server provides a connection point for AI assistants to access
11
+ * your applications and services. The server is configured with specific
12
+ * authentication and tool permissions that determine what actions the connected
13
+ * assistants can perform.
14
+ *
15
+ * @example
16
+ * ```ts
17
+ * const mcp = await client.mcp.create({
18
+ * name: 'GitHub Integration Server',
19
+ * auth_config_id: 'auth_cfg_abc123def456',
20
+ * });
21
+ * ```
22
+ */
23
+ create(body: McpCreateParams, options?: RequestOptions): APIPromise<McpCreateResponse>;
8
24
  /**
9
25
  * Retrieves detailed configuration information for a specific Model Control
10
26
  * Protocol (MCP) server. The returned data includes connection details, associated
@@ -32,6 +48,19 @@ export declare class Mcp extends APIResource {
32
48
  * ```
33
49
  */
34
50
  update(id: string, body?: McpUpdateParams | null | undefined, options?: RequestOptions): APIPromise<McpUpdateResponse>;
51
+ /**
52
+ * Retrieves a paginated list of MCP servers associated with the authenticated
53
+ * project. Results can be filtered by name, toolkit, or authentication
54
+ * configuration ID. MCP servers are used to provide Model Control Protocol
55
+ * integration points for connecting AI assistants to your applications and
56
+ * services.
57
+ *
58
+ * @example
59
+ * ```ts
60
+ * const mcps = await client.mcp.list();
61
+ * ```
62
+ */
63
+ list(query?: McpListParams | null | undefined, options?: RequestOptions): APIPromise<McpListResponse>;
35
64
  /**
36
65
  * Performs a soft delete on a Model Control Protocol (MCP) server, making it
37
66
  * unavailable for future use. This operation is reversible in the database but
@@ -58,21 +87,64 @@ export declare class Mcp extends APIResource {
58
87
  * ```
59
88
  */
60
89
  retrieveApp(appKey: string, query?: McpRetrieveAppParams | null | undefined, options?: RequestOptions): APIPromise<McpRetrieveAppResponse>;
90
+ }
91
+ /**
92
+ * MCP server configuration and connection details
93
+ */
94
+ export interface McpCreateResponse {
61
95
  /**
62
- * Admin-only endpoint that validates a Model Control Protocol (MCP) server and
63
- * retrieves its complete configuration details, including authentication
64
- * information. This endpoint is typically used by the MCP service itself to
65
- * authenticate and authorize connection requests from clients.
66
- *
67
- * @example
68
- * ```ts
69
- * const response = await client.mcp.validate(
70
- * '550e8400-e29b-41d4-a716-446655440000',
71
- * { 'x-composio-admin-token': 'admin_tk_12345abcdef' },
72
- * );
73
- * ```
96
+ * UUID of the MCP server instance
97
+ */
98
+ id: string;
99
+ /**
100
+ * Array of tool slugs that this MCP server is allowed to use
101
+ */
102
+ allowed_tools: Array<string>;
103
+ /**
104
+ * ID reference to the auth configuration used by this server
105
+ */
106
+ auth_config_id: string;
107
+ /**
108
+ * Set of command line instructions for connecting various clients to this MCP
109
+ * server
110
+ */
111
+ commands: McpCreateResponse.Commands;
112
+ /**
113
+ * Date and time when this server was initially created
114
+ */
115
+ created_at: string;
116
+ /**
117
+ * URL endpoint for establishing SSE connection to this MCP server
118
+ */
119
+ mcp_url: string;
120
+ /**
121
+ * User-defined descriptive name for this MCP server
122
+ */
123
+ name: string;
124
+ /**
125
+ * Date and time when this server configuration was last modified
74
126
  */
75
- validate(uuid: string, params: McpValidateParams, options?: RequestOptions): APIPromise<McpValidateResponse>;
127
+ updated_at: string;
128
+ }
129
+ export declare namespace McpCreateResponse {
130
+ /**
131
+ * Set of command line instructions for connecting various clients to this MCP
132
+ * server
133
+ */
134
+ interface Commands {
135
+ /**
136
+ * Command line instruction for Claude client setup
137
+ */
138
+ claude: string;
139
+ /**
140
+ * Command line instruction for Cursor client setup
141
+ */
142
+ cursor: string;
143
+ /**
144
+ * Command line instruction for Windsurf client setup
145
+ */
146
+ windsurf: string;
147
+ }
76
148
  }
77
149
  /**
78
150
  * MCP server configuration and connection details
@@ -198,19 +270,10 @@ export declare namespace McpUpdateResponse {
198
270
  windsurf: string;
199
271
  }
200
272
  }
201
- /**
202
- * Response indicating the success of the delete operation
203
- */
204
- export interface McpDeleteResponse {
205
- /**
206
- * Indicates whether the MCP server was successfully deleted
207
- */
208
- success: boolean;
209
- }
210
273
  /**
211
274
  * Paginated response containing MCP servers
212
275
  */
213
- export interface McpRetrieveAppResponse {
276
+ export interface McpListResponse {
214
277
  /**
215
278
  * Current page number being returned
216
279
  */
@@ -218,13 +281,13 @@ export interface McpRetrieveAppResponse {
218
281
  /**
219
282
  * Array of MCP server configurations
220
283
  */
221
- items: Array<McpRetrieveAppResponse.Item>;
284
+ items: Array<McpListResponse.Item>;
222
285
  /**
223
286
  * Total number of pages in the paginated response
224
287
  */
225
288
  total_pages: string;
226
289
  }
227
- export declare namespace McpRetrieveAppResponse {
290
+ export declare namespace McpListResponse {
228
291
  /**
229
292
  * MCP server configuration and connection details
230
293
  */
@@ -285,81 +348,110 @@ export declare namespace McpRetrieveAppResponse {
285
348
  }
286
349
  }
287
350
  /**
288
- * Complete validation and connection details for an MCP server
351
+ * Response indicating the success of the delete operation
289
352
  */
290
- export interface McpValidateResponse {
291
- /**
292
- * Unique identifier of the validated MCP server
293
- */
294
- id: string;
295
- /**
296
- * Client information for the MCP server
297
- */
298
- client: McpValidateResponse.Client;
299
- /**
300
- * Human-readable name of the MCP server
301
- */
302
- name: string;
303
- /**
304
- * URL endpoint for connecting to this MCP server
305
- */
306
- url: string;
307
- /**
308
- * User authentication data for the MCP server
309
- */
310
- userData: McpValidateResponse.UserData;
311
- /**
312
- * List of action identifiers enabled for this server
313
- */
314
- actions?: Array<string> | null;
353
+ export interface McpDeleteResponse {
315
354
  /**
316
- * List of application identifiers this server is configured for
355
+ * Indicates whether the MCP server was successfully deleted
317
356
  */
318
- apps?: Array<string>;
357
+ success: boolean;
358
+ }
359
+ /**
360
+ * Paginated response containing MCP servers
361
+ */
362
+ export interface McpRetrieveAppResponse {
319
363
  /**
320
- * List of connected account identifiers this server can use for authentication
364
+ * Current page number being returned
321
365
  */
322
- connectedAccountIds?: Array<string> | null;
366
+ current_page: string;
323
367
  /**
324
- * Flag indicating if this server uses custom authentication headers
368
+ * Array of MCP server configurations
325
369
  */
326
- customAuthHeaders?: boolean;
370
+ items: Array<McpRetrieveAppResponse.Item>;
327
371
  /**
328
- * List of entity identifiers this MCP server can interact with
372
+ * Total number of pages in the paginated response
329
373
  */
330
- entityIds?: Array<string> | null;
374
+ total_pages: string;
331
375
  }
332
- export declare namespace McpValidateResponse {
376
+ export declare namespace McpRetrieveAppResponse {
333
377
  /**
334
- * Client information for the MCP server
378
+ * MCP server configuration and connection details
335
379
  */
336
- interface Client {
380
+ interface Item {
337
381
  /**
338
- * Project identifier that owns this MCP server
382
+ * UUID of the MCP server instance
339
383
  */
340
384
  id: string;
341
385
  /**
342
- * Organization identifier that owns the project
386
+ * Array of tool slugs that this MCP server is allowed to use
343
387
  */
344
- orgId: string;
345
- }
346
- /**
347
- * User authentication data for the MCP server
348
- */
349
- interface UserData {
388
+ allowed_tools: Array<string>;
350
389
  /**
351
- * User identifier for API access
390
+ * ID reference to the auth configuration used by this server
352
391
  */
353
- id: string;
392
+ auth_config_id: string;
393
+ /**
394
+ * Set of command line instructions for connecting various clients to this MCP
395
+ * server
396
+ */
397
+ commands: Item.Commands;
398
+ /**
399
+ * Date and time when this server was initially created
400
+ */
401
+ created_at: string;
402
+ /**
403
+ * URL endpoint for establishing SSE connection to this MCP server
404
+ */
405
+ mcp_url: string;
354
406
  /**
355
- * API key for authenticating requests to the Composio API
407
+ * User-defined descriptive name for this MCP server
356
408
  */
357
- apiKey: string;
409
+ name: string;
358
410
  /**
359
- * Email address associated with the API key user
411
+ * Date and time when this server configuration was last modified
360
412
  */
361
- email: string;
413
+ updated_at: string;
362
414
  }
415
+ namespace Item {
416
+ /**
417
+ * Set of command line instructions for connecting various clients to this MCP
418
+ * server
419
+ */
420
+ interface Commands {
421
+ /**
422
+ * Command line instruction for Claude client setup
423
+ */
424
+ claude: string;
425
+ /**
426
+ * Command line instruction for Cursor client setup
427
+ */
428
+ cursor: string;
429
+ /**
430
+ * Command line instruction for Windsurf client setup
431
+ */
432
+ windsurf: string;
433
+ }
434
+ }
435
+ }
436
+ export interface McpCreateParams {
437
+ /**
438
+ * Human-readable name to identify this MCP server instance (4-25 characters,
439
+ * alphanumeric and hyphens only)
440
+ */
441
+ name: string;
442
+ /**
443
+ * List of tool slugs that should be allowed for this server. If not provided, all
444
+ * available tools for the authentication configuration will be enabled.
445
+ */
446
+ allowed_tools?: Array<string>;
447
+ /**
448
+ * ID reference to an existing authentication configuration
449
+ */
450
+ auth_config_id?: string;
451
+ /**
452
+ * Time-to-live duration for this MCP server
453
+ */
454
+ ttl?: '1d' | '3d' | '1 month' | 'no expiration';
363
455
  }
364
456
  export interface McpUpdateParams {
365
457
  /**
@@ -376,7 +468,7 @@ export interface McpUpdateParams {
376
468
  */
377
469
  name?: string;
378
470
  }
379
- export interface McpRetrieveAppParams {
471
+ export interface McpListParams {
380
472
  /**
381
473
  * Filter MCP servers by authentication configuration ID
382
474
  */
@@ -398,14 +490,30 @@ export interface McpRetrieveAppParams {
398
490
  */
399
491
  toolkit?: string;
400
492
  }
401
- export interface McpValidateParams {
493
+ export interface McpRetrieveAppParams {
494
+ /**
495
+ * Filter MCP servers by authentication configuration ID
496
+ */
497
+ auth_config_id?: string;
498
+ /**
499
+ * Number of items per page (default: 10)
500
+ */
501
+ limit?: number | null;
502
+ /**
503
+ * Filter MCP servers by name (case-insensitive partial match)
504
+ */
505
+ name?: string;
402
506
  /**
403
- * Administrative access token required for validating MCP servers
507
+ * Page number for pagination (1-based)
508
+ */
509
+ page_no?: number | null;
510
+ /**
511
+ * Filter MCP servers by toolkit slug
404
512
  */
405
- 'x-composio-admin-token': string;
513
+ toolkit?: string;
406
514
  }
407
515
  export declare namespace Mcp {
408
- export { type McpRetrieveResponse as McpRetrieveResponse, type McpUpdateResponse as McpUpdateResponse, type McpDeleteResponse as McpDeleteResponse, type McpRetrieveAppResponse as McpRetrieveAppResponse, type McpValidateResponse as McpValidateResponse, type McpUpdateParams as McpUpdateParams, type McpRetrieveAppParams as McpRetrieveAppParams, type McpValidateParams as McpValidateParams, };
409
- export { Command as Command };
516
+ export { type McpCreateResponse as McpCreateResponse, type McpRetrieveResponse as McpRetrieveResponse, type McpUpdateResponse as McpUpdateResponse, type McpListResponse as McpListResponse, type McpDeleteResponse as McpDeleteResponse, type McpRetrieveAppResponse as McpRetrieveAppResponse, type McpCreateParams as McpCreateParams, type McpUpdateParams as McpUpdateParams, type McpListParams as McpListParams, type McpRetrieveAppParams as McpRetrieveAppParams, };
517
+ export { Custom as Custom, type CustomCreateResponse as CustomCreateResponse, type CustomCreateParams as CustomCreateParams, };
410
518
  }
411
519
  //# sourceMappingURL=mcp.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mcp.d.mts","sourceRoot":"","sources":["../../src/resources/mcp/mcp.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,OAAO,EAAE;OACX,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qB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