UNPKG

database-mcp

Version:

Model Context Protocol server for multi-database access (PostgreSQL, MySQL, SQLite, Snowflake) with comprehensive introspection and analysis tools

109 lines (108 loc) 3.59 kB
{ "name": "database-mcp", "version": "1.3.2", "description": "Model Context Protocol server for multi-database access (PostgreSQL, MySQL, SQLite, Snowflake) with comprehensive introspection and analysis tools", "main": "dist/server.js", "types": "dist/server.d.ts", "bin": { "database-mcp": "dist/server.js" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "scripts": { "build": "node build.js", "build:dev": "tsc", "build:types": "tsc --emitDeclarationOnly", "build:compare": "node build.js --compare", "start": "node dist/server.js", "dev": "ts-node server.ts", "dev:watch": "nodemon --exec ts-node server.ts", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:integration": "jest tests/database.integration.test.ts", "test:unit": "jest --testPathIgnorePatterns=integration", "test:cli": "jest tests/cli.test.ts", "configure": "npm run build && node dist/server.js --configure", "find-config": "npm run build && node dist/server.js --find-config", "clean": "rimraf dist coverage", "prepare": "husky", "prepublishOnly": "npm run clean && npm run build && npm run build:types && npm run test:unit", "postinstall": "echo '\n🎉 Database MCP Server installed successfully!\n\n📖 Quick Start with NPX (Recommended):\n npx database-mcp init \"your_connection_string\"\n npx database-mcp status\n \n📖 Documentation: https://github.com/nitaiaharoni1/database-mcp#readme\n💡 For help: npx database-mcp --help\n'", "release": "npm run build && node dist/release.js", "release:patch": "npm run build && node dist/release.js patch --yes", "release:minor": "npm run build && node dist/release.js minor --yes", "release:major": "npm run build && node dist/release.js major --yes", "release:dry": "npm run build && node dist/release.js --dry-run", "version:check": "echo \"Current version: $(node -p 'require(\"./package.json\").version')\"", "publish:check": "npm run prepublishOnly && npm pack --dry-run", "publish:public": "npm publish --access public" }, "keywords": [ "mcp", "model-context-protocol", "npx", "postgresql", "postgres", "mysql", "sqlite", "snowflake", "multi-database", "claude", "ai", "database", "sql", "introspection", "analytics", "database-tools", "cli", "open-source", "typescript" ], "author": "Nitai Aharoni <nitaiaharoni1@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/nitaiaharoni1/database-mcp.git" }, "bugs": { "url": "https://github.com/nitaiaharoni1/database-mcp/issues" }, "homepage": "https://github.com/nitaiaharoni1/database-mcp#readme", "files": [ "dist/", ".env.example", "README.md", "LICENSE" ], "preferGlobal": true, "dependencies": { "@modelcontextprotocol/sdk": "^1.13.0", "csv-writer": "^1.6.0", "dotenv": "^16.5.0", "mysql2": "^3.14.1", "pg": "^8.16.0", "snowflake-sdk": "^2.1.0", "sqlite": "^5.1.1", "sqlite3": "^5.1.7" }, "devDependencies": { "@types/jest": "^29.5.13", "@types/node": "^24.0.3", "@types/pg": "^8.15.2", "@types/sqlite3": "^3.1.11", "esbuild": "^0.25.5", "husky": "^9.1.7", "jest": "^29.7.0", "nodemon": "^3.0.0", "rimraf": "^5.0.10", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", "typescript": "^5.8.3" }, "engines": { "node": ">=16.0.0" } }