-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathenvironments.example.json
More file actions
130 lines (123 loc) · 4.22 KB
/
environments.example.json
File metadata and controls
130 lines (123 loc) · 4.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"defaultEnvironment": "dev-local",
"secrets": {
"providers": [
{ "type": "env" },
{ "type": "dotenv", "path": "/home/you/.mssql-mcp-server/.env" }
]
},
"environments": [
{
"name": "client-a-sql01-admin",
"description": "Client A SQL Server - Full admin access (server-level)",
"server": "10.0.0.100",
"database": "master",
"port": 1433,
"authMode": "windows",
"username": "${secret:CLIENT_A_SQL_USERNAME}",
"password": "${secret:CLIENT_A_SQL_PASSWORD}",
"domain": "CLIENTDOMAIN",
"trustServerCertificate": true,
"connectionTimeout": 30,
"accessLevel": "server",
"readonly": false,
"allowedDatabases": "*",
"deniedDatabases": ["tempdb", "model", "ReportServerTempDB"],
"auditLevel": "verbose",
"tier": "admin"
},
{
"name": "client-a-appdb-readonly",
"description": "Client A App Database - Read-only support access",
"server": "10.0.0.100",
"database": "ApplicationDB_PROD",
"port": 1433,
"authMode": "sql",
"username": "app_readonly",
"password": "${secret:CLIENT_A_READONLY_PASSWORD}",
"trustServerCertificate": true,
"accessLevel": "database",
"readonly": true,
"allowedTools": ["read_data", "list_tables", "describe_table", "search_schema", "profile_table", "inspect_relationships", "explain_query"],
"deniedSchemas": ["audit.*", "security.*", "*.credentials*"],
"maxRowsDefault": 500,
"auditLevel": "basic",
"tier": "reader"
},
{
"name": "client-a-appdb-support",
"description": "Client A App Database - Support write access with approval required",
"server": "10.0.0.100",
"database": "ApplicationDB_PROD",
"port": 1433,
"authMode": "sql",
"username": "app_support",
"password": "${secret:CLIENT_A_SUPPORT_PASSWORD}",
"trustServerCertificate": true,
"accessLevel": "database",
"readonly": false,
"allowedTools": ["read_data", "list_tables", "describe_table", "search_schema", "profile_table", "inspect_relationships", "update_data", "insert_data", "delete_data"],
"deniedSchemas": ["audit.*"],
"requireApproval": true,
"maxRowsDefault": 1000,
"auditLevel": "verbose",
"tier": "writer"
},
{
"name": "prod-azure",
"description": "Azure SQL Production - Read-only via AAD",
"server": "mycompany-prod.database.windows.net",
"database": "ProductionDB",
"port": 1433,
"authMode": "aad",
"trustServerCertificate": false,
"connectionTimeout": 30,
"accessLevel": "database",
"readonly": true,
"tier": "reader"
},
{
"name": "staging-azure",
"description": "Azure SQL Staging - Full access via AAD",
"server": "mycompany-staging.database.windows.net",
"database": "StagingDB",
"authMode": "aad",
"accessLevel": "database",
"readonly": false,
"tier": "writer"
},
{
"name": "dev-local",
"description": "Local development database - no audit logging",
"server": "localhost",
"database": "DevDB",
"port": 1433,
"authMode": "sql",
"username": "sa",
"password": "${secret:DEV_SQL_PASSWORD}",
"trustServerCertificate": true,
"accessLevel": "server",
"readonly": false,
"allowedDatabases": "*",
"auditLevel": "none",
"tier": "admin"
},
{
"name": "client-b-prod",
"description": "Client B production database - Restricted read-only",
"server": "client-b-sql.database.windows.net",
"database": "ClientBDB",
"authMode": "windows",
"username": "CLIENTB\\serviceaccount",
"password": "${secret:CLIENT_B_SERVICE_PASSWORD}",
"domain": "CLIENTB",
"accessLevel": "database",
"readonly": true,
"allowedTools": ["read_data", "list_tables", "describe_table", "search_schema"],
"allowedSchemas": ["dbo.*", "reports.*"],
"deniedSchemas": ["internal.*", "*.password*", "*.credential*"],
"maxRowsDefault": 100,
"tier": "reader"
}
]
}