@mcp-use/cli 3.5.2-canary.9 → 3.5.2
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/README.md +1 -1
- package/dist/commands/deploy.d.ts +2 -0
- package/dist/commands/deploy.d.ts.map +1 -1
- package/dist/commands/env.d.ts.map +1 -1
- package/dist/index.cjs +12 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -3
- 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 +4 -4
package/dist/index.js
CHANGED
|
@@ -1136,7 +1136,7 @@ import os3 from "os";
|
|
|
1136
1136
|
import path3 from "path";
|
|
1137
1137
|
var CONFIG_DIR = path3.join(os3.homedir(), ".mcp-use");
|
|
1138
1138
|
var CONFIG_FILE = path3.join(CONFIG_DIR, "config.json");
|
|
1139
|
-
var DEFAULT_API_URL = process.env.MCP_API_URL ? process.env.MCP_API_URL.replace(/\/api\/v1$/, "") + "/api/v1" : "https://cloud.
|
|
1139
|
+
var DEFAULT_API_URL = process.env.MCP_API_URL ? process.env.MCP_API_URL.replace(/\/api\/v1$/, "") + "/api/v1" : "https://cloud.manufact.com/api/v1";
|
|
1140
1140
|
var DEFAULT_WEB_URL = process.env.MCP_WEB_URL ? process.env.MCP_WEB_URL : "https://manufact.com";
|
|
1141
1141
|
async function ensureConfigDir() {
|
|
1142
1142
|
try {
|
|
@@ -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) {
|
|
@@ -6821,7 +6826,7 @@ async function addEnvCommand(assignment, options) {
|
|
|
6821
6826
|
async function updateEnvCommand(keyOrId, options) {
|
|
6822
6827
|
try {
|
|
6823
6828
|
await requireLogin();
|
|
6824
|
-
if (
|
|
6829
|
+
if (options.value === void 0 && !options.env && options.sensitive === void 0) {
|
|
6825
6830
|
console.error(
|
|
6826
6831
|
source_default.red(
|
|
6827
6832
|
"\u2717 Nothing to update. Provide at least one of --value, --env, --sensitive."
|
|
@@ -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
|
});
|