@executor-js/plugin-mcp 1.4.33 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AddMcpSource-4LLERUW5.js +602 -0
- package/dist/AddMcpSource-4LLERUW5.js.map +1 -0
- package/dist/EditMcpSource-GKJRP75X.js +313 -0
- package/dist/EditMcpSource-GKJRP75X.js.map +1 -0
- package/dist/McpAccountsPanel-UX7MHEIG.js +132 -0
- package/dist/McpAccountsPanel-UX7MHEIG.js.map +1 -0
- package/dist/api/group.d.ts +79 -143
- package/dist/api/index.d.ts +99 -155
- package/dist/chunk-2TXHTMKM.js +1298 -0
- package/dist/chunk-2TXHTMKM.js.map +1 -0
- package/dist/chunk-6OEQZ72N.js +124 -0
- package/dist/chunk-6OEQZ72N.js.map +1 -0
- package/dist/chunk-7FJ3PUUL.js +21 -0
- package/dist/chunk-7FJ3PUUL.js.map +1 -0
- package/dist/chunk-N4EAF5CA.js +146 -0
- package/dist/chunk-N4EAF5CA.js.map +1 -0
- package/dist/client.js +9 -9
- package/dist/client.js.map +1 -1
- package/dist/core.js +36 -26
- package/dist/index.js +2 -2
- package/dist/promise.d.ts +1 -1
- package/dist/react/AddMcpSource.d.ts +1 -1
- package/dist/react/McpAccountsPanel.d.ts +6 -0
- package/dist/react/McpRemoteSourceFields.d.ts +4 -2
- package/dist/react/McpSignInButton.d.ts +2 -0
- package/dist/react/atoms.d.ts +93 -313
- package/dist/react/auth-method-config.d.ts +8 -0
- package/dist/react/client.d.ts +78 -142
- package/dist/react/index.d.ts +3 -3
- package/dist/react/source-plugin.d.ts +5 -5
- package/dist/sdk/connection.d.ts +4 -4
- package/dist/sdk/errors.d.ts +0 -19
- package/dist/sdk/index.d.ts +4 -3
- package/dist/sdk/invoke.d.ts +9 -16
- package/dist/sdk/plugin.d.ts +101 -236
- package/dist/sdk/types.d.ts +25 -130
- package/package.json +5 -4
- package/dist/AddMcpSource-PADMBVX2.js +0 -688
- package/dist/AddMcpSource-PADMBVX2.js.map +0 -1
- package/dist/EditMcpSource-L5GC2B4J.js +0 -281
- package/dist/EditMcpSource-L5GC2B4J.js.map +0 -1
- package/dist/McpSourceSummary-LE3WXFUE.js +0 -170
- package/dist/McpSourceSummary-LE3WXFUE.js.map +0 -1
- package/dist/chunk-6OYEXHU3.js +0 -156
- package/dist/chunk-6OYEXHU3.js.map +0 -1
- package/dist/chunk-FMTVLO5L.js +0 -179
- package/dist/chunk-FMTVLO5L.js.map +0 -1
- package/dist/chunk-LEGVPKYH.js +0 -2391
- package/dist/chunk-LEGVPKYH.js.map +0 -1
- package/dist/chunk-ZIRGIRGP.js +0 -115
- package/dist/chunk-ZIRGIRGP.js.map +0 -1
- package/dist/react/McpSourceSummary.d.ts +0 -5
- package/dist/sdk/binding-store.d.ts +0 -31
- package/dist/sdk/stored-source.d.ts +0 -42
- /package/dist/{sdk/connection-pool.test.d.ts → react/auth-method-config.test.d.ts} +0 -0
- /package/dist/sdk/{cross-user-isolation.test.d.ts → describe-auth-methods.test.d.ts} +0 -0
- /package/dist/sdk/{per-user-auth-isolation.test.d.ts → owner-isolation.test.d.ts} +0 -0
package/dist/api/index.d.ts
CHANGED
|
@@ -3,154 +3,70 @@ import { McpExtensionService } from "./handlers";
|
|
|
3
3
|
export { McpGroup } from "./group";
|
|
4
4
|
export { McpHandlers, McpExtensionService } from "./handlers";
|
|
5
5
|
export declare const mcpHttpPlugin: import("@executor-js/sdk/core").ConfiguredPlugin<"mcp", {
|
|
6
|
-
probeEndpoint: (input: string | import("../
|
|
6
|
+
probeEndpoint: (input: string | import("../promise").McpProbeEndpointInput) => import("effect/Effect").Effect<{
|
|
7
7
|
connected: true;
|
|
8
|
+
requiresAuthentication: false;
|
|
8
9
|
requiresOAuth: false;
|
|
9
10
|
supportsDynamicRegistration: false;
|
|
10
11
|
name: string;
|
|
11
|
-
|
|
12
|
+
slug: string;
|
|
12
13
|
toolCount: number;
|
|
13
14
|
serverName: string | null;
|
|
14
15
|
} | {
|
|
15
16
|
connected: false;
|
|
17
|
+
requiresAuthentication: true;
|
|
16
18
|
requiresOAuth: true;
|
|
17
19
|
supportsDynamicRegistration: boolean;
|
|
18
20
|
name: string;
|
|
19
|
-
|
|
21
|
+
slug: string;
|
|
20
22
|
toolCount: null;
|
|
21
23
|
serverName: null;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
toolCount:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
24
|
+
} | {
|
|
25
|
+
connected: false;
|
|
26
|
+
requiresAuthentication: true;
|
|
27
|
+
requiresOAuth: false;
|
|
28
|
+
supportsDynamicRegistration: false;
|
|
29
|
+
name: string;
|
|
30
|
+
slug: string;
|
|
31
|
+
toolCount: null;
|
|
32
|
+
serverName: null;
|
|
33
|
+
}, import("../sdk").McpConnectionError, never>;
|
|
34
|
+
addServer: (input: import("../promise").McpServerInput) => import("effect/Effect").Effect<{
|
|
35
|
+
slug: string;
|
|
36
|
+
}, import("@executor-js/sdk/core").StorageFailure | import("@executor-js/sdk/core").IntegrationAlreadyExistsError, never>;
|
|
37
|
+
removeServer: (slug: string) => import("effect/Effect").Effect<void, import("@executor-js/sdk/core").StorageFailure, never>;
|
|
38
|
+
getServer: (slug: string) => import("effect/Effect").Effect<import("@executor-js/sdk/core").IntegrationRecord | null, import("@executor-js/sdk/core").StorageFailure, never>;
|
|
39
|
+
configureServer: (slug: string, config: import("../sdk").McpIntegrationConfig) => import("effect/Effect").Effect<void, import("@executor-js/sdk/core").StorageFailure, never>;
|
|
40
|
+
}, {}, McpPluginOptions, typeof McpExtensionService, import("effect/Layer").Layer<import("effect/unstable/httpapi/HttpApiGroup").ApiGroup<"executor", "mcp">, never, import("effect/unstable/http/HttpRouter").Request<"Requires", McpExtensionService>>, import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"mcp", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"probeEndpoint", "POST", "/mcp/probe", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
35
41
|
readonly endpoint: import("effect/Schema").String;
|
|
36
|
-
readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").
|
|
37
|
-
|
|
38
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
39
|
-
}>]>>>;
|
|
40
|
-
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
41
|
-
readonly secretId: import("effect/Schema").String;
|
|
42
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
43
|
-
}>]>>>;
|
|
42
|
+
readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
43
|
+
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
44
44
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
45
45
|
readonly connected: import("effect/Schema").Boolean;
|
|
46
|
+
readonly requiresAuthentication: import("effect/Schema").Boolean;
|
|
46
47
|
readonly requiresOAuth: import("effect/Schema").Boolean;
|
|
47
48
|
readonly supportsDynamicRegistration: import("effect/Schema").Boolean;
|
|
48
49
|
readonly name: import("effect/Schema").String;
|
|
49
|
-
readonly
|
|
50
|
+
readonly slug: import("effect/Schema").String;
|
|
50
51
|
readonly toolCount: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
51
52
|
readonly serverName: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
52
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | typeof import("../sdk
|
|
53
|
-
|
|
54
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
55
|
-
readonly transport: import("effect/Schema").Literal<"remote">;
|
|
53
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | typeof import("../sdk").McpConnectionError | typeof import("../sdk").McpToolDiscoveryError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"addServer", "POST", "/mcp/servers", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
54
|
+
readonly transport: import("effect/Schema").optional<import("effect/Schema").Literal<"remote">>;
|
|
56
55
|
readonly name: import("effect/Schema").String;
|
|
57
56
|
readonly endpoint: import("effect/Schema").String;
|
|
58
57
|
readonly remoteTransport: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["streamable-http", "sse", "auto"]>>;
|
|
59
|
-
readonly
|
|
60
|
-
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
readonly kind: import("effect/Schema").Literal<"
|
|
58
|
+
readonly slug: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
59
|
+
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
60
|
+
readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
61
|
+
readonly auth: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
62
|
+
readonly kind: import("effect/Schema").Literal<"none">;
|
|
63
|
+
}>, import("effect/Schema").Struct<{
|
|
64
|
+
readonly kind: import("effect/Schema").Literal<"header">;
|
|
65
|
+
readonly headerName: import("effect/Schema").String;
|
|
66
66
|
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
67
|
-
}
|
|
68
|
-
readonly oauth2: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
67
|
+
}>, import("effect/Schema").Struct<{
|
|
69
68
|
readonly kind: import("effect/Schema").Literal<"oauth2">;
|
|
70
|
-
|
|
71
|
-
readonly flow: import("effect/Schema").Literals<readonly ["authorizationCode", "clientCredentials"]>;
|
|
72
|
-
readonly tokenUrl: import("effect/Schema").String;
|
|
73
|
-
readonly authorizationUrl: import("effect/Schema").withDecodingDefault<import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>>;
|
|
74
|
-
readonly issuerUrl: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
75
|
-
readonly clientIdSlot: import("effect/Schema").String;
|
|
76
|
-
readonly clientSecretSlot: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
77
|
-
readonly connectionSlot: import("effect/Schema").String;
|
|
78
|
-
readonly scopes: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
79
|
-
}>>;
|
|
80
|
-
readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
81
|
-
readonly scope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
82
|
-
readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
83
|
-
readonly kind: import("effect/Schema").Literal<"text">;
|
|
84
|
-
readonly text: import("effect/Schema").String;
|
|
85
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
86
|
-
}>, import("effect/Schema").Struct<{
|
|
87
|
-
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
88
|
-
readonly secretId: import("effect/Schema").String;
|
|
89
|
-
readonly secretScope: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
90
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
91
|
-
}>, import("effect/Schema").Struct<{
|
|
92
|
-
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
93
|
-
readonly connectionId: import("effect/Schema").String;
|
|
94
|
-
}>]>>>;
|
|
95
|
-
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
96
|
-
readonly kind: import("effect/Schema").Literal<"text">;
|
|
97
|
-
readonly text: import("effect/Schema").String;
|
|
98
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
99
|
-
}>, import("effect/Schema").Struct<{
|
|
100
|
-
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
101
|
-
readonly secretId: import("effect/Schema").String;
|
|
102
|
-
readonly secretScope: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
103
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
104
|
-
}>, import("effect/Schema").Struct<{
|
|
105
|
-
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
106
|
-
readonly connectionId: import("effect/Schema").String;
|
|
107
|
-
}>]>>>;
|
|
108
|
-
readonly auth: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
109
|
-
readonly kind: import("effect/Schema").Literal<"none">;
|
|
110
|
-
}>, import("effect/Schema").Struct<{
|
|
111
|
-
readonly oauth2: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
112
|
-
readonly clientId: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
113
|
-
readonly kind: import("effect/Schema").Literal<"text">;
|
|
114
|
-
readonly text: import("effect/Schema").String;
|
|
115
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
116
|
-
}>, import("effect/Schema").Struct<{
|
|
117
|
-
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
118
|
-
readonly secretId: import("effect/Schema").String;
|
|
119
|
-
readonly secretScope: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
120
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
121
|
-
}>, import("effect/Schema").Struct<{
|
|
122
|
-
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
123
|
-
readonly connectionId: import("effect/Schema").String;
|
|
124
|
-
}>]>>;
|
|
125
|
-
readonly clientSecret: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
126
|
-
readonly kind: import("effect/Schema").Literal<"text">;
|
|
127
|
-
readonly text: import("effect/Schema").String;
|
|
128
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
129
|
-
}>, import("effect/Schema").Struct<{
|
|
130
|
-
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
131
|
-
readonly secretId: import("effect/Schema").String;
|
|
132
|
-
readonly secretScope: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
133
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
134
|
-
}>, import("effect/Schema").Struct<{
|
|
135
|
-
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
136
|
-
readonly connectionId: import("effect/Schema").String;
|
|
137
|
-
}>]>>>;
|
|
138
|
-
readonly connection: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
139
|
-
readonly kind: import("effect/Schema").Literal<"text">;
|
|
140
|
-
readonly text: import("effect/Schema").String;
|
|
141
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
142
|
-
}>, import("effect/Schema").Struct<{
|
|
143
|
-
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
144
|
-
readonly secretId: import("effect/Schema").String;
|
|
145
|
-
readonly secretScope: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
146
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
147
|
-
}>, import("effect/Schema").Struct<{
|
|
148
|
-
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
149
|
-
readonly connectionId: import("effect/Schema").String;
|
|
150
|
-
}>]>>;
|
|
151
|
-
}>>;
|
|
152
|
-
}>]>>;
|
|
153
|
-
}>>;
|
|
69
|
+
}>]>>;
|
|
154
70
|
}>, import("effect/Schema").Struct<{
|
|
155
71
|
readonly transport: import("effect/Schema").Literal<"stdio">;
|
|
156
72
|
readonly name: import("effect/Schema").String;
|
|
@@ -158,55 +74,83 @@ export declare const mcpHttpPlugin: import("@executor-js/sdk/core").ConfiguredPl
|
|
|
158
74
|
readonly args: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
159
75
|
readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
160
76
|
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
161
|
-
readonly
|
|
77
|
+
readonly slug: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
162
78
|
}>]>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
163
|
-
readonly
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
168
|
-
readonly namespace: import("effect/Schema").String;
|
|
169
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
79
|
+
readonly slug: import("effect/Schema").String;
|
|
80
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/sdk/core").IntegrationAlreadyExistsError | typeof import("@executor-js/api").InternalError | typeof import("../sdk").McpConnectionError | typeof import("../sdk").McpToolDiscoveryError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"removeServer", "DELETE", "/mcp/servers/:slug", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
81
|
+
slug: import("effect/Schema").brand<import("effect/Schema").String, "IntegrationSlug">;
|
|
82
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
170
83
|
readonly removed: import("effect/Schema").Boolean;
|
|
171
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | typeof import("../sdk
|
|
172
|
-
|
|
173
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
174
|
-
readonly namespace: import("effect/Schema").String;
|
|
175
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
176
|
-
readonly toolCount: import("effect/Schema").Number;
|
|
177
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | typeof import("../sdk/errors").McpConnectionError | typeof import("../sdk/errors").McpToolDiscoveryError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSource", "GET", "/scopes/:scopeId/mcp/sources/:namespace", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
178
|
-
scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
179
|
-
namespace: import("effect/Schema").String;
|
|
84
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | typeof import("../sdk").McpConnectionError | typeof import("../sdk").McpToolDiscoveryError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getServer", "GET", "/mcp/servers/:slug", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
85
|
+
slug: import("effect/Schema").brand<import("effect/Schema").String, "IntegrationSlug">;
|
|
180
86
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
181
|
-
readonly
|
|
182
|
-
readonly
|
|
183
|
-
readonly
|
|
87
|
+
readonly slug: import("effect/Schema").brand<import("effect/Schema").String, "IntegrationSlug">;
|
|
88
|
+
readonly description: import("effect/Schema").String;
|
|
89
|
+
readonly kind: import("effect/Schema").String;
|
|
90
|
+
readonly canRemove: import("effect/Schema").Boolean;
|
|
91
|
+
readonly canRefresh: import("effect/Schema").Boolean;
|
|
184
92
|
readonly config: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
185
93
|
readonly transport: import("effect/Schema").Literal<"remote">;
|
|
186
94
|
readonly endpoint: import("effect/Schema").String;
|
|
187
95
|
readonly remoteTransport: import("effect/Schema").withConstructorDefault<import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["streamable-http", "sse", "auto"]>>>;
|
|
188
|
-
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").
|
|
189
|
-
|
|
190
|
-
|
|
96
|
+
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
97
|
+
readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
98
|
+
readonly auth: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
99
|
+
readonly kind: import("effect/Schema").Literal<"none">;
|
|
100
|
+
}>, import("effect/Schema").Struct<{
|
|
101
|
+
readonly kind: import("effect/Schema").Literal<"header">;
|
|
102
|
+
readonly headerName: import("effect/Schema").String;
|
|
191
103
|
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
104
|
+
}>, import("effect/Schema").Struct<{
|
|
105
|
+
readonly kind: import("effect/Schema").Literal<"oauth2">;
|
|
106
|
+
}>]>;
|
|
107
|
+
}>, import("effect/Schema").Struct<{
|
|
108
|
+
readonly transport: import("effect/Schema").Literal<"stdio">;
|
|
109
|
+
readonly command: import("effect/Schema").String;
|
|
110
|
+
readonly args: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
111
|
+
readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
112
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
113
|
+
}>]>;
|
|
114
|
+
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | typeof import("../sdk").McpConnectionError | typeof import("../sdk").McpToolDiscoveryError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"configureServer", "POST", "/mcp/servers/:slug/config", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
115
|
+
slug: import("effect/Schema").brand<import("effect/Schema").String, "IntegrationSlug">;
|
|
116
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
117
|
+
readonly config: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
118
|
+
readonly transport: import("effect/Schema").Literal<"remote">;
|
|
119
|
+
readonly endpoint: import("effect/Schema").String;
|
|
120
|
+
readonly remoteTransport: import("effect/Schema").withConstructorDefault<import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["streamable-http", "sse", "auto"]>>>;
|
|
121
|
+
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
122
|
+
readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
123
|
+
readonly auth: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
124
|
+
readonly kind: import("effect/Schema").Literal<"none">;
|
|
125
|
+
}>, import("effect/Schema").Struct<{
|
|
126
|
+
readonly kind: import("effect/Schema").Literal<"header">;
|
|
127
|
+
readonly headerName: import("effect/Schema").String;
|
|
196
128
|
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
197
|
-
}
|
|
129
|
+
}>, import("effect/Schema").Struct<{
|
|
130
|
+
readonly kind: import("effect/Schema").Literal<"oauth2">;
|
|
131
|
+
}>]>;
|
|
132
|
+
}>, import("effect/Schema").Struct<{
|
|
133
|
+
readonly transport: import("effect/Schema").Literal<"stdio">;
|
|
134
|
+
readonly command: import("effect/Schema").String;
|
|
135
|
+
readonly args: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
136
|
+
readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
137
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
138
|
+
}>]>;
|
|
139
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
140
|
+
readonly config: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
141
|
+
readonly transport: import("effect/Schema").Literal<"remote">;
|
|
142
|
+
readonly endpoint: import("effect/Schema").String;
|
|
143
|
+
readonly remoteTransport: import("effect/Schema").withConstructorDefault<import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["streamable-http", "sse", "auto"]>>>;
|
|
144
|
+
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
145
|
+
readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
198
146
|
readonly auth: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
199
147
|
readonly kind: import("effect/Schema").Literal<"none">;
|
|
200
148
|
}>, import("effect/Schema").Struct<{
|
|
201
149
|
readonly kind: import("effect/Schema").Literal<"header">;
|
|
202
150
|
readonly headerName: import("effect/Schema").String;
|
|
203
|
-
readonly secretSlot: import("effect/Schema").String;
|
|
204
151
|
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
205
152
|
}>, import("effect/Schema").Struct<{
|
|
206
153
|
readonly kind: import("effect/Schema").Literal<"oauth2">;
|
|
207
|
-
readonly connectionSlot: import("effect/Schema").String;
|
|
208
|
-
readonly clientIdSlot: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
209
|
-
readonly clientSecretSlot: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
210
154
|
}>]>;
|
|
211
155
|
}>, import("effect/Schema").Struct<{
|
|
212
156
|
readonly transport: import("effect/Schema").Literal<"stdio">;
|
|
@@ -215,4 +159,4 @@ export declare const mcpHttpPlugin: import("@executor-js/sdk/core").ConfiguredPl
|
|
|
215
159
|
readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
216
160
|
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
217
161
|
}>]>;
|
|
218
|
-
}
|
|
162
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | typeof import("../sdk").McpConnectionError | typeof import("../sdk").McpToolDiscoveryError>, never, never>, false>>;
|