@aliyun-rds/supabase-mcp-server 1.0.8 → 1.0.9
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/dist/index.js +2 -2
- package/package.json +1 -2
package/dist/index.js
CHANGED
|
@@ -904,10 +904,10 @@ async function runExternalCommand(command) {
|
|
|
904
904
|
}
|
|
905
905
|
async function executeSqlWithFallback(client, sql, readOnly = true) {
|
|
906
906
|
if (client.isPgAvailable()) {
|
|
907
|
-
console.
|
|
907
|
+
console.warn("Using direct database connection (bypassing JWT)...");
|
|
908
908
|
return await client.executeSqlWithPg(sql);
|
|
909
909
|
}
|
|
910
|
-
console.
|
|
910
|
+
console.warn("Falling back to RPC method...");
|
|
911
911
|
return await client.executeSqlViaRpc(sql, readOnly);
|
|
912
912
|
}
|
|
913
913
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aliyun-rds/supabase-mcp-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "MCP (Model Context Protocol) server for self-hosted Supabase instances. Allows AI assistants to interact with your self-hosted Supabase database.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@alicloud/openapi-client": "^0.4.12",
|
|
36
36
|
"@alicloud/rdsai20250507": "^1.0.0",
|
|
37
|
-
"@aliyun-rds/supabase-mcp-server": "^1.0.7",
|
|
38
37
|
"@modelcontextprotocol/sdk": "latest",
|
|
39
38
|
"@supabase/supabase-js": "^2.49.4",
|
|
40
39
|
"commander": "^13.1.0",
|