@aranshayan/mcp-database 0.0.0-stage → 0.1.0

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.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +136 -2
  3. package/dist/index.js +1213 -0
  4. package/package.json +63 -4
package/package.json CHANGED
@@ -1,6 +1,65 @@
1
1
  {
2
2
  "name": "@aranshayan/mcp-database",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "Safe, read-only-by-default MCP server for PostgreSQL, MySQL and SQLite: schema discovery, guarded queries, row limits and timeouts.",
5
+ "mcpName": "io.github.aranshayan/mcp-database",
6
+ "type": "module",
7
+ "bin": {
8
+ "mcp-database": "dist/index.js"
9
+ },
10
+ "main": "dist/index.js",
11
+ "files": [
12
+ "dist",
13
+ "README.md",
14
+ "LICENSE"
15
+ ],
16
+ "engines": {
17
+ "node": ">=22.13"
18
+ },
19
+ "scripts": {
20
+ "build": "tsup",
21
+ "dev": "tsup --watch",
22
+ "typecheck": "tsc --noEmit",
23
+ "test": "vitest run",
24
+ "prepublishOnly": "npm run typecheck && npm test && npm run build"
25
+ },
26
+ "keywords": [
27
+ "mcp",
28
+ "model-context-protocol",
29
+ "mcp-server",
30
+ "sql",
31
+ "postgres",
32
+ "postgresql",
33
+ "mysql",
34
+ "sqlite",
35
+ "database",
36
+ "claude"
37
+ ],
38
+ "author": "aranshayan",
39
+ "license": "MIT",
40
+ "repository": {
41
+ "type": "git",
42
+ "url": "git+https://github.com/aranshayan/mcp-database.git"
43
+ },
44
+ "homepage": "https://github.com/aranshayan/mcp-database#readme",
45
+ "bugs": {
46
+ "url": "https://github.com/aranshayan/mcp-database/issues"
47
+ },
48
+ "dependencies": {
49
+ "@modelcontextprotocol/sdk": "^1.32.2",
50
+ "mysql2": "^3.24.6",
51
+ "pg": "^8.23.1",
52
+ "pg-cursor": "^2.22.1",
53
+ "zod": "^4.6.7"
54
+ },
55
+ "devDependencies": {
56
+ "@electric-sql/pglite": "^0.6.0",
57
+ "@electric-sql/pglite-socket": "^0.3.0",
58
+ "@types/node": "^26.6.6",
59
+ "@types/pg": "^8.23.1",
60
+ "@types/pg-cursor": "^2.7.2",
61
+ "tsup": "^9.0.0",
62
+ "typescript": "^7.0.2",
63
+ "vitest": "^5.1.1"
64
+ }
65
+ }