@composio/client 0.1.0-alpha.10 → 0.1.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -0
- package/README.md +7 -7
- package/client.d.mts +6 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -6
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/auth-configs.d.mts +168 -29
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +168 -29
- package/resources/auth-configs.d.ts.map +1 -1
- package/resources/auth-configs.js +50 -4
- package/resources/auth-configs.js.map +1 -1
- package/resources/auth-configs.mjs +50 -4
- package/resources/auth-configs.mjs.map +1 -1
- package/resources/connected-accounts.d.mts +80 -17
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +80 -17
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/connected-accounts.js +56 -4
- package/resources/connected-accounts.js.map +1 -1
- package/resources/connected-accounts.mjs +56 -4
- package/resources/connected-accounts.mjs.map +1 -1
- package/resources/files.d.mts +72 -23
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +72 -23
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +20 -2
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +20 -2
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +3 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/mcp/custom.d.mts +87 -0
- package/resources/mcp/custom.d.mts.map +1 -0
- package/resources/mcp/custom.d.ts +87 -0
- package/resources/mcp/custom.d.ts.map +1 -0
- package/resources/mcp/custom.js +26 -0
- package/resources/mcp/custom.js.map +1 -0
- package/resources/mcp/custom.mjs +22 -0
- package/resources/mcp/custom.mjs.map +1 -0
- package/resources/mcp/index.d.mts +2 -2
- package/resources/mcp/index.d.mts.map +1 -1
- package/resources/mcp/index.d.ts +2 -2
- package/resources/mcp/index.d.ts.map +1 -1
- package/resources/mcp/index.js +3 -3
- package/resources/mcp/index.js.map +1 -1
- package/resources/mcp/index.mjs +1 -1
- package/resources/mcp/index.mjs.map +1 -1
- package/resources/mcp/mcp.d.mts +322 -217
- package/resources/mcp/mcp.d.mts.map +1 -1
- package/resources/mcp/mcp.d.ts +322 -217
- package/resources/mcp/mcp.d.ts.map +1 -1
- package/resources/mcp/mcp.js +72 -25
- package/resources/mcp/mcp.js.map +1 -1
- package/resources/mcp/mcp.mjs +72 -25
- package/resources/mcp/mcp.mjs.map +1 -1
- package/resources/migration.d.mts +11 -2
- package/resources/migration.d.mts.map +1 -1
- package/resources/migration.d.ts +11 -2
- package/resources/migration.d.ts.map +1 -1
- package/resources/migration.js +3 -1
- package/resources/migration.js.map +1 -1
- package/resources/migration.mjs +3 -1
- package/resources/migration.mjs.map +1 -1
- package/resources/org/api-key.d.mts +23 -2
- package/resources/org/api-key.d.mts.map +1 -1
- package/resources/org/api-key.d.ts +23 -2
- package/resources/org/api-key.d.ts.map +1 -1
- package/resources/org/api-key.js +15 -2
- package/resources/org/api-key.js.map +1 -1
- package/resources/org/api-key.mjs +15 -2
- package/resources/org/api-key.mjs.map +1 -1
- package/resources/org/project/api-keys.d.mts +114 -22
- package/resources/org/project/api-keys.d.mts.map +1 -1
- package/resources/org/project/api-keys.d.ts +114 -22
- package/resources/org/project/api-keys.d.ts.map +1 -1
- package/resources/org/project/api-keys.js +57 -0
- package/resources/org/project/api-keys.js.map +1 -1
- package/resources/org/project/api-keys.mjs +57 -0
- package/resources/org/project/api-keys.mjs.map +1 -1
- package/resources/org/project/project.d.mts +176 -4
- package/resources/org/project/project.d.mts.map +1 -1
- package/resources/org/project/project.d.ts +176 -4
- package/resources/org/project/project.d.ts.map +1 -1
- package/resources/org/project/project.js +46 -3
- package/resources/org/project/project.js.map +1 -1
- package/resources/org/project/project.mjs +46 -3
- package/resources/org/project/project.mjs.map +1 -1
- package/resources/org/project/trigger.d.mts +101 -1
- package/resources/org/project/trigger.d.mts.map +1 -1
- package/resources/org/project/trigger.d.ts +101 -1
- package/resources/org/project/trigger.d.ts.map +1 -1
- package/resources/org/project/trigger.js +21 -0
- package/resources/org/project/trigger.js.map +1 -1
- package/resources/org/project/trigger.mjs +21 -0
- package/resources/org/project/trigger.mjs.map +1 -1
- package/resources/org/project/webhook.d.mts +86 -15
- package/resources/org/project/webhook.d.mts.map +1 -1
- package/resources/org/project/webhook.d.ts +86 -15
- package/resources/org/project/webhook.d.ts.map +1 -1
- package/resources/org/project/webhook.js +49 -2
- package/resources/org/project/webhook.js.map +1 -1
- package/resources/org/project/webhook.mjs +49 -2
- package/resources/org/project/webhook.mjs.map +1 -1
- package/resources/team-members.d.mts +7 -7
- package/resources/team-members.d.mts.map +1 -1
- package/resources/team-members.d.ts +7 -7
- package/resources/team-members.d.ts.map +1 -1
- package/resources/toolkits.d.mts +195 -7
- package/resources/toolkits.d.mts.map +1 -1
- package/resources/toolkits.d.ts +195 -7
- package/resources/toolkits.d.ts.map +1 -1
- package/resources/toolkits.js +14 -6
- package/resources/toolkits.js.map +1 -1
- package/resources/toolkits.mjs +14 -6
- package/resources/toolkits.mjs.map +1 -1
- package/resources/tools.d.mts +211 -44
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +211 -44
- package/resources/tools.d.ts.map +1 -1
- package/resources/tools.js +62 -9
- package/resources/tools.js.map +1 -1
- package/resources/tools.mjs +62 -9
- package/resources/tools.mjs.map +1 -1
- package/resources/trigger-instances/index.d.mts +1 -1
- package/resources/trigger-instances/index.d.mts.map +1 -1
- package/resources/trigger-instances/index.d.ts +1 -1
- package/resources/trigger-instances/index.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.mts +86 -19
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.ts +86 -19
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.js +6 -6
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs +6 -6
- package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
- package/resources/triggers-types.d.mts +96 -2
- package/resources/triggers-types.d.mts.map +1 -1
- package/resources/triggers-types.d.ts +96 -2
- package/resources/triggers-types.d.ts.map +1 -1
- package/resources/triggers-types.js +23 -1
- package/resources/triggers-types.js.map +1 -1
- package/resources/triggers-types.mjs +23 -1
- package/resources/triggers-types.mjs.map +1 -1
- package/src/client.ts +6 -6
- package/src/resources/auth-configs.ts +169 -29
- package/src/resources/connected-accounts.ts +80 -17
- package/src/resources/files.ts +75 -23
- package/src/resources/index.ts +3 -3
- package/src/resources/mcp/custom.ts +103 -0
- package/src/resources/mcp/index.ts +2 -3
- package/src/resources/mcp/mcp.ts +342 -256
- package/src/resources/migration.ts +11 -2
- package/src/resources/org/api-key.ts +23 -2
- package/src/resources/org/project/api-keys.ts +117 -22
- package/src/resources/org/project/project.ts +176 -4
- package/src/resources/org/project/trigger.ts +101 -1
- package/src/resources/org/project/webhook.ts +86 -15
- package/src/resources/team-members.ts +7 -7
- package/src/resources/toolkits.ts +200 -7
- package/src/resources/tools.ts +213 -46
- package/src/resources/trigger-instances/index.ts +1 -1
- package/src/resources/trigger-instances/trigger-instances.ts +106 -25
- package/src/resources/triggers-types.ts +96 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/mcp/command.d.mts +0 -37
- package/resources/mcp/command.d.mts.map +0 -1
- package/resources/mcp/command.d.ts +0 -37
- package/resources/mcp/command.d.ts.map +0 -1
- package/resources/mcp/command.js +0 -15
- package/resources/mcp/command.js.map +0 -1
- package/resources/mcp/command.mjs +0 -11
- package/resources/mcp/command.mjs.map +0 -1
- package/src/resources/mcp/command.ts +0 -50
package/resources/mcp/mcp.d.mts
CHANGED
|
@@ -1,92 +1,174 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import {
|
|
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
|
-
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
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
|
+
* ```
|
|
10
22
|
*/
|
|
11
23
|
create(body: McpCreateParams, options?: RequestOptions): APIPromise<McpCreateResponse>;
|
|
12
24
|
/**
|
|
13
|
-
*
|
|
25
|
+
* Retrieves detailed configuration information for a specific Model Control
|
|
26
|
+
* Protocol (MCP) server. The returned data includes connection details, associated
|
|
27
|
+
* applications, enabled tools, and authentication configuration.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const mcp = await client.mcp.retrieve(
|
|
32
|
+
* '550e8400-e29b-41d4-a716-446655440000',
|
|
33
|
+
* );
|
|
34
|
+
* ```
|
|
14
35
|
*/
|
|
15
36
|
retrieve(id: string, options?: RequestOptions): APIPromise<McpRetrieveResponse>;
|
|
16
37
|
/**
|
|
17
|
-
*
|
|
38
|
+
* Updates the configuration of an existing Model Control Protocol (MCP) server.
|
|
39
|
+
* You can modify the server name, associated applications, and enabled tools. Only
|
|
40
|
+
* the fields included in the request will be updated.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```ts
|
|
44
|
+
* const mcp = await client.mcp.update(
|
|
45
|
+
* '550e8400-e29b-41d4-a716-446655440000',
|
|
46
|
+
* { name: 'Updated GitHub Integration Server' },
|
|
47
|
+
* );
|
|
48
|
+
* ```
|
|
18
49
|
*/
|
|
19
50
|
update(id: string, body?: McpUpdateParams | null | undefined, options?: RequestOptions): APIPromise<McpUpdateResponse>;
|
|
20
51
|
/**
|
|
21
|
-
*
|
|
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
|
+
* ```
|
|
22
62
|
*/
|
|
23
63
|
list(query?: McpListParams | null | undefined, options?: RequestOptions): APIPromise<McpListResponse>;
|
|
24
64
|
/**
|
|
25
|
-
*
|
|
65
|
+
* Performs a soft delete on a Model Control Protocol (MCP) server, making it
|
|
66
|
+
* unavailable for future use. This operation is reversible in the database but
|
|
67
|
+
* cannot be undone through the API. Any applications or services connected to this
|
|
68
|
+
* server will lose access after deletion.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* ```ts
|
|
72
|
+
* const mcp = await client.mcp.delete(
|
|
73
|
+
* '550e8400-e29b-41d4-a716-446655440000',
|
|
74
|
+
* );
|
|
75
|
+
* ```
|
|
26
76
|
*/
|
|
27
77
|
delete(id: string, options?: RequestOptions): APIPromise<McpDeleteResponse>;
|
|
28
78
|
/**
|
|
29
|
-
*
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
*
|
|
34
|
-
|
|
35
|
-
|
|
79
|
+
* Retrieves a paginated list of Model Control Protocol (MCP) servers that are
|
|
80
|
+
* configured for a specific application or toolkit. This endpoint allows you to
|
|
81
|
+
* find all MCP server instances that have access to a particular application, such
|
|
82
|
+
* as GitHub, Slack, or Jira.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* ```ts
|
|
86
|
+
* const response = await client.mcp.retrieveApp('github');
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
retrieveApp(appKey: string, query?: McpRetrieveAppParams | null | undefined, options?: RequestOptions): APIPromise<McpRetrieveAppResponse>;
|
|
36
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* MCP server configuration and connection details
|
|
93
|
+
*/
|
|
37
94
|
export interface McpCreateResponse {
|
|
38
95
|
/**
|
|
39
|
-
*
|
|
96
|
+
* UUID of the MCP server instance
|
|
40
97
|
*/
|
|
41
98
|
id: string;
|
|
42
99
|
/**
|
|
43
|
-
*
|
|
100
|
+
* Array of tool slugs that this MCP server is allowed to use
|
|
44
101
|
*/
|
|
45
|
-
|
|
102
|
+
allowed_tools: Array<string>;
|
|
46
103
|
/**
|
|
47
|
-
*
|
|
104
|
+
* ID reference to the auth configuration used by this server
|
|
48
105
|
*/
|
|
49
|
-
|
|
106
|
+
auth_config_id: string;
|
|
50
107
|
/**
|
|
51
|
-
*
|
|
108
|
+
* Set of command line instructions for connecting various clients to this MCP
|
|
109
|
+
* server
|
|
52
110
|
*/
|
|
53
|
-
|
|
111
|
+
commands: McpCreateResponse.Commands;
|
|
54
112
|
/**
|
|
55
|
-
*
|
|
113
|
+
* Date and time when this server was initially created
|
|
56
114
|
*/
|
|
57
|
-
|
|
115
|
+
created_at: string;
|
|
58
116
|
/**
|
|
59
|
-
*
|
|
117
|
+
* URL endpoint for establishing SSE connection to this MCP server
|
|
60
118
|
*/
|
|
61
|
-
|
|
119
|
+
mcp_url: string;
|
|
62
120
|
/**
|
|
63
|
-
*
|
|
121
|
+
* User-defined descriptive name for this MCP server
|
|
64
122
|
*/
|
|
65
|
-
|
|
123
|
+
name: string;
|
|
66
124
|
/**
|
|
67
|
-
*
|
|
125
|
+
* Date and time when this server configuration was last modified
|
|
68
126
|
*/
|
|
69
|
-
|
|
127
|
+
updated_at: string;
|
|
128
|
+
}
|
|
129
|
+
export declare namespace McpCreateResponse {
|
|
70
130
|
/**
|
|
71
|
-
*
|
|
131
|
+
* Set of command line instructions for connecting various clients to this MCP
|
|
132
|
+
* server
|
|
72
133
|
*/
|
|
73
|
-
|
|
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
|
+
}
|
|
74
148
|
}
|
|
149
|
+
/**
|
|
150
|
+
* MCP server configuration and connection details
|
|
151
|
+
*/
|
|
75
152
|
export interface McpRetrieveResponse {
|
|
76
153
|
/**
|
|
77
|
-
*
|
|
154
|
+
* UUID of the MCP server instance
|
|
78
155
|
*/
|
|
79
156
|
id: string;
|
|
80
157
|
/**
|
|
81
|
-
*
|
|
158
|
+
* Array of tool slugs that this MCP server is allowed to use
|
|
159
|
+
*/
|
|
160
|
+
allowed_tools: Array<string>;
|
|
161
|
+
/**
|
|
162
|
+
* ID reference to the auth configuration used by this server
|
|
82
163
|
*/
|
|
83
|
-
|
|
164
|
+
auth_config_id: string;
|
|
84
165
|
/**
|
|
85
|
-
*
|
|
166
|
+
* Set of command line instructions for connecting various clients to this MCP
|
|
167
|
+
* server
|
|
86
168
|
*/
|
|
87
|
-
|
|
169
|
+
commands: McpRetrieveResponse.Commands;
|
|
88
170
|
/**
|
|
89
|
-
*
|
|
171
|
+
* Date and time when this server was initially created
|
|
90
172
|
*/
|
|
91
173
|
created_at: string;
|
|
92
174
|
/**
|
|
@@ -94,57 +176,61 @@ export interface McpRetrieveResponse {
|
|
|
94
176
|
*/
|
|
95
177
|
deleted: boolean;
|
|
96
178
|
/**
|
|
97
|
-
*
|
|
179
|
+
* URL endpoint for establishing SSE connection to this MCP server
|
|
98
180
|
*/
|
|
99
|
-
|
|
181
|
+
mcp_url: string;
|
|
100
182
|
/**
|
|
101
|
-
*
|
|
183
|
+
* User-defined descriptive name for this MCP server
|
|
102
184
|
*/
|
|
103
185
|
name: string;
|
|
104
186
|
/**
|
|
105
|
-
*
|
|
187
|
+
* Date and time when this server configuration was last modified
|
|
106
188
|
*/
|
|
107
189
|
updated_at: string;
|
|
190
|
+
}
|
|
191
|
+
export declare namespace McpRetrieveResponse {
|
|
108
192
|
/**
|
|
109
|
-
*
|
|
110
|
-
|
|
111
|
-
url: string;
|
|
112
|
-
/**
|
|
113
|
-
* Actions available for the MCP server
|
|
114
|
-
*/
|
|
115
|
-
actions?: Record<string, unknown>;
|
|
116
|
-
/**
|
|
117
|
-
* Auth configuration
|
|
118
|
-
*/
|
|
119
|
-
auth_configs?: Record<string, unknown>;
|
|
120
|
-
/**
|
|
121
|
-
* Connected account IDs
|
|
122
|
-
*/
|
|
123
|
-
connected_account_ids?: Array<string>;
|
|
124
|
-
/**
|
|
125
|
-
* Whether custom auth headers are enabled
|
|
126
|
-
*/
|
|
127
|
-
custom_auth_headers?: boolean;
|
|
128
|
-
/**
|
|
129
|
-
* Entity IDs associated with the server
|
|
193
|
+
* Set of command line instructions for connecting various clients to this MCP
|
|
194
|
+
* server
|
|
130
195
|
*/
|
|
131
|
-
|
|
196
|
+
interface Commands {
|
|
197
|
+
/**
|
|
198
|
+
* Command line instruction for Claude client setup
|
|
199
|
+
*/
|
|
200
|
+
claude: string;
|
|
201
|
+
/**
|
|
202
|
+
* Command line instruction for Cursor client setup
|
|
203
|
+
*/
|
|
204
|
+
cursor: string;
|
|
205
|
+
/**
|
|
206
|
+
* Command line instruction for Windsurf client setup
|
|
207
|
+
*/
|
|
208
|
+
windsurf: string;
|
|
209
|
+
}
|
|
132
210
|
}
|
|
211
|
+
/**
|
|
212
|
+
* MCP server configuration and connection details
|
|
213
|
+
*/
|
|
133
214
|
export interface McpUpdateResponse {
|
|
134
215
|
/**
|
|
135
|
-
*
|
|
216
|
+
* UUID of the MCP server instance
|
|
136
217
|
*/
|
|
137
218
|
id: string;
|
|
138
219
|
/**
|
|
139
|
-
*
|
|
220
|
+
* Array of tool slugs that this MCP server is allowed to use
|
|
221
|
+
*/
|
|
222
|
+
allowed_tools: Array<string>;
|
|
223
|
+
/**
|
|
224
|
+
* ID reference to the auth configuration used by this server
|
|
140
225
|
*/
|
|
141
|
-
|
|
226
|
+
auth_config_id: string;
|
|
142
227
|
/**
|
|
143
|
-
*
|
|
228
|
+
* Set of command line instructions for connecting various clients to this MCP
|
|
229
|
+
* server
|
|
144
230
|
*/
|
|
145
|
-
|
|
231
|
+
commands: McpUpdateResponse.Commands;
|
|
146
232
|
/**
|
|
147
|
-
*
|
|
233
|
+
* Date and time when this server was initially created
|
|
148
234
|
*/
|
|
149
235
|
created_at: string;
|
|
150
236
|
/**
|
|
@@ -152,263 +238,282 @@ export interface McpUpdateResponse {
|
|
|
152
238
|
*/
|
|
153
239
|
deleted: boolean;
|
|
154
240
|
/**
|
|
155
|
-
*
|
|
241
|
+
* URL endpoint for establishing SSE connection to this MCP server
|
|
156
242
|
*/
|
|
157
|
-
|
|
243
|
+
mcp_url: string;
|
|
158
244
|
/**
|
|
159
|
-
*
|
|
245
|
+
* User-defined descriptive name for this MCP server
|
|
160
246
|
*/
|
|
161
247
|
name: string;
|
|
162
248
|
/**
|
|
163
|
-
*
|
|
249
|
+
* Date and time when this server configuration was last modified
|
|
164
250
|
*/
|
|
165
251
|
updated_at: string;
|
|
252
|
+
}
|
|
253
|
+
export declare namespace McpUpdateResponse {
|
|
166
254
|
/**
|
|
167
|
-
*
|
|
168
|
-
|
|
169
|
-
url: string;
|
|
170
|
-
/**
|
|
171
|
-
* Actions available for the MCP server
|
|
172
|
-
*/
|
|
173
|
-
actions?: Record<string, unknown>;
|
|
174
|
-
/**
|
|
175
|
-
* Auth configuration
|
|
255
|
+
* Set of command line instructions for connecting various clients to this MCP
|
|
256
|
+
* server
|
|
176
257
|
*/
|
|
177
|
-
|
|
258
|
+
interface Commands {
|
|
259
|
+
/**
|
|
260
|
+
* Command line instruction for Claude client setup
|
|
261
|
+
*/
|
|
262
|
+
claude: string;
|
|
263
|
+
/**
|
|
264
|
+
* Command line instruction for Cursor client setup
|
|
265
|
+
*/
|
|
266
|
+
cursor: string;
|
|
267
|
+
/**
|
|
268
|
+
* Command line instruction for Windsurf client setup
|
|
269
|
+
*/
|
|
270
|
+
windsurf: string;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Paginated response containing MCP servers
|
|
275
|
+
*/
|
|
276
|
+
export interface McpListResponse {
|
|
178
277
|
/**
|
|
179
|
-
*
|
|
278
|
+
* Current page number being returned
|
|
180
279
|
*/
|
|
181
|
-
|
|
280
|
+
current_page: string;
|
|
182
281
|
/**
|
|
183
|
-
*
|
|
282
|
+
* Array of MCP server configurations
|
|
184
283
|
*/
|
|
185
|
-
|
|
284
|
+
items: Array<McpListResponse.Item>;
|
|
186
285
|
/**
|
|
187
|
-
*
|
|
286
|
+
* Total number of pages in the paginated response
|
|
188
287
|
*/
|
|
189
|
-
|
|
190
|
-
}
|
|
191
|
-
export interface McpListResponse {
|
|
192
|
-
items: Array<McpListResponse.Item>;
|
|
288
|
+
total_pages: string;
|
|
193
289
|
}
|
|
194
290
|
export declare namespace McpListResponse {
|
|
291
|
+
/**
|
|
292
|
+
* MCP server configuration and connection details
|
|
293
|
+
*/
|
|
195
294
|
interface Item {
|
|
196
295
|
/**
|
|
197
|
-
*
|
|
296
|
+
* UUID of the MCP server instance
|
|
198
297
|
*/
|
|
199
298
|
id: string;
|
|
200
299
|
/**
|
|
201
|
-
*
|
|
300
|
+
* Array of tool slugs that this MCP server is allowed to use
|
|
202
301
|
*/
|
|
203
|
-
|
|
302
|
+
allowed_tools: Array<string>;
|
|
204
303
|
/**
|
|
205
|
-
*
|
|
304
|
+
* ID reference to the auth configuration used by this server
|
|
206
305
|
*/
|
|
207
|
-
|
|
306
|
+
auth_config_id: string;
|
|
208
307
|
/**
|
|
209
|
-
*
|
|
308
|
+
* Set of command line instructions for connecting various clients to this MCP
|
|
309
|
+
* server
|
|
210
310
|
*/
|
|
211
|
-
|
|
311
|
+
commands: Item.Commands;
|
|
212
312
|
/**
|
|
213
|
-
*
|
|
313
|
+
* Date and time when this server was initially created
|
|
214
314
|
*/
|
|
215
|
-
|
|
315
|
+
created_at: string;
|
|
216
316
|
/**
|
|
217
|
-
*
|
|
317
|
+
* URL endpoint for establishing SSE connection to this MCP server
|
|
218
318
|
*/
|
|
219
|
-
|
|
319
|
+
mcp_url: string;
|
|
220
320
|
/**
|
|
221
|
-
*
|
|
321
|
+
* User-defined descriptive name for this MCP server
|
|
222
322
|
*/
|
|
223
|
-
|
|
323
|
+
name: string;
|
|
224
324
|
/**
|
|
225
|
-
*
|
|
325
|
+
* Date and time when this server configuration was last modified
|
|
226
326
|
*/
|
|
227
|
-
|
|
327
|
+
updated_at: string;
|
|
328
|
+
}
|
|
329
|
+
namespace Item {
|
|
228
330
|
/**
|
|
229
|
-
*
|
|
331
|
+
* Set of command line instructions for connecting various clients to this MCP
|
|
332
|
+
* server
|
|
230
333
|
*/
|
|
231
|
-
|
|
334
|
+
interface Commands {
|
|
335
|
+
/**
|
|
336
|
+
* Command line instruction for Claude client setup
|
|
337
|
+
*/
|
|
338
|
+
claude: string;
|
|
339
|
+
/**
|
|
340
|
+
* Command line instruction for Cursor client setup
|
|
341
|
+
*/
|
|
342
|
+
cursor: string;
|
|
343
|
+
/**
|
|
344
|
+
* Command line instruction for Windsurf client setup
|
|
345
|
+
*/
|
|
346
|
+
windsurf: string;
|
|
347
|
+
}
|
|
232
348
|
}
|
|
233
349
|
}
|
|
350
|
+
/**
|
|
351
|
+
* Response indicating the success of the delete operation
|
|
352
|
+
*/
|
|
234
353
|
export interface McpDeleteResponse {
|
|
235
354
|
/**
|
|
236
|
-
*
|
|
355
|
+
* Indicates whether the MCP server was successfully deleted
|
|
237
356
|
*/
|
|
238
357
|
success: boolean;
|
|
239
358
|
}
|
|
359
|
+
/**
|
|
360
|
+
* Paginated response containing MCP servers
|
|
361
|
+
*/
|
|
240
362
|
export interface McpRetrieveAppResponse {
|
|
363
|
+
/**
|
|
364
|
+
* Current page number being returned
|
|
365
|
+
*/
|
|
366
|
+
current_page: string;
|
|
367
|
+
/**
|
|
368
|
+
* Array of MCP server configurations
|
|
369
|
+
*/
|
|
241
370
|
items: Array<McpRetrieveAppResponse.Item>;
|
|
371
|
+
/**
|
|
372
|
+
* Total number of pages in the paginated response
|
|
373
|
+
*/
|
|
374
|
+
total_pages: string;
|
|
242
375
|
}
|
|
243
376
|
export declare namespace McpRetrieveAppResponse {
|
|
377
|
+
/**
|
|
378
|
+
* MCP server configuration and connection details
|
|
379
|
+
*/
|
|
244
380
|
interface Item {
|
|
245
381
|
/**
|
|
246
|
-
*
|
|
382
|
+
* UUID of the MCP server instance
|
|
247
383
|
*/
|
|
248
384
|
id: string;
|
|
249
385
|
/**
|
|
250
|
-
*
|
|
251
|
-
*/
|
|
252
|
-
apps: Array<string>;
|
|
253
|
-
/**
|
|
254
|
-
* The member ID who created the server
|
|
255
|
-
*/
|
|
256
|
-
member_id: string;
|
|
257
|
-
/**
|
|
258
|
-
* The name of the MCP server
|
|
386
|
+
* Array of tool slugs that this MCP server is allowed to use
|
|
259
387
|
*/
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* Last update timestamp of the MCP server
|
|
263
|
-
*/
|
|
264
|
-
updated_at: string;
|
|
388
|
+
allowed_tools: Array<string>;
|
|
265
389
|
/**
|
|
266
|
-
*
|
|
390
|
+
* ID reference to the auth configuration used by this server
|
|
267
391
|
*/
|
|
268
|
-
|
|
392
|
+
auth_config_id: string;
|
|
269
393
|
/**
|
|
270
|
-
*
|
|
394
|
+
* Set of command line instructions for connecting various clients to this MCP
|
|
395
|
+
* server
|
|
271
396
|
*/
|
|
272
|
-
|
|
397
|
+
commands: Item.Commands;
|
|
273
398
|
/**
|
|
274
|
-
*
|
|
399
|
+
* Date and time when this server was initially created
|
|
275
400
|
*/
|
|
276
|
-
|
|
401
|
+
created_at: string;
|
|
277
402
|
/**
|
|
278
|
-
*
|
|
403
|
+
* URL endpoint for establishing SSE connection to this MCP server
|
|
279
404
|
*/
|
|
280
|
-
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
export interface McpValidateResponse {
|
|
284
|
-
/**
|
|
285
|
-
* The ID of the MCP server
|
|
286
|
-
*/
|
|
287
|
-
id: string;
|
|
288
|
-
client: McpValidateResponse.Client;
|
|
289
|
-
/**
|
|
290
|
-
* The name of the MCP server
|
|
291
|
-
*/
|
|
292
|
-
name: string;
|
|
293
|
-
/**
|
|
294
|
-
* The URL of the MCP server
|
|
295
|
-
*/
|
|
296
|
-
url: string;
|
|
297
|
-
userData: McpValidateResponse.UserData;
|
|
298
|
-
actions?: Array<string> | null;
|
|
299
|
-
apps?: Array<string>;
|
|
300
|
-
connectedAccountIds?: Array<string> | null;
|
|
301
|
-
customAuthHeaders?: boolean;
|
|
302
|
-
entityIds?: Array<string> | null;
|
|
303
|
-
}
|
|
304
|
-
export declare namespace McpValidateResponse {
|
|
305
|
-
interface Client {
|
|
405
|
+
mcp_url: string;
|
|
306
406
|
/**
|
|
307
|
-
*
|
|
407
|
+
* User-defined descriptive name for this MCP server
|
|
308
408
|
*/
|
|
309
|
-
|
|
409
|
+
name: string;
|
|
310
410
|
/**
|
|
311
|
-
*
|
|
411
|
+
* Date and time when this server configuration was last modified
|
|
312
412
|
*/
|
|
313
|
-
|
|
413
|
+
updated_at: string;
|
|
314
414
|
}
|
|
315
|
-
|
|
415
|
+
namespace Item {
|
|
316
416
|
/**
|
|
317
|
-
*
|
|
417
|
+
* Set of command line instructions for connecting various clients to this MCP
|
|
418
|
+
* server
|
|
318
419
|
*/
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
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
|
+
}
|
|
328
434
|
}
|
|
329
435
|
}
|
|
330
436
|
export interface McpCreateParams {
|
|
331
437
|
/**
|
|
332
|
-
*
|
|
438
|
+
* Human-readable name to identify this MCP server instance (4-25 characters,
|
|
439
|
+
* alphanumeric and hyphens only)
|
|
333
440
|
*/
|
|
334
441
|
name: string;
|
|
335
442
|
/**
|
|
336
|
-
*
|
|
337
|
-
|
|
338
|
-
actions?: Array<string>;
|
|
339
|
-
/**
|
|
340
|
-
* App IDs associated with the server
|
|
341
|
-
*/
|
|
342
|
-
apps?: Array<string>;
|
|
343
|
-
/**
|
|
344
|
-
* Auth configurations
|
|
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.
|
|
345
445
|
*/
|
|
346
|
-
|
|
446
|
+
allowed_tools?: Array<string>;
|
|
347
447
|
/**
|
|
348
|
-
*
|
|
448
|
+
* ID reference to an existing authentication configuration
|
|
349
449
|
*/
|
|
350
|
-
|
|
450
|
+
auth_config_id?: string;
|
|
351
451
|
/**
|
|
352
|
-
*
|
|
353
|
-
*/
|
|
354
|
-
custom_auth_headers?: boolean;
|
|
355
|
-
/**
|
|
356
|
-
* Entity IDs
|
|
357
|
-
*/
|
|
358
|
-
entity_ids?: Array<string>;
|
|
359
|
-
/**
|
|
360
|
-
* Time to live for the server
|
|
452
|
+
* Time-to-live duration for this MCP server
|
|
361
453
|
*/
|
|
362
454
|
ttl?: '1d' | '3d' | '1 month' | 'no expiration';
|
|
363
455
|
}
|
|
364
456
|
export interface McpUpdateParams {
|
|
365
457
|
/**
|
|
366
|
-
*
|
|
458
|
+
* List of action identifiers that should be enabled for this server
|
|
367
459
|
*/
|
|
368
460
|
actions?: Array<string>;
|
|
369
461
|
/**
|
|
370
|
-
*
|
|
462
|
+
* List of application identifiers this server should be configured to work with
|
|
371
463
|
*/
|
|
372
464
|
apps?: Array<string>;
|
|
373
465
|
/**
|
|
374
|
-
*
|
|
466
|
+
* Human-readable name to identify this MCP server instance (4-25 characters,
|
|
467
|
+
* alphanumeric and hyphens only)
|
|
375
468
|
*/
|
|
376
469
|
name?: string;
|
|
377
470
|
}
|
|
378
471
|
export interface McpListParams {
|
|
379
472
|
/**
|
|
380
|
-
*
|
|
473
|
+
* Filter MCP servers by authentication configuration ID
|
|
381
474
|
*/
|
|
382
|
-
|
|
475
|
+
auth_config_id?: string;
|
|
383
476
|
/**
|
|
384
|
-
*
|
|
477
|
+
* Number of items per page (default: 10)
|
|
385
478
|
*/
|
|
386
|
-
|
|
479
|
+
limit?: number | null;
|
|
387
480
|
/**
|
|
388
|
-
*
|
|
481
|
+
* Filter MCP servers by name (case-insensitive partial match)
|
|
389
482
|
*/
|
|
390
|
-
|
|
483
|
+
name?: string;
|
|
391
484
|
/**
|
|
392
|
-
*
|
|
485
|
+
* Page number for pagination (1-based)
|
|
393
486
|
*/
|
|
394
|
-
|
|
487
|
+
page_no?: number | null;
|
|
395
488
|
/**
|
|
396
|
-
*
|
|
489
|
+
* Filter MCP servers by toolkit slug
|
|
397
490
|
*/
|
|
398
|
-
|
|
491
|
+
toolkit?: string;
|
|
492
|
+
}
|
|
493
|
+
export interface McpRetrieveAppParams {
|
|
399
494
|
/**
|
|
400
|
-
*
|
|
495
|
+
* Filter MCP servers by authentication configuration ID
|
|
496
|
+
*/
|
|
497
|
+
auth_config_id?: string;
|
|
498
|
+
/**
|
|
499
|
+
* Number of items per page (default: 10)
|
|
401
500
|
*/
|
|
402
501
|
limit?: number | null;
|
|
403
|
-
}
|
|
404
|
-
export interface McpValidateParams {
|
|
405
502
|
/**
|
|
406
|
-
*
|
|
503
|
+
* Filter MCP servers by name (case-insensitive partial match)
|
|
504
|
+
*/
|
|
505
|
+
name?: string;
|
|
506
|
+
/**
|
|
507
|
+
* Page number for pagination (1-based)
|
|
508
|
+
*/
|
|
509
|
+
page_no?: number | null;
|
|
510
|
+
/**
|
|
511
|
+
* Filter MCP servers by toolkit slug
|
|
407
512
|
*/
|
|
408
|
-
|
|
513
|
+
toolkit?: string;
|
|
409
514
|
}
|
|
410
515
|
export declare namespace Mcp {
|
|
411
|
-
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
|
|
412
|
-
export {
|
|
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, };
|
|
413
518
|
}
|
|
414
519
|
//# sourceMappingURL=mcp.d.mts.map
|