@softtechai/quickmcp 1.1.9 → 1.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softtechai/quickmcp",
3
- "version": "1.1.9",
3
+ "version": "1.1.11",
4
4
  "description": "An application to generate MCP servers from various data sources and test them",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -157,6 +157,14 @@ if (dataDirArg) {
157
157
  if (!dataDirArg && looksLikeNpxCachePath(process.env.QUICKMCP_DATA_DIR)) {
158
158
  process.env.QUICKMCP_DATA_DIR = '';
159
159
  }
160
+ if (process.env.QUICKMCP_DATA_DIR && !path.isAbsolute(process.env.QUICKMCP_DATA_DIR)) {
161
+ // Normalize relative env values (e.g. "./data") against caller CWD, not package root.
162
+ process.env.QUICKMCP_DATA_DIR = path.resolve(process.cwd(), process.env.QUICKMCP_DATA_DIR);
163
+ }
164
+ if (looksLikeNpxCachePath(process.env.QUICKMCP_DATA_DIR)) {
165
+ // Never persist SQLite under transient npx cache directories.
166
+ process.env.QUICKMCP_DATA_DIR = ensureWritableDataDir(resolveStableDefaultDataDir());
167
+ }
160
168
  if (!process.env.QUICKMCP_DATA_DIR) {
161
169
  process.env.QUICKMCP_DATA_DIR = ensureWritableDataDir(resolveStableDefaultDataDir());
162
170
  }
@@ -202,6 +210,7 @@ try {
202
210
 
203
211
  logger.error(`[QuickMCP] MCP auth mode: ${mcpAuthMode}`);
204
212
  logger.error(`[QuickMCP] MCP token present: ${mcpToken ? 'yes' : 'no'}`);
213
+ logger.error(`[QuickMCP] QUICKMCP_DATA_DIR: ${process.env.QUICKMCP_DATA_DIR || '(unset)'}`);
205
214
  if (mcpAuthMode === 'LITE') {
206
215
  logger.error(`[QuickMCP] SQLite path: ${sqlitePath || '(unavailable)'}`);
207
216
  }