Could you please implement support for READONLY mode in dotnet version?
So that when env configuration is configured with "READONLY": "true" MCP server will not allow to execute Update/Insert/Drop tools.
"env": {
"CONNECTION_STRING": "Server=localdev;Database=eCommerce;Integrated Security=True;TrustServerCertificate=True;Encrypt=False",
"READONLY": "true"
}
dotnet version:
|
.WithToolsFromAssembly(); |
Node version:
|
// Read READONLY env variable |
Could you please implement support for
READONLYmode in dotnet version?So that when
envconfiguration is configured with"READONLY": "true"MCP server will not allow to execute Update/Insert/Drop tools.dotnet version:
SQL-AI-samples/MssqlMcp/dotnet/MssqlMcp/Program.cs
Line 37 in 5a4ba3f
Node version:
SQL-AI-samples/MssqlMcp/Node/src/index.ts
Line 85 in 5a4ba3f