@mcp-use/cli 3.5.2-canary.10 → 3.5.2-canary.11
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/deploy.d.ts +2 -0
- package/dist/commands/deploy.d.ts.map +1 -1
- package/dist/index.cjs +10 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/dist/utils/api.d.ts +2 -0
- package/dist/utils/api.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -5970,6 +5970,10 @@ async function deployCommand(options) {
|
|
|
5970
5970
|
console.log(source_default.gray(` Port: `) + source_default.cyan(port));
|
|
5971
5971
|
if (options.region)
|
|
5972
5972
|
console.log(source_default.gray(` Region: `) + source_default.cyan(options.region));
|
|
5973
|
+
if (options.dockerfile)
|
|
5974
|
+
console.log(
|
|
5975
|
+
source_default.gray(` Dockerfile: `) + source_default.cyan(options.dockerfile)
|
|
5976
|
+
);
|
|
5973
5977
|
if (options.buildCommand)
|
|
5974
5978
|
console.log(
|
|
5975
5979
|
source_default.gray(` Build command: `) + source_default.cyan(options.buildCommand)
|
|
@@ -6138,7 +6142,8 @@ async function deployCommand(options) {
|
|
|
6138
6142
|
env: Object.keys(envVars).length > 0 ? envVars : void 0,
|
|
6139
6143
|
region: options.region,
|
|
6140
6144
|
buildCommand: options.buildCommand,
|
|
6141
|
-
startCommand: options.startCommand
|
|
6145
|
+
startCommand: options.startCommand,
|
|
6146
|
+
dockerfilePath: options.dockerfile
|
|
6142
6147
|
});
|
|
6143
6148
|
deploymentId = serverResult.deploymentId ?? "";
|
|
6144
6149
|
if (!deploymentId) {
|
|
@@ -9882,6 +9887,9 @@ program.command("deploy").description("Deploy MCP server from GitHub to Manufact
|
|
|
9882
9887
|
).option(
|
|
9883
9888
|
"--start-command <cmd>",
|
|
9884
9889
|
"Custom start command (overrides auto-detection)"
|
|
9890
|
+
).option(
|
|
9891
|
+
"--dockerfile <path>",
|
|
9892
|
+
"Path to a non-default Dockerfile (relative to rootDir / repo root)"
|
|
9885
9893
|
).option(
|
|
9886
9894
|
"--no-github",
|
|
9887
9895
|
"Upload local source without connecting GitHub (repo hosted in the platform-managed org)"
|
|
@@ -9901,6 +9909,7 @@ program.command("deploy").description("Deploy MCP server from GitHub to Manufact
|
|
|
9901
9909
|
region: options.region,
|
|
9902
9910
|
buildCommand: options.buildCommand,
|
|
9903
9911
|
startCommand: options.startCommand,
|
|
9912
|
+
dockerfile: options.dockerfile,
|
|
9904
9913
|
noGithub: options.github === false
|
|
9905
9914
|
});
|
|
9906
9915
|
});
|