@codify-ai/mcp-client 1.0.24 → 1.0.25

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -17,7 +17,8 @@ const designPhilosophy = readFileSync(
17
17
  resolve(__dirname$1, "design-philosophy.md"),
18
18
  "utf-8"
19
19
  );
20
- const SERVER_URL = process.env.CODIFY_SERVER_URL || "http://localhost:8080";
20
+ const urlArg = process.argv.find((arg) => arg.startsWith("--url="));
21
+ const SERVER_URL = urlArg ? urlArg.slice("--url=".length) : process.env.CODIFY_SERVER_URL || "https://mcp.codify-api.com";
21
22
  const ACCESS_KEY = process.env.CODIFY_ACCESS_KEY;
22
23
  const CODIFY_DOC_DIR = ".codify";
23
24
  const CODIFY_OUTPUT_DIR = ".codify-output";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codify-ai/mcp-client",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "Codify MCP 客户端 - 连接到远程 Codify MCP 服务器,供 CLI 或 Cursor 等 IDE 使用",
5
5
  "type": "module",
6
6
  "bin": {