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 |