@mcp-use/cli 3.0.0-canary.3 → 3.0.0-canary.4
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/commands/auth.d.ts +2 -8
- package/dist/commands/auth.d.ts.map +1 -1
- package/dist/commands/deploy.d.ts +0 -1
- package/dist/commands/deploy.d.ts.map +1 -1
- package/dist/commands/deployments.d.ts +0 -3
- package/dist/commands/deployments.d.ts.map +1 -1
- package/dist/commands/org.d.ts.map +1 -1
- package/dist/index.cjs +425 -722
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +425 -722
- package/dist/index.js.map +1 -1
- package/dist/utils/api.d.ts +63 -147
- package/dist/utils/api.d.ts.map +1 -1
- package/dist/utils/config.d.ts +10 -4
- package/dist/utils/config.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/utils/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface OrgInfo {
|
|
2
2
|
id: string;
|
|
3
|
-
|
|
3
|
+
name: string;
|
|
4
4
|
slug: string | null;
|
|
5
5
|
role: string;
|
|
6
6
|
}
|
|
@@ -8,85 +8,73 @@ export interface AuthTestResponse {
|
|
|
8
8
|
message: string;
|
|
9
9
|
user_id: string;
|
|
10
10
|
email: string;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
orgs: OrgInfo[];
|
|
12
|
+
default_org_id: string | null;
|
|
13
13
|
}
|
|
14
|
-
export interface
|
|
14
|
+
export interface CreateServerBody {
|
|
15
15
|
type: "github";
|
|
16
|
-
|
|
16
|
+
organizationId: string;
|
|
17
|
+
installationId: string;
|
|
18
|
+
name: string;
|
|
19
|
+
repoFullName: string;
|
|
17
20
|
branch?: string;
|
|
18
21
|
rootDir?: string;
|
|
19
|
-
startCommand?: string;
|
|
20
|
-
runtime?: "node" | "python";
|
|
21
22
|
port?: number;
|
|
22
|
-
env?: Record<string, string>;
|
|
23
23
|
buildCommand?: string;
|
|
24
|
-
baseImage?: string;
|
|
25
|
-
githubCheckRunId?: number;
|
|
26
|
-
}
|
|
27
|
-
export interface UploadSource {
|
|
28
|
-
type: "upload";
|
|
29
24
|
startCommand?: string;
|
|
30
|
-
runtime?: "node" | "python";
|
|
31
|
-
port?: number;
|
|
32
25
|
env?: Record<string, string>;
|
|
33
|
-
|
|
34
|
-
|
|
26
|
+
description?: string;
|
|
27
|
+
tags?: string[];
|
|
28
|
+
region?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface CreateServerResponse {
|
|
31
|
+
server: {
|
|
32
|
+
id: string;
|
|
33
|
+
slug: string | null;
|
|
34
|
+
};
|
|
35
|
+
deploymentId: string | null;
|
|
35
36
|
}
|
|
36
|
-
export
|
|
37
|
-
|
|
38
|
-
name
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
export interface CreateDeploymentInput {
|
|
38
|
+
serverId: string;
|
|
39
|
+
name?: string;
|
|
40
|
+
branch?: string;
|
|
41
|
+
commitSha?: string;
|
|
42
|
+
commitMessage?: string;
|
|
43
|
+
trigger?: "manual" | "webhook" | "redeploy" | "rollback";
|
|
44
|
+
prNumber?: number;
|
|
45
|
+
}
|
|
46
|
+
export interface CreateDeploymentResponse {
|
|
47
|
+
id: string;
|
|
43
48
|
}
|
|
44
49
|
export interface Deployment {
|
|
45
50
|
id: string;
|
|
46
51
|
userId: string;
|
|
47
52
|
name: string;
|
|
48
|
-
source:
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
53
|
+
source: unknown;
|
|
54
|
+
status: "pending" | "building" | "running" | "stopped" | "failed";
|
|
55
|
+
port: number | null;
|
|
56
|
+
healthCheckPath: string | null;
|
|
57
|
+
provider: string;
|
|
58
|
+
appName: string;
|
|
59
|
+
error: string | null;
|
|
60
|
+
gitCommitSha: string | null;
|
|
61
|
+
gitBranch: string | null;
|
|
62
|
+
gitCommitMessage: string | null;
|
|
63
|
+
isProductionDeployment: boolean | null;
|
|
64
|
+
deploymentTrigger: string | null;
|
|
65
|
+
serverId: string | null;
|
|
52
66
|
createdAt: string;
|
|
53
67
|
updatedAt: string;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
error?: string;
|
|
59
|
-
buildLogs?: string;
|
|
60
|
-
buildStartedAt?: string;
|
|
61
|
-
buildCompletedAt?: string;
|
|
62
|
-
gitCommitSha?: string;
|
|
63
|
-
gitBranch?: string;
|
|
64
|
-
gitCommitMessage?: string;
|
|
65
|
-
serverId?: string;
|
|
66
|
-
serverSlug?: string;
|
|
67
|
-
}
|
|
68
|
-
export interface UpdateDeploymentRequest {
|
|
69
|
-
name?: string;
|
|
70
|
-
customDomain?: string;
|
|
71
|
-
env?: Record<string, string>;
|
|
72
|
-
status?: "running" | "stopped";
|
|
73
|
-
}
|
|
74
|
-
export interface RedeploymentConfig {
|
|
75
|
-
buildCommand?: string;
|
|
76
|
-
startCommand?: string;
|
|
77
|
-
port?: number;
|
|
78
|
-
env?: Record<string, string>;
|
|
79
|
-
rootDir?: string;
|
|
68
|
+
buildStartedAt: string | null;
|
|
69
|
+
buildCompletedAt: string | null;
|
|
70
|
+
archivedAt: string | null;
|
|
71
|
+
mcpUrl?: string;
|
|
80
72
|
}
|
|
81
|
-
export interface
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
success: boolean;
|
|
87
|
-
data: {
|
|
88
|
-
logs: string;
|
|
89
|
-
};
|
|
73
|
+
export interface BuildLogsResponse {
|
|
74
|
+
logs: string;
|
|
75
|
+
offset: number;
|
|
76
|
+
totalLength: number;
|
|
77
|
+
status: string;
|
|
90
78
|
}
|
|
91
79
|
export interface GitHubInstallation {
|
|
92
80
|
id: string;
|
|
@@ -96,9 +84,6 @@ export interface GitHubConnectionStatus {
|
|
|
96
84
|
is_connected: boolean;
|
|
97
85
|
installations?: GitHubInstallation[];
|
|
98
86
|
}
|
|
99
|
-
export interface GitHubAppNameResponse {
|
|
100
|
-
app_name: string;
|
|
101
|
-
}
|
|
102
87
|
export interface GitHubRepo {
|
|
103
88
|
id: number;
|
|
104
89
|
name: string;
|
|
@@ -107,12 +92,6 @@ export interface GitHubRepo {
|
|
|
107
92
|
owner: {
|
|
108
93
|
login: string;
|
|
109
94
|
};
|
|
110
|
-
branches?: Array<{
|
|
111
|
-
name: string;
|
|
112
|
-
commit: {
|
|
113
|
-
sha: string;
|
|
114
|
-
};
|
|
115
|
-
}>;
|
|
116
95
|
}
|
|
117
96
|
export interface GitHubReposResponse {
|
|
118
97
|
user: {
|
|
@@ -122,96 +101,33 @@ export interface GitHubReposResponse {
|
|
|
122
101
|
};
|
|
123
102
|
repos: GitHubRepo[];
|
|
124
103
|
}
|
|
125
|
-
/**
|
|
126
|
-
* API client for Manufact cloud
|
|
127
|
-
*/
|
|
128
104
|
export declare class McpUseAPI {
|
|
129
105
|
private baseUrl;
|
|
130
106
|
private apiKey;
|
|
131
|
-
private
|
|
132
|
-
constructor(baseUrl?: string, apiKey?: string,
|
|
133
|
-
/**
|
|
134
|
-
* Initialize API client with config
|
|
135
|
-
*/
|
|
107
|
+
private orgId;
|
|
108
|
+
constructor(baseUrl?: string, apiKey?: string, orgId?: string);
|
|
136
109
|
static create(): Promise<McpUseAPI>;
|
|
137
|
-
|
|
138
|
-
* Override the profile ID for this API client instance (e.g. from --org flag)
|
|
139
|
-
*/
|
|
140
|
-
setProfileId(profileId: string): void;
|
|
141
|
-
/**
|
|
142
|
-
* Make authenticated request
|
|
143
|
-
*/
|
|
110
|
+
setOrgId(orgId: string): void;
|
|
144
111
|
private request;
|
|
145
112
|
/**
|
|
146
113
|
* Create a persistent API key using a Better Auth access token.
|
|
147
|
-
* Calls Better Auth's built-in POST /api/auth/api-key/create endpoint.
|
|
148
114
|
*/
|
|
149
115
|
createApiKeyWithAccessToken(accessToken: string, name?: string): Promise<{
|
|
150
116
|
key: string;
|
|
151
117
|
}>;
|
|
152
|
-
/**
|
|
153
|
-
* Test authentication
|
|
154
|
-
*/
|
|
155
118
|
testAuth(): Promise<AuthTestResponse>;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* Create deployment
|
|
162
|
-
*/
|
|
163
|
-
createDeployment(request: CreateDeploymentRequest): Promise<Deployment>;
|
|
164
|
-
/**
|
|
165
|
-
* Get deployment by ID
|
|
166
|
-
*/
|
|
119
|
+
setDefaultOrg(orgId: string): Promise<void>;
|
|
120
|
+
private resolveOrganizationId;
|
|
121
|
+
createServer(body: CreateServerBody): Promise<CreateServerResponse>;
|
|
122
|
+
createDeployment(input: CreateDeploymentInput): Promise<CreateDeploymentResponse>;
|
|
167
123
|
getDeployment(deploymentId: string): Promise<Deployment>;
|
|
168
|
-
/**
|
|
169
|
-
* Stream deployment logs
|
|
170
|
-
*/
|
|
171
|
-
streamDeploymentLogs(deploymentId: string): AsyncGenerator<string, void, unknown>;
|
|
172
|
-
/**
|
|
173
|
-
* Create deployment with source code upload
|
|
174
|
-
*/
|
|
175
|
-
createDeploymentWithUpload(request: CreateDeploymentRequest, filePath: string): Promise<Deployment>;
|
|
176
|
-
/**
|
|
177
|
-
* List all deployments
|
|
178
|
-
*/
|
|
179
124
|
listDeployments(): Promise<Deployment[]>;
|
|
180
|
-
/**
|
|
181
|
-
* Delete deployment
|
|
182
|
-
*/
|
|
183
125
|
deleteDeployment(deploymentId: string): Promise<void>;
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
updateDeployment(deploymentId: string, updates: UpdateDeploymentRequest): Promise<Deployment>;
|
|
188
|
-
/**
|
|
189
|
-
* Redeploy deployment
|
|
190
|
-
*
|
|
191
|
-
* @param deploymentId - The deployment ID to redeploy
|
|
192
|
-
* @param configOrFilePath - Either a RedeploymentConfig object with updated settings,
|
|
193
|
-
* or a file path string for source code upload
|
|
194
|
-
*/
|
|
195
|
-
redeployDeployment(deploymentId: string, configOrFilePath?: RedeploymentConfig | string): Promise<Deployment>;
|
|
196
|
-
/**
|
|
197
|
-
* Get deployment logs
|
|
198
|
-
*/
|
|
199
|
-
getDeploymentLogs(deploymentId: string): Promise<string>;
|
|
200
|
-
/**
|
|
201
|
-
* Get deployment build logs
|
|
202
|
-
*/
|
|
203
|
-
getDeploymentBuildLogs(deploymentId: string): Promise<string>;
|
|
204
|
-
/**
|
|
205
|
-
* Get GitHub connection status
|
|
206
|
-
*/
|
|
126
|
+
stopDeployment(deploymentId: string): Promise<void>;
|
|
127
|
+
getDeploymentLogs(deploymentId: string, lines?: number): Promise<string>;
|
|
128
|
+
getDeploymentBuildLogs(deploymentId: string, offset?: number): Promise<BuildLogsResponse>;
|
|
207
129
|
getGitHubConnectionStatus(): Promise<GitHubConnectionStatus>;
|
|
208
|
-
|
|
209
|
-
* Get GitHub app name
|
|
210
|
-
*/
|
|
130
|
+
getGitHubRepos(_refresh?: boolean): Promise<GitHubReposResponse>;
|
|
211
131
|
getGitHubAppName(): Promise<string>;
|
|
212
|
-
/**
|
|
213
|
-
* Get accessible GitHub repositories
|
|
214
|
-
*/
|
|
215
|
-
getGitHubRepos(refresh?: boolean): Promise<GitHubReposResponse>;
|
|
216
132
|
}
|
|
217
133
|
//# sourceMappingURL=api.d.ts.map
|
package/dist/utils/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/utils/api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/utils/api.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,K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BAAgB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAMrD,cAAc,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAMnD,iBAAiB,CACrB,YAAY,EAAE,MAAM,EACpB,KAAK,GAAE,MAAY,GAClB,OAAO,CAAC,MAAM,CAAC;IAQZ,sBAAsB,CAC1B,YAAY,EAAE,MAAM,EACpB,MAAM,GAAE,MAAU,GACjB,OAAO,CAAC,iBAAiB,CAAC;IASvB,yBAAyB,IAAI,OAAO,CAAC,sBAAsB,CAAC;IAsB5D,cAAc,CAAC,QAAQ,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,mBAAmB,CAAC;IA6ChE,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC;CAI1C"}
|
package/dist/utils/config.d.ts
CHANGED
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
export interface McpConfig {
|
|
2
2
|
apiKey?: string;
|
|
3
3
|
apiUrl?: string;
|
|
4
|
+
orgId?: string;
|
|
5
|
+
orgName?: string;
|
|
6
|
+
orgSlug?: string;
|
|
7
|
+
/** @deprecated Use orgId. Read for backward compat with old config files. */
|
|
4
8
|
profileId?: string;
|
|
9
|
+
/** @deprecated Use orgName. */
|
|
5
10
|
profileName?: string;
|
|
11
|
+
/** @deprecated Use orgSlug. */
|
|
6
12
|
profileSlug?: string;
|
|
7
13
|
}
|
|
8
14
|
/**
|
|
9
|
-
* Read config from disk
|
|
15
|
+
* Read config from disk, migrating legacy `profile*` keys to `org*`.
|
|
10
16
|
*/
|
|
11
17
|
export declare function readConfig(): Promise<McpConfig>;
|
|
12
18
|
/**
|
|
13
|
-
* Write config to disk
|
|
19
|
+
* Write config to disk. Persists only the new `org*` keys and removes legacy `profile*` keys.
|
|
14
20
|
*/
|
|
15
21
|
export declare function writeConfig(config: McpConfig): Promise<void>;
|
|
16
22
|
/**
|
|
@@ -30,9 +36,9 @@ export declare function getApiKey(): Promise<string | null>;
|
|
|
30
36
|
*/
|
|
31
37
|
export declare function isLoggedIn(): Promise<boolean>;
|
|
32
38
|
/**
|
|
33
|
-
* Get the stored
|
|
39
|
+
* Get the stored organization ID from config
|
|
34
40
|
*/
|
|
35
|
-
export declare function
|
|
41
|
+
export declare function getOrgId(): Promise<string | null>;
|
|
36
42
|
/**
|
|
37
43
|
* Get web URL (for browser-based auth)
|
|
38
44
|
* This is the frontend URL where /device verification page lives
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/utils/config.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,SAAS;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AA0BD;;GAEG;AACH,wBAAsB,UAAU,IAAI,OAAO,CAAC,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/utils/config.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,SAAS;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AA0BD;;GAEG;AACH,wBAAsB,UAAU,IAAI,OAAO,CAAC,SAAS,CAAC,CAarD;AAED;;GAEG;AACH,wBAAsB,WAAW,CAAC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,CAIlE;AAED;;GAEG;AACH,wBAAsB,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,CAMlD;AAED;;GAEG;AACH,wBAAsB,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAGjD;AAED;;GAEG;AACH,wBAAsB,SAAS,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAGxD;AAED;;GAEG;AACH,wBAAsB,UAAU,IAAI,OAAO,CAAC,OAAO,CAAC,CAGnD;AAED;;GAEG;AACH,wBAAsB,QAAQ,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAGvD;AAED;;;GAGG;AACH,wBAAsB,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAEjD;AAED;;;;GAIG;AACH,wBAAsB,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,CAGtD"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-use/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.0-canary.
|
|
4
|
+
"version": "3.0.0-canary.4",
|
|
5
5
|
"description": "The mcp-use CLI is a tool for building and deploying MCP servers with support for ChatGPT Apps, Code Mode, OAuth, Notifications, Sampling, Observability and more.",
|
|
6
6
|
"author": "mcp-use, Inc.",
|
|
7
7
|
"license": "MIT",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"vite-plugin-singlefile": "^2.3.2",
|
|
57
57
|
"ws": "^8.19.0",
|
|
58
58
|
"zod": "4.3.5",
|
|
59
|
-
"mcp-use": "
|
|
60
|
-
"
|
|
59
|
+
"@mcp-use/inspector": "2.0.0-canary.4",
|
|
60
|
+
"mcp-use": "1.24.0-canary.4"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@types/ws": "^8.18.1",
|