@tupaas/mcp 1.2.0 → 1.2.1
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/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -304,7 +304,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
304
304
|
content: [
|
|
305
305
|
{
|
|
306
306
|
type: "text",
|
|
307
|
-
text: `Database created!\n\nName: ${database.name}\nID: ${database.id}\nConnection URL: ${database.internalDbUrl}\n\nUse this URL as DATABASE_URL when deploying:\n deploy(env_vars: {"DATABASE_URL": "${database.internalDbUrl}"})
|
|
307
|
+
text: `Database created!\n\nName: ${database.name}\nID: ${database.id}\nConnection URL: ${database.internalDbUrl}\n\nUse this URL as DATABASE_URL when deploying:\n deploy(env_vars: {"DATABASE_URL": "${database.internalDbUrl}"})\n\nIMPORTANT: If the project has a .env file with a DATABASE_URL, update it with this new URL before deploying, as dotenv may override the env_vars passed at deploy time.`,
|
|
308
308
|
},
|
|
309
309
|
],
|
|
310
310
|
};
|
|
@@ -329,7 +329,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
329
329
|
content: [
|
|
330
330
|
{
|
|
331
331
|
type: "text",
|
|
332
|
-
text: `Database: ${database.name}\nType: ${database.type}\nStatus: ${database.status}\nConnection URL: ${database.internalDbUrl}\n\nUse as DATABASE_URL in deploy env_vars.`,
|
|
332
|
+
text: `Database: ${database.name}\nType: ${database.type}\nStatus: ${database.status}\nConnection URL: ${database.internalDbUrl}\n\nUse as DATABASE_URL in deploy env_vars.\n\nIMPORTANT: If the project has a .env file with a DATABASE_URL, update it with this URL before deploying, as dotenv may override the env_vars passed at deploy time.`,
|
|
333
333
|
},
|
|
334
334
|
],
|
|
335
335
|
};
|