Skip to content

Commit 91bd53d

Browse files
committed
Remove hardcoded server + db info
1 parent 6c5f296 commit 91bd53d

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

MssqlMcp/NodejsMcpServer/src/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ import { DropTableTool } from "./tools/DropTableTool.js";
2121
import { DefaultAzureCredential, InteractiveBrowserCredential } from "@azure/identity";
2222
import { DescribeTableTool } from "./tools/DescribeTableTool.js";
2323

24-
// Load environment variables
25-
dotenv.config({ path: './src/variables.env' });
26-
2724
// MSSQL Database connection configuration
2825
// const credential = new DefaultAzureCredential();
2926

MssqlMcp/NodejsMcpServer/src/samples/claude_desktop_config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"mcpServers": {
33
"mssql": {
44
"command": "node",
5-
"args": [ "Q:/Repos/MCP/dist/index.js" ],
5+
"args": [ "Q:/Repos/SQL-AI-samples/MssqlMcp/NodejsMcpServer/dist/index.js" ],
66
"env": {
7-
"SERVER_NAME": "b72dcvftmovebj2fvevle6xu54-hnqvdb2manse5oredy53issjcq.dxt-database.fabric.microsoft.com",
8-
"DATABASE_NAME": "AdventureWorks-0e514e33-456f-4500-8c27-a6cfe3545811",
7+
"SERVER_NAME": "your-server-name.database.windows.net",
8+
"DATABASE_NAME": "your-database-name",
99
"READONLY": "false"
1010
}
1111
}

MssqlMcp/NodejsMcpServer/src/variables.env

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)