@connorbritain/mssql-mcp-writer 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
|
Full data manipulation capabilities (INSERT, UPDATE, DELETE) with preview/confirm safeguards, but no DDL operations. Ideal for data engineers and ETL workflows where you need to modify data but want to prevent schema changes.
|
|
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 `"writer"` 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-writer in staging"` 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-writer",
|
|
5
|
-
version:
|
|
6
|
+
version: pkg.version,
|
|
6
7
|
tier: "writer",
|
|
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-writer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "MCP server for Microsoft SQL Server with read and data operations - no DDL/schema changes",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"typescript": "^5.4.5"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@connorbritain/mssql-mcp-core": "^0.1.
|
|
45
|
+
"@connorbritain/mssql-mcp-core": "^0.1.5"
|
|
46
46
|
},
|
|
47
47
|
"type": "module"
|
|
48
48
|
}
|