Add PostgreSQL support to MCP Database Server

Updated package.json and package-lock.json to include PostgreSQL dependencies. Enhanced README with PostgreSQL usage instructions and configuration details. Modified index.ts to handle PostgreSQL connection parameters and logging. Added PostgresqlAdapter for database interactions.
This commit is contained in:
Karthik KK
2025-04-22 08:16:20 +12:00
parent 2a67d8b658
commit bd819d923f
7 changed files with 618 additions and 1 deletions

View File

@@ -25,10 +25,12 @@
"dependencies": {
"@modelcontextprotocol/sdk": "1.9.0",
"mssql": "11.0.1",
"pg": "^8.11.3",
"sqlite3": "5.1.7"
},
"devDependencies": {
"@types/mssql": "^9.1.5",
"@types/pg": "^8.11.13",
"@types/sqlite3": "5.1.0",
"rimraf": "^5.0.5",
"shx": "0.4.0",