@connorbritain/mssql-mcp-reader 0.2.0 → 0.3.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.
- package/LICENSE +0 -0
- package/README.md +12 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.d.ts.map +0 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
@@ -7,6 +7,18 @@
|
|
|
7
7
|
|
|
8
8
|
Safe schema discovery, profiling, and querying with zero risk of data modification. Ideal for analysts, auditors, and anyone who needs database exploration without write access.
|
|
9
9
|
|
|
10
|
+
## Architecture
|
|
11
|
+
|
|
12
|
+
This package is a thin wrapper around [`@connorbritain/mssql-mcp-core`](https://github.com/ConnorBritain/mssql-mcp-core), which contains all shared logic, tools, and governance features. The wrapper selects the `"reader"` tier and delegates to the core's `startMcpServer()` function. This design enables:
|
|
13
|
+
|
|
14
|
+
- **Hard separation** at the package level — regulated enterprises can guarantee that certain builds physically cannot perform destructive operations
|
|
15
|
+
- **Independent versioning** — each tier can be published separately with its own release cycle
|
|
16
|
+
- **Clear audit trail** — `"we only allow mssql-mcp-reader in prod"` is a compile-time guarantee
|
|
17
|
+
|
|
18
|
+
The core library handles all SQL Server connections, tool dispatch, audit logging, and governance enforcement.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
10
22
|
## Package Tiers
|
|
11
23
|
|
|
12
24
|
| Package | npm | Tools | Use Case |
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.d.ts.map
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { startMcpServer } from "@connorbritain/mssql-mcp-core";
|
|
3
|
+
import pkg from "../package.json" with { type: "json" };
|
|
3
4
|
startMcpServer({
|
|
4
5
|
name: "mssql-mcp-reader",
|
|
5
|
-
version:
|
|
6
|
+
version: pkg.version,
|
|
6
7
|
tier: "reader",
|
|
7
8
|
}).catch((e) => {
|
|
8
9
|
console.error("Fatal:", e);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,GAAG,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAExD,cAAc,CAAC;IACb,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,GAAG,CAAC,OAAO;IACpB,IAAI,EAAE,QAAQ;CACf,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IAC3B,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@connorbritain/mssql-mcp-reader",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Read-only MCP server for Microsoft SQL Server - schema discovery, profiling, and safe querying without write operations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"typescript": "^5.4.5"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@connorbritain/mssql-mcp-core": "^0.1.
|
|
46
|
+
"@connorbritain/mssql-mcp-core": "^0.1.5"
|
|
47
47
|
},
|
|
48
48
|
"type": "module"
|
|
49
49
|
}
|