{"_id":"@aliyun-rds/supabase-mcp-server","_rev":"13-c00a170455b350b00a7a9568309f61ab","name":"@aliyun-rds/supabase-mcp-server","dist-tags":{"latest":"1.0.10"},"versions":{"1.0.0":{"name":"@aliyun-rds/supabase-mcp-server","version":"1.0.0","keywords":["supabase","mcp","self-hosted","ai","claude","cursor","database","postgresql"],"author":{"url":"maintained by lemontreen","name":"HenkDz"},"license":"MIT","_id":"@aliyun-rds/supabase-mcp-server@1.0.0","maintainers":[{"name":"lemontreen","email":"2305465291@qq.com"},{"name":"muxin414","email":"yanghaolei.yhl@alibaba-inc.com"}],"bin":{"supabase-mcp":"dist/index.js"},"dist":{"shasum":"e75ddcbab1aa574425b49a603c71aa6f83dead11","tarball":"https://registry.npmjs.org/@aliyun-rds/supabase-mcp-server/-/supabase-mcp-server-1.0.0.tgz","fileCount":3,"integrity":"sha512-PPBN54cjMbG8trU0rqT98SLhAt/H4+MPhdBSohs541u0fpuASRrko2vBsL8WmXDWRGT9RH1HlHh8d9ny1Qj1Jw==","signatures":[{"sig":"MEQCIGEdmwuVMJfwMyDOIjFyvZRQ83lMVQLyc37gJ7m8UWEEAiAW9VM0IITJYmyDRYjZ/pxYWA6VL+v3a+D1CLDAICC1Ww==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":85065},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"a48888104306e63e77133a4eba887b20003d583d","scripts":{"dev":"tsup src/index.ts --format esm --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsup src/index.ts --format esm --clean","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"lemontreen","email":"2305465291@qq.com"},"_npmVersion":"11.5.1","description":"MCP (Model Context Protocol) server for self-hosted Supabase instances. Allows AI assistants to interact with your self-hosted Supabase database.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"pg":"^8.15.6","zod":"^3.24.3","commander":"^13.1.0","@supabase/supabase-js":"^2.49.4","@modelcontextprotocol/sdk":"latest"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","@types/pg":"^8.11.14","typescript":"^5.8.3","@types/node":"^22.15.3"},"_npmOperationalInternal":{"tmp":"tmp/supabase-mcp-server_1.0.0_1756453978315_0.5086175886655429","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@aliyun-rds/supabase-mcp-server","version":"1.0.1","keywords":["supabase","mcp","self-hosted","ai","claude","cursor","database","postgresql"],"author":{"url":"maintained by lemontreen","name":"HenkDz"},"license":"MIT","_id":"@aliyun-rds/supabase-mcp-server@1.0.1","maintainers":[{"name":"lemontreen","email":"2305465291@qq.com"},{"name":"muxin414","email":"yanghaolei.yhl@alibaba-inc.com"}],"bin":{"supabase-mcp":"dist/index.js"},"dist":{"shasum":"2c1578142bd482150b7b7bc1149c1970c1d3f591","tarball":"https://registry.npmjs.org/@aliyun-rds/supabase-mcp-server/-/supabase-mcp-server-1.0.1.tgz","fileCount":4,"integrity":"sha512-Ov5EyXQnvqgB9bS9pBfefdSRFQrJ/TsuvuS3/G3wqzpsYmLhOwq1z0sqbV0TOveM/0nIO+1XhRxIkzTTcA+/aw==","signatures":[{"sig":"MEQCIBNCpqq+9uHrcb4tcTjk76wyqkETqO5ayWfQ7Ur4qw3dAiBHyv1x4B8XbGL+rL0JfxyYA7mZ2tN3ZpdpM7ZV7GpO7Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86123},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"a48888104306e63e77133a4eba887b20003d583d","scripts":{"dev":"tsup src/index.ts --format esm --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsup src/index.ts --format esm --clean","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"lemontreen","email":"2305465291@qq.com"},"_npmVersion":"11.5.1","description":"MCP (Model Context Protocol) server for self-hosted Supabase instances. Allows AI assistants to interact with your self-hosted Supabase database.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"pg":"^8.15.6","zod":"^3.24.3","commander":"^13.1.0","@supabase/supabase-js":"^2.49.4","@modelcontextprotocol/sdk":"latest"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","@types/pg":"^8.11.14","typescript":"^5.8.3","@types/node":"^22.15.3"},"_npmOperationalInternal":{"tmp":"tmp/supabase-mcp-server_1.0.1_1756454145282_0.6825108591548605","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@aliyun-rds/supabase-mcp-server","version":"1.0.2","keywords":["supabase","mcp","self-hosted","ai","claude","cursor","database","postgresql"],"author":{"url":"maintained by lemontreen","name":"HenkDz"},"license":"MIT","_id":"@aliyun-rds/supabase-mcp-server@1.0.2","maintainers":[{"name":"lemontreen","email":"2305465291@qq.com"},{"name":"muxin414","email":"yanghaolei.yhl@alibaba-inc.com"}],"bin":{"supabase-mcp":"dist/index.js"},"dist":{"shasum":"e5bebac0dbfd2166941809a5836667f87b0ae693","tarball":"https://registry.npmjs.org/@aliyun-rds/supabase-mcp-server/-/supabase-mcp-server-1.0.2.tgz","fileCount":4,"integrity":"sha512-gr+AmG5ni9J4Hww6Ua2jJqEenALcGLlHDgt+M2FABpIzRPzNq+dNxp3ZUzlUho6+vYJ4aGK6UducfA3JtIFhNw==","signatures":[{"sig":"MEUCIQDNzC1QIOSau7Y8+YY8QKSZ7z1/D/KCMXYZoXQvoB2DGQIgFn+76rB44PAFD5PZ2ayeBAHyeBf1ltkEFKII6kkEdgA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86122},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"a48888104306e63e77133a4eba887b20003d583d","scripts":{"dev":"tsup src/index.ts --format esm --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsup src/index.ts --format esm --clean","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"lemontreen","email":"2305465291@qq.com"},"_npmVersion":"11.5.1","description":"MCP (Model Context Protocol) server for self-hosted Supabase instances. Allows AI assistants to interact with your self-hosted Supabase database.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"pg":"^8.15.6","zod":"^3.24.3","commander":"^13.1.0","@supabase/supabase-js":"^2.49.4","@modelcontextprotocol/sdk":"latest"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","@types/pg":"^8.11.14","typescript":"^5.8.3","@types/node":"^22.15.3"},"_npmOperationalInternal":{"tmp":"tmp/supabase-mcp-server_1.0.2_1756454283851_0.32924304949417516","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@aliyun-rds/supabase-mcp-server","version":"1.0.3","keywords":["supabase","mcp","self-hosted","ai","claude","cursor","database","postgresql"],"author":{"url":"maintained by lemontreen","name":"HenkDz"},"license":"MIT","_id":"@aliyun-rds/supabase-mcp-server@1.0.3","maintainers":[{"name":"lemontreen","email":"2305465291@qq.com"},{"name":"muxin414","email":"yanghaolei.yhl@alibaba-inc.com"}],"bin":{"supabase-mcp":"dist/index.js"},"dist":{"shasum":"f84cf996714fccdd16b5427684d4501bda4b90b3","tarball":"https://registry.npmjs.org/@aliyun-rds/supabase-mcp-server/-/supabase-mcp-server-1.0.3.tgz","fileCount":4,"integrity":"sha512-VRYnrEUwJjsf2pEF6goKe7660ZdieR95SCxr8a8S7PxixtHr0mHJb6V+CElO2LgwQpdvhASpnv9SeX1zDcct8w==","signatures":[{"sig":"MEYCIQDqWWlkU0LdBSSVNEmec8nrHpBPgp71Y6jIWt+8LvA9tQIhANKsg6FYbq+27jIkZfhxN9eblK+rMpYrtpLLVPscNmKx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":95853},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"0b732d58320e7f6a97ff66a0a95f82cc84c31801","scripts":{"dev":"tsup src/index.ts --format esm --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsup src/index.ts --format esm --clean","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"muxin414","email":"yanghaolei.yhl@alibaba-inc.com"},"_npmVersion":"11.4.2","description":"MCP (Model Context Protocol) server for self-hosted Supabase instances. Allows AI assistants to interact with your self-hosted Supabase database.","directories":{},"_nodeVersion":"24.2.0","dependencies":{"pg":"^8.15.6","zod":"^3.24.3","commander":"^13.1.0","@supabase/supabase-js":"^2.49.4","@modelcontextprotocol/sdk":"latest"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","@types/pg":"^8.11.14","typescript":"^5.8.3","@types/node":"^22.15.3"},"_npmOperationalInternal":{"tmp":"tmp/supabase-mcp-server_1.0.3_1761645515467_0.5325602465575998","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@aliyun-rds/supabase-mcp-server","version":"1.0.4","keywords":["supabase","mcp","self-hosted","ai","claude","cursor","database","postgresql"],"author":{"url":"maintained by lemontreen","name":"HenkDz"},"license":"MIT","_id":"@aliyun-rds/supabase-mcp-server@1.0.4","maintainers":[{"name":"lemontreen","email":"2305465291@qq.com"},{"name":"muxin414","email":"yanghaolei.yhl@alibaba-inc.com"}],"bin":{"supabase-mcp":"dist/index.js"},"dist":{"shasum":"d13f05a5b79c325750188c9a426c45a0176ad0aa","tarball":"https://registry.npmjs.org/@aliyun-rds/supabase-mcp-server/-/supabase-mcp-server-1.0.4.tgz","fileCount":4,"integrity":"sha512-TwoEs7T3q8ET5DW6gPixMA/6RZQtlMqNArxZQIHaNHKzzGS7Qc3zvBGWIsRDWfqjWm5ehj23d3iIbPDWhAwzmg==","signatures":[{"sig":"MEYCIQCGYvH3VxZ5c6kkffMwramAaamVRERzqfuE6UkqHeOFawIhAN0Dx/ZQl6/v15+1CuW67OdEPT1cLxsMRi5jDeFXLP4K","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":128566},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"20362cdcba0eb1b552c3b393114a6f350cb97c45","scripts":{"dev":"tsup src/index.ts --format esm --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsup src/index.ts --format esm --clean","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"muxin414","email":"yanghaolei.yhl@alibaba-inc.com"},"_npmVersion":"11.4.2","description":"MCP (Model Context Protocol) server for self-hosted Supabase instances. Allows AI assistants to interact with your self-hosted Supabase database.","directories":{},"_nodeVersion":"24.2.0","dependencies":{"pg":"^8.15.6","zod":"^3.24.3","commander":"^13.1.0","zod-to-json-schema":"^3.24.1","@supabase/supabase-js":"^2.49.4","@alicloud/rdsai20250507":"^1.0.0","@alicloud/openapi-client":"^0.4.12","@modelcontextprotocol/sdk":"latest"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","@types/pg":"^8.11.14","typescript":"^5.8.3","@types/node":"^22.15.3"},"_npmOperationalInternal":{"tmp":"tmp/supabase-mcp-server_1.0.4_1762742968166_0.42272224542979053","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@aliyun-rds/supabase-mcp-server","version":"1.0.5","keywords":["supabase","mcp","self-hosted","ai","claude","cursor","database","postgresql"],"author":{"url":"maintained by lemontreen","name":"HenkDz"},"license":"MIT","_id":"@aliyun-rds/supabase-mcp-server@1.0.5","maintainers":[{"name":"aiyi200","email":"aiyongpeng.ayp@alibaba-inc.com"},{"name":"lemontreen","email":"2305465291@qq.com"},{"name":"muxin414","email":"yanghaolei.yhl@alibaba-inc.com"}],"bin":{"supabase-mcp":"dist/index.js"},"dist":{"shasum":"b7fe6b42a840f8b386e97c2fc5258e17d00b07f3","tarball":"https://registry.npmjs.org/@aliyun-rds/supabase-mcp-server/-/supabase-mcp-server-1.0.5.tgz","fileCount":4,"integrity":"sha512-u/mxX4sTdoBPFDnZqceogjkfUry/Qr9D11SqPVXeV7LZCmc8UnpXK36kpCg/WnqFthIw1FosHoqPqIFbn6j/2Q==","signatures":[{"sig":"MEUCIQCISkYkqgwmPK1klUQ/+Dn2Wmh2+BIuptIwN1JG9t1TMAIgVKqHRhNzsV2hgoGz4TDYF92BMyNMhahqg4I+y8KYrUQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":125726},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"8165f398074f8f8de035dbc53c9624a56d5d3906","scripts":{"dev":"tsup src/index.ts --format esm --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsup src/index.ts --format esm --clean","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"aiyi200","email":"aiyongpeng.ayp@alibaba-inc.com"},"_npmVersion":"11.6.0","description":"MCP (Model Context Protocol) server for self-hosted Supabase instances. Allows AI assistants to interact with your self-hosted Supabase database.","directories":{},"_nodeVersion":"23.10.0","dependencies":{"pg":"^8.15.6","zod":"^3.24.3","commander":"^13.1.0","zod-to-json-schema":"^3.24.1","@supabase/supabase-js":"^2.49.4","@alicloud/rdsai20250507":"^1.0.0","@alicloud/openapi-client":"^0.4.12","@modelcontextprotocol/sdk":"latest"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","@types/pg":"^8.11.14","typescript":"^5.8.3","@types/node":"^22.15.3"},"_npmOperationalInternal":{"tmp":"tmp/supabase-mcp-server_1.0.5_1763114965878_0.8565502684617305","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@aliyun-rds/supabase-mcp-server","version":"1.0.6","keywords":["supabase","mcp","self-hosted","ai","claude","cursor","database","postgresql"],"author":{"url":"maintained by lemontreen","name":"HenkDz"},"license":"MIT","_id":"@aliyun-rds/supabase-mcp-server@1.0.6","maintainers":[{"name":"aiyi200","email":"aiyongpeng.ayp@alibaba-inc.com"},{"name":"lemontreen","email":"2305465291@qq.com"},{"name":"muxin414","email":"yanghaolei.yhl@alibaba-inc.com"}],"bin":{"supabase-mcp":"dist/index.js"},"dist":{"shasum":"4c325e36f2fb66bac76478f843f464723625f440","tarball":"https://registry.npmjs.org/@aliyun-rds/supabase-mcp-server/-/supabase-mcp-server-1.0.6.tgz","fileCount":4,"integrity":"sha512-Dnsz/jW7/12bnrprExM25RjnXqTXwvVl+eVv2RyYXuIHG/3rkhZVPlx9OYkVmOl5ikzqmhqXGnKInZLpBjBFZw==","signatures":[{"sig":"MEUCIQC1ntN9zdoqxlNCE5fbxY5xQyaavobyvFqLZkrQHiulXQIgJ+2sp+XhDjZCjO0T+t6scfzdxpKq4tJQfELLB4PScas=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":125761},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"0cdac6050ecd57a71f8a112478405779fa8fc43b","scripts":{"dev":"tsup src/index.ts --format esm --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsup src/index.ts --format esm --clean","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"aiyi200","email":"aiyongpeng.ayp@alibaba-inc.com"},"_npmVersion":"11.6.0","description":"MCP (Model Context Protocol) server for self-hosted Supabase instances. Allows AI assistants to interact with your self-hosted Supabase database.","directories":{},"_nodeVersion":"23.10.0","dependencies":{"pg":"^8.15.6","zod":"^3.24.3","commander":"^13.1.0","zod-to-json-schema":"^3.24.1","@supabase/supabase-js":"^2.49.4","@alicloud/rdsai20250507":"^1.0.0","@alicloud/openapi-client":"^0.4.12","@modelcontextprotocol/sdk":"latest"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","@types/pg":"^8.11.14","typescript":"^5.8.3","@types/node":"^22.15.3"},"_npmOperationalInternal":{"tmp":"tmp/supabase-mcp-server_1.0.6_1763367566916_0.6437872665484723","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@aliyun-rds/supabase-mcp-server","version":"1.0.7","keywords":["supabase","mcp","self-hosted","ai","claude","cursor","database","postgresql"],"author":{"url":"maintained by lemontreen","name":"HenkDz"},"license":"MIT","_id":"@aliyun-rds/supabase-mcp-server@1.0.7","maintainers":[{"name":"aiyi200","email":"aiyongpeng.ayp@alibaba-inc.com"},{"name":"lemontreen","email":"2305465291@qq.com"},{"name":"muxin414","email":"yanghaolei.yhl@alibaba-inc.com"}],"bin":{"supabase-mcp":"dist/index.js"},"dist":{"shasum":"867b7d8f8226479f4017ed6566b098df1a54547e","tarball":"https://registry.npmjs.org/@aliyun-rds/supabase-mcp-server/-/supabase-mcp-server-1.0.7.tgz","fileCount":4,"integrity":"sha512-DcT3pLSjORMTKlAxPS0ZRor/87QDqRePU8FJX6kNg3heuDNxpF5OJ52DmFgVCFA4wz89H7x1TF6dT2dia41gvg==","signatures":[{"sig":"MEUCIQC0CKP30zHOe0L9jB6M0KSPywSbadswgukuOGP1XHVGlgIgJxGyMDXaN7wvjrudHXOeOWtN2Q5g9G+/GXVmVLeXPlY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":154942},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"978df227d55448998f5a0ea079770807557ee4d4","scripts":{"dev":"tsup src/index.ts --format esm --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsup src/index.ts --format esm --clean","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"aiyi200","email":"aiyongpeng.ayp@alibaba-inc.com"},"_npmVersion":"11.6.0","description":"MCP (Model Context Protocol) server for self-hosted Supabase instances. Allows AI assistants to interact with your self-hosted Supabase database.","directories":{},"_nodeVersion":"23.10.0","dependencies":{"pg":"^8.15.6","zod":"^3.24.3","commander":"^13.1.0","zod-to-json-schema":"^3.24.1","@supabase/supabase-js":"^2.49.4","@alicloud/rdsai20250507":"^1.0.0","@alicloud/openapi-client":"^0.4.12","@modelcontextprotocol/sdk":"latest"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","@types/pg":"^8.11.14","typescript":"^5.8.3","@types/node":"^22.15.3"},"_npmOperationalInternal":{"tmp":"tmp/supabase-mcp-server_1.0.7_1765252367757_0.845504917055522","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@aliyun-rds/supabase-mcp-server","version":"1.0.8","keywords":["supabase","mcp","self-hosted","ai","claude","cursor","database","postgresql"],"author":{"url":"maintained by lemontreen","name":"HenkDz"},"license":"MIT","_id":"@aliyun-rds/supabase-mcp-server@1.0.8","maintainers":[{"name":"aiyi200","email":"aiyongpeng.ayp@alibaba-inc.com"},{"name":"lemontreen","email":"2305465291@qq.com"},{"name":"muxin414","email":"yanghaolei.yhl@alibaba-inc.com"}],"bin":{"supabase-mcp":"dist/index.js"},"dist":{"shasum":"9b050196c11be8f61bbe10dc5f8f34998fffa38c","tarball":"https://registry.npmjs.org/@aliyun-rds/supabase-mcp-server/-/supabase-mcp-server-1.0.8.tgz","fileCount":4,"integrity":"sha512-krq+VoFQ3ss16qrTCZuKEUUwoOU9B4AoljcDWwKGI0vgII+toI4qn5G9V8Pfn0iE08626tDQrCjYCn02NsBW3g==","signatures":[{"sig":"MEUCIQD7mYK5lHf+735ER207uAK+mDuOZkWhrxrGmJTNd+rcwgIgR7P9jEfqbvmF8oAKx2BviUCTOQh4zJKvOINNBbYZs2I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":157923},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"dac2d6bcd0957dcba9d752c8b7906f7fee03e6e2","scripts":{"dev":"tsup src/index.ts --format esm --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsup src/index.ts --format esm --clean","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"aiyi200","email":"aiyongpeng.ayp@alibaba-inc.com"},"_npmVersion":"11.6.0","description":"MCP (Model Context Protocol) server for self-hosted Supabase instances. Allows AI assistants to interact with your self-hosted Supabase database.","directories":{},"_nodeVersion":"23.10.0","dependencies":{"pg":"^8.15.6","zod":"^3.24.3","commander":"^13.1.0","zod-to-json-schema":"^3.24.1","@supabase/supabase-js":"^2.49.4","@alicloud/rdsai20250507":"^1.0.0","@alicloud/openapi-client":"^0.4.12","@modelcontextprotocol/sdk":"latest","@aliyun-rds/supabase-mcp-server":"^1.0.7"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","@types/pg":"^8.11.14","typescript":"^5.8.3","@types/node":"^22.15.3"},"_npmOperationalInternal":{"tmp":"tmp/supabase-mcp-server_1.0.8_1765630071326_0.07777473294138915","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@aliyun-rds/supabase-mcp-server","version":"1.0.9","keywords":["supabase","mcp","self-hosted","ai","claude","cursor","database","postgresql"],"author":{"url":"maintained by lemontreen","name":"HenkDz"},"license":"MIT","_id":"@aliyun-rds/supabase-mcp-server@1.0.9","maintainers":[{"name":"aiyi200","email":"aiyongpeng.ayp@alibaba-inc.com"},{"name":"lemontreen","email":"2305465291@qq.com"},{"name":"muxin414","email":"yanghaolei.yhl@alibaba-inc.com"}],"bin":{"supabase-mcp":"dist/index.js"},"dist":{"shasum":"2e82080664145975688fc90345e8b64d5a0c150c","tarball":"https://registry.npmjs.org/@aliyun-rds/supabase-mcp-server/-/supabase-mcp-server-1.0.9.tgz","fileCount":4,"integrity":"sha512-HXv0SvWldWqocQtcMnpvjIO884DaBW8sF2DsogbGKTLeFCYAl8qaLPjaPHO18Shs4NLxOi4QAk+6DBObOm1pAw==","signatures":[{"sig":"MEUCIQDhE5/BbL9vDpbt2DPYxdKvz3ibRiH8vzASR8EF7QnzRgIgPejVNDYpR9xMHCgmemUGVi1asnpu3iDaMcHx8WiNmvk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":157874},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"e64b2c036d1c236a4f10ce5bff9876aba84f9c73","scripts":{"dev":"tsup src/index.ts --format esm --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsup src/index.ts --format esm --clean","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"aiyi200","email":"aiyongpeng.ayp@alibaba-inc.com"},"_npmVersion":"11.6.0","description":"MCP (Model Context Protocol) server for self-hosted Supabase instances. Allows AI assistants to interact with your self-hosted Supabase database.","directories":{},"_nodeVersion":"23.10.0","dependencies":{"pg":"^8.15.6","zod":"^3.24.3","commander":"^13.1.0","zod-to-json-schema":"^3.24.1","@supabase/supabase-js":"^2.49.4","@alicloud/rdsai20250507":"^1.0.0","@alicloud/openapi-client":"^0.4.12","@modelcontextprotocol/sdk":"latest"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","@types/pg":"^8.11.14","typescript":"^5.8.3","@types/node":"^22.15.3"},"_npmOperationalInternal":{"tmp":"tmp/supabase-mcp-server_1.0.9_1767928016945_0.7001886448839074","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@aliyun-rds/supabase-mcp-server","version":"1.0.10","keywords":["supabase","mcp","self-hosted","ai","claude","cursor","database","postgresql"],"author":{"url":"maintained by lemontreen","name":"HenkDz"},"license":"MIT","_id":"@aliyun-rds/supabase-mcp-server@1.0.10","maintainers":[{"name":"aiyi200","email":"aiyongpeng.ayp@alibaba-inc.com"},{"name":"lemontreen","email":"2305465291@qq.com"},{"name":"muxin414","email":"yanghaolei.yhl@alibaba-inc.com"}],"bin":{"supabase-mcp":"dist/index.js"},"dist":{"shasum":"5301b3d2b49ae7b577a7820cd1fc3f6e6f0fe9aa","tarball":"https://registry.npmjs.org/@aliyun-rds/supabase-mcp-server/-/supabase-mcp-server-1.0.10.tgz","fileCount":4,"integrity":"sha512-8GSVwsu5XLtQx5gTGJTKGf3rSGft+njqquPURJBaja2/8h+0n0QlsD8TftbzBzHlgEQgFx4iXBjIynkxGzZ7nQ==","signatures":[{"sig":"MEUCIHsUsgvXkQ/dMXlwtCAsc4yzb7kT2TGELjuwADpSezb0AiEAqRL96tP8gNHHxeKHAAwvP0NqevIQ/LfXEVv0DsZ5TOY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":160654},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"0814dbf17da274be2febbf8e9546a67c3cd723b9","scripts":{"dev":"tsup src/index.ts --format esm --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsup src/index.ts --format esm --clean","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"aiyi200","email":"aiyongpeng.ayp@alibaba-inc.com"},"_npmVersion":"11.6.0","description":"MCP (Model Context Protocol) server for self-hosted Supabase instances. Allows AI assistants to interact with your self-hosted Supabase database.","directories":{},"_nodeVersion":"23.10.0","dependencies":{"pg":"^8.15.6","zod":"^3.24.3","commander":"^13.1.0","zod-to-json-schema":"^3.24.1","@supabase/supabase-js":"^2.49.4","@alicloud/rdsai20250507":"^1.0.0","@alicloud/openapi-client":"^0.4.12","@modelcontextprotocol/sdk":"latest"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","@types/pg":"^8.11.14","typescript":"^5.8.3","@types/node":"^22.15.3"},"_npmOperationalInternal":{"tmp":"tmp/supabase-mcp-server_1.0.10_1768529685229_0.8494624424085269","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-08-29T07:52:58.219Z","modified":"2026-03-10T12:09:06.926Z","1.0.0":"2025-08-29T07:52:58.491Z","1.0.1":"2025-08-29T07:55:45.455Z","1.0.2":"2025-08-29T07:58:04.029Z","1.0.3":"2025-10-28T09:58:35.660Z","1.0.4":"2025-11-10T02:49:28.374Z","1.0.5":"2025-11-14T10:09:26.063Z","1.0.6":"2025-11-17T08:19:27.127Z","1.0.7":"2025-12-09T03:52:47.887Z","1.0.8":"2025-12-13T12:47:51.491Z","1.0.9":"2026-01-09T03:06:57.104Z","1.0.10":"2026-01-16T02:14:45.397Z"},"author":{"url":"maintained by lemontreen","name":"HenkDz"},"license":"MIT","keywords":["supabase","mcp","self-hosted","ai","claude","cursor","database","postgresql"],"description":"MCP (Model Context Protocol) server for self-hosted Supabase instances. Allows AI assistants to interact with your self-hosted Supabase database.","maintainers":[{"email":"aiyongpeng.ayp@alibaba-inc.com","name":"aiyi200"},{"email":"archarload@gmail.com","name":"rds_memory"},{"email":"2305465291@qq.com","name":"lemontreen"},{"email":"yanghaolei.yhl@alibaba-inc.com","name":"muxin414"}],"readme":"# Aliyun RDS Supabase MCP Server\n\nMCP (Model Context Protocol) server for Supabase instances running on Aliyun RDS. Enables AI assistants like Claude to interact with your Supabase instance hosted on Aliyun cloud infrastructure.\n\nThis project was adapted from the original work by [HenkDz](https://github.com/HenkDz) and is now maintained by the Aliyun RDS Research and Development Team.\n\n## Alibaba Cloud Operation\n\nThis server is purpose-built for Supabase instances that run on Aliyun RDS AI. Key capabilities:\n\n- Automatically fetches Supabase credentials from Alibaba Cloud OpenAPI\n- Only requires Alibaba Cloud AccessKey (AK) and SecretKey (SK)\n- Supports multiple Supabase instances with interactive selection\n- No need to manually configure `anon-key`, `service-key`, or `jwt-secret`\n\n## Features\n\nThis server exposes a rich set of tools for interacting with your Supabase instances running on Aliyun RDS:\n\n*   **Alibaba Cloud Management** (Alibaba Cloud Mode only)\n    *   `list_aliyun_supabase_instances`: Lists all Supabase instances from Alibaba Cloud RDS AI.\n    *   `connect_to_supabase_instance`: Connects to a specific Supabase instance by name.\n    *   `get_current_supabase_instance`: Shows the currently connected instance.\n    *   `disconnect_supabase_instance`: Disconnects from the current instance.\n*   **Database Schema**\n    *   `list_tables`: Lists all tables in the `public` schema.\n    *   `list_extensions`: Lists installed PostgreSQL extensions.\n    *   `get_database_connections`: Retrieves current database connection information.\n    *   `get_database_stats`: Gets database statistics (e.g., table sizes).\n*   **Migrations & SQL**\n    *   `list_migrations`: Lists applied migrations from the `supabase_migrations` schema.\n    *   `apply_migration`: Applies a new SQL migration via RPC.\n    *   `execute_sql`: Executes arbitrary SQL (Requires helper function in DB or direct DB access).\n    *   `install_execute_sql_function`: Installs the `execute_sql` RPC function into the database.\n    *   `generate_typescript_types`: Generates TypeScript types from the database schema.\n*   **Project Configuration**\n    *   `get_project_url`: Returns the configured Supabase project URL.\n    *   `get_anon_key`: Returns the configured Supabase Anon Key.\n    *   `get_service_key`: Returns the configured Supabase Service Role Key (if provided).\n    *   `verify_jwt_secret`: Verifies the provided JWT secret against the database (Requires direct DB access).\n*   **Infrastructure**\n    *   `rebuild_hooks`: Attempts to restart the `pg_net` worker (if used).\n*   **Auth User Management**\n    *   `list_auth_users`: Lists users from `auth.users`.\n    *   `get_auth_user`: Retrieves details for a specific user.\n    *   `create_auth_user`: Creates a new user using Supabase Admin API.\n    *   `delete_auth_user`: Deletes a user using Supabase Admin API.\n    *   `update_auth_user`: Updates user details using Supabase Admin API.\n*   **Storage Insights**\n    *   `list_storage_buckets`: Lists all storage buckets.\n    *   `list_storage_objects`: Lists objects within a specific bucket.\n*   **Realtime Inspection**\n    *   `list_realtime_publications`: Lists PostgreSQL publications (often `supabase_realtime`).\n*   **Documentation**\n    *   `search_docs`: Searches Supabase official documentation using GraphQL queries.\n*   **RAG Agent Tools** (when `--enable-rag-agent` is set)\n    *   All RAG Agent tools are dynamically loaded and prefixed with `rag_` (e.g., `rag_check_health`, `rag_list_datasets`, `rag_get_dataset`, `rag_query_dataset`, `rag_query_multi_datasets`).\n    *   These tools provide Retrieval-Augmented Generation capabilities for semantic search and document management.\n    *   Available after connecting to a Supabase instance in Alibaba Cloud Mode.\n\n*(Note: `get_logs` was initially planned but skipped due to implementation complexities observed in the upstream self-hosted environment).*\n\n## How It Works\n\nThis MCP server works with AI assistant tools like Claude Desktop, Cursor, and other MCP-compatible applications. Once configured, these AI assistants can automatically use the tools provided by this server to interact with your Aliyun RDS-hosted Supabase instance.\n\nFor example, when you ask an AI assistant \"List all tables in my database\", it will:\n1. Recognize it needs to use a database tool\n2. Call the `list_tables` tool from this server\n3. Execute the tool against your Supabase instance\n4. Present the results in a human-readable format\n\n## Authentication Modes & Permission Levels\n\nThe server supports three authentication modes with automatic tool filtering:\n\n- **Mode 1 – Alibaba Cloud Multi-Instance (AuthMode `aliyun`, permission `full`)**  \n  Use `--aliyun-ak`, `--aliyun-sk`, and `--aliyun-region` to discover and manage multiple Aliyun RDS Supabase instances. Grants access to all tools, including Aliyun management tools.\n- **Mode 2 – Single Instance Admin (AuthMode `admin`, permission `admin`)**  \n  Use `--supabase-url`, `--supabase-anon-key`, and `--supabase-service-role-key` for a single project. Admin-only tools stay available; Aliyun management tools are hidden.\n- **Mode 3 – Single Instance User (AuthMode `user`, permission `user`)**  \n  Use `--supabase-url`, `--supabase-anon-key`, plus `--supabase-user-email` and `--supabase-user-password`. Runs under the user’s RLS scope; admin tools and Aliyun management tools are disabled.\n\nTool visibility is enforced automatically:\n- **Aliyun-only tools** (e.g., `list_aliyun_supabase_instances`, `connect_to_supabase_instance`, `get_current_supabase_instance`, `disconnect_supabase_instance`) require `full` permissions.\n- **Admin-only tools** (auth management, `get_service_key`, `verify_jwt_secret`, `install_execute_sql_function`, `rebuild_hooks`) require `full` or `admin` permissions.\n\nMode selection priority: if multiple configurations are provided, the server picks Aliyun first; if Aliyun is absent and user credentials are complete, user mode is selected; otherwise admin mode is used. A warning is logged when multiple modes are detected.\n\n## Setup and Installation\n\n### Alibaba Cloud Mode Setup\n\n#### Quick Start with npx\n\n```bash\nnpx @aliyun-rds/supabase-mcp-server \\\n  --aliyun-ak YOUR_ACCESS_KEY_ID \\\n  --aliyun-sk YOUR_ACCESS_KEY_SECRET \\\n  --aliyun-region cn-hangzhou\n```\n\n**Important**: The `--aliyun-region` parameter is **required**. Without it, the API will return empty instance lists even though no error is reported. Common regions include:\n- `cn-hangzhou` (China East 1)\n- `cn-beijing` (China North 2)\n- `cn-shanghai` (China East 2)\n- `cn-shenzhen` (China South 1)\n\nThe CLI flag defines the default region for automatic discovery. When you need to inspect instances in other regions, call the `list_aliyun_supabase_instances` tool and provide its optional `region_id` argument (e.g., `cn-beijing`) to override the default for that request.\n\n#### Configuration for Claude Desktop\n\nAdd to your `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"aliyun-supabase\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"@aliyun-rds/supabase-mcp-server\",\n        \"--aliyun-ak\", \"YOUR_ACCESS_KEY_ID\",\n        \"--aliyun-sk\", \"YOUR_ACCESS_KEY_SECRET\",\n        \"--aliyun-region\", \"cn-hangzhou\"\n      ]\n    }\n  }\n}\n```\n\n**With RAG Agent integration:**\n\n```json\n{\n  \"mcpServers\": {\n    \"aliyun-supabase\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"@aliyun-rds/supabase-mcp-server\",\n        \"--aliyun-ak\", \"YOUR_ACCESS_KEY_ID\",\n        \"--aliyun-sk\", \"YOUR_ACCESS_KEY_SECRET\",\n        \"--aliyun-region\", \"cn-hangzhou\",\n        \"--enable-rag-agent\"\n      ]\n    }\n  }\n}\n```\n\nOr use environment variables:\n\n```json\n{\n  \"mcpServers\": {\n    \"aliyun-supabase\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"@aliyun-rds/supabase-mcp-server\",\n        \"--enable-rag-agent\"\n      ],\n      \"env\": {\n        \"ALIYUN_ACCESS_KEY_ID\": \"YOUR_ACCESS_KEY_ID\",\n        \"ALIYUN_ACCESS_KEY_SECRET\": \"YOUR_ACCESS_KEY_SECRET\",\n        \"ALIYUN_REGION\": \"cn-hangzhou\"\n      }\n    }\n  }\n}\n```\n\n#### Usage Workflow\n\n1. **List instances**: Use `list_aliyun_supabase_instances` to see all your Supabase instances\n2. **Connect**: Use `connect_to_supabase_instance` with the instance name\n3. **Use tools**: Now you can use all Supabase tools (list_tables, execute_sql, etc.)\n4. **Disconnect** (optional): Use `disconnect_supabase_instance` to switch instances\n\n### Single Instance Admin Mode Setup\n\n```bash\nnpx @aliyun-rds/supabase-mcp-server \\\n  --supabase-url https://<your-project>.supabase.co \\\n  --supabase-anon-key <anon-key> \\\n  --supabase-service-role-key <service-role-key> \\\n  [--db-url <postgres-connection-string>] \\\n  [--jwt-secret <jwt-secret>] \\\n  [--enable-rag-agent]\n```\n\nEnvironment variable alternative:\n\n```bash\nSUPABASE_URL=https://<your-project>.supabase.co \\\nSUPABASE_ANON_KEY=<anon-key> \\\nSUPABASE_SERVICE_ROLE_KEY=<service-role-key> \\\nsupabase-mcp\n```\n\nClaude Desktop / Cursor JSON 示例：\n\n```json\n{\n  \"mcpServers\": {\n    \"supabase-admin\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"@aliyun-rds/supabase-mcp-server\",\n        \"--supabase-url\", \"https://<your-project>.supabase.co\",\n        \"--supabase-anon-key\", \"<anon-key>\",\n        \"--supabase-service-role-key\", \"<service-role-key>\"\n      ]\n    }\n  }\n}\n```\n\n### Single Instance User Mode Setup (RLS Restricted)\n\n```bash\nnpx @aliyun-rds/supabase-mcp-server \\\n  --supabase-url https://<your-project>.supabase.co \\\n  --supabase-anon-key <anon-key> \\\n  --supabase-user-email <user-email> \\\n  --supabase-user-password <user-password> \\\n  [--enable-rag-agent]\n```\n\nEnvironment variable alternative:\n\n```bash\nSUPABASE_URL=https://<your-project>.supabase.co \\\nSUPABASE_ANON_KEY=<anon-key> \\\nSUPABASE_USER_EMAIL=<user-email> \\\nSUPABASE_USER_PASSWORD=<user-password> \\\nsupabase-mcp\n```\n\nClaude Desktop / Cursor JSON 示例：\n\n```json\n{\n  \"mcpServers\": {\n    \"supabase-user\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"@aliyun-rds/supabase-mcp-server\",\n        \"--supabase-url\", \"https://<your-project>.supabase.co\",\n        \"--supabase-anon-key\", \"<anon-key>\",\n        \"--supabase-user-email\", \"<user-email>\",\n        \"--supabase-user-password\", \"<user-password>\"\n      ]\n    }\n  }\n}\n```\n\n### Additional Installation Options\n\n#### Global Installation\n\n```bash\nnpm install -g @aliyun-rds/supabase-mcp-server\nsupabase-mcp \\\n  --aliyun-ak YOUR_ACCESS_KEY_ID \\\n  --aliyun-sk YOUR_ACCESS_KEY_SECRET \\\n  --aliyun-region cn-hangzhou\n```\n\n## Configuration\n\nChoose one configuration path. CLI flags override environment variables.\n\n### Mode 1 — Alibaba Cloud Multi-Instance (permission: full)\n\nRequired:\n- `--aliyun-ak <key>` or `ALIYUN_ACCESS_KEY_ID=<key>`\n- `--aliyun-sk <secret>` or `ALIYUN_ACCESS_KEY_SECRET=<secret>`\n- `--aliyun-region <region>` or `ALIYUN_REGION=<region>` (e.g., `cn-hangzhou`, `cn-beijing`; required for discovery)\n\nBehavior: pulls Supabase URL/keys/DB URL/JWT secret from Aliyun for the selected instance.\n\n### Mode 2 — Single Instance Admin (permission: admin)\n\nRequired:\n- `--supabase-url <url>` or `SUPABASE_URL`\n- `--supabase-anon-key <key>` or `SUPABASE_ANON_KEY`\n- `--supabase-service-role-key <key>` or `SUPABASE_SERVICE_ROLE_KEY`\n\nOptional:\n- `--db-url <postgres-connection-string>` or `DB_URL`\n- `--jwt-secret <secret>` or `JWT_SECRET`\n\nLegacy flag aliases are still accepted: `--url`, `--anon-key`, `--service-key`, `--db-url`, `--jwt-secret`.\n\n### Mode 3 — Single Instance User (permission: user, RLS enforced)\n\nRequired:\n- `--supabase-url <url>` or `SUPABASE_URL`\n- `--supabase-anon-key <key>` or `SUPABASE_ANON_KEY`\n- `--supabase-user-email <email>` or `SUPABASE_USER_EMAIL`\n- `--supabase-user-password <password>` or `SUPABASE_USER_PASSWORD`\n\nBehavior: operates under the provided user's RLS policies; admin-only and Aliyun management tools are filtered out.\n\n### Common Options\n\n- `--tools-config <path>`: JSON file specifying which tools to enable (whitelist). Format: `{\"enabledTools\": [\"tool_name_1\", \"tool_name_2\"]}`.\n- `--enable-rag-agent` or `ENABLE_RAG_AGENT=true`: Enable RAG Agent MCP integration. When enabled, the server resolves the Supabase host/port from the selected instance and uses the retrieved anon key as the API key for rag-agent.\n- `--workspace-path <path>`: Workspace root for file operations (optional).\n\n### RAG Agent Integration\n\nThis server can integrate with [rag-agent-mcp](https://pypi.org/project/rag-agent-mcp/) to provide RAG (Retrieval-Augmented Generation) capabilities alongside your Supabase database tools.\n\n**How it works:**\n- When `--enable-rag-agent` is set, the server automatically connects to a rag-agent MCP server after you select an Aliyun RDS Supabase instance.\n- The Supabase host/port is derived from the instance metadata returned by Aliyun OpenAPI.\n- The anon key retrieved for the connected instance is reused as the API key for rag-agent (no manual secret sharing required).\n- All rag-agent tools are prefixed with `rag_` to avoid naming conflicts (e.g., `rag_create_collection`, `rag_add_documents`, `rag_query`).\n\n**Example configuration:**\n```bash\nnpx @aliyun-rds/supabase-mcp-server \\\n  --aliyun-ak YOUR_ACCESS_KEY_ID \\\n  --aliyun-sk YOUR_ACCESS_KEY_SECRET \\\n  --aliyun-region cn-hangzhou \\\n  --enable-rag-agent\n```\n\n**Requirements:**\n- `uvx` must be installed on your system\n- `rag-agent-mcp` package must be available via `uvx`\n- The rag-agent service must be reachable at the host/port reported by your Supabase instance\n\n**Behavior Notes:**\n- RAG Agent tools are advertised at startup but become fully functional only after running `connect_to_supabase_instance`.\n- Because the host/port comes from Supabase metadata, ensure your Aliyun credentials can fetch instance connection details.\n\n### Important Notes:\n\n*   **`execute_sql` Helper Function:** Many tools rely on a `public.execute_sql` function for secure SQL execution via RPC. After you connect to an Aliyun RDS instance, the server checks for this function and—if your AK/SK grants the required privileges—automatically creates it and assigns permissions when missing.\n*   **Direct Database Access:** Tools that touch privileged schemas (`auth`, `storage`) or `pg_catalog` still require direct database connectivity. The connection string is pulled from Aliyun; ensure your credentials can retrieve it or those tools will be unavailable.\n*   **Database URL Special Characters:** When Aliyun returns database URLs containing characters like `#` or `$`, the server automatically URL-encodes them (`#` → `%23`, `$` → `%24`). The `@` symbol remains unescaped because it separates credentials from the hostname.\n\n## Using with AI Assistant Tools\n\n### Cursor\n\n1.  Create or open the file `.cursor/mcp.json` in your project root.\n2.  Add one of the following configurations based on your authentication mode:\n\n    **Mode 1 (Aliyun multi-instance, permission: full)**  \n    Grants all tools, including Aliyun management.\n\n    ```json\n    {\n      \"mcpServers\": {\n        \"aliyun-supabase\": {\n          \"command\": \"npx\",\n          \"args\": [\n            \"@aliyun-rds/supabase-mcp-server\",\n            \"--aliyun-ak\", \"<your-access-key-id>\",\n            \"--aliyun-sk\", \"<your-access-key-secret>\",\n            \"--aliyun-region\", \"cn-hangzhou\",\n            \"--enable-rag-agent\"\n          ],\n          \"env\": {\n            // Optional: whitelist tools or toggle features\n            \"TOOLS_CONFIG\": \"<path-to-tools-config.json>\",\n            \"ENABLE_RAG_AGENT\": \"true\"\n          }\n        }\n      }\n    }\n    ```\n\n    **Mode 2 (Single instance admin, permission: admin)**  \n    Admin tools available; Aliyun management tools hidden.\n\n    ```json\n    {\n      \"mcpServers\": {\n        \"supabase-admin\": {\n          \"command\": \"npx\",\n          \"args\": [\n            \"@aliyun-rds/supabase-mcp-server\",\n            \"--supabase-url\", \"https://<your-project>.supabase.co\",\n            \"--supabase-anon-key\", \"<anon-key>\",\n            \"--supabase-service-role-key\", \"<service-role-key>\",\n            \"--enable-rag-agent\"\n          ]\n        }\n      }\n    }\n    ```\n\n    **Mode 3 (Single instance user, permission: user, RLS enforced)**  \n    Runs under user RLS; admin/Aliyun tools disabled.\n\n    ```json\n    {\n      \"mcpServers\": {\n        \"supabase-user\": {\n          \"command\": \"npx\",\n          \"args\": [\n            \"@aliyun-rds/supabase-mcp-server\",\n            \"--supabase-url\", \"https://<your-project>.supabase.co\",\n            \"--supabase-anon-key\", \"<anon-key>\",\n            \"--supabase-user-email\", \"<user-email>\",\n            \"--supabase-user-password\", \"<user-password>\",\n            \"--enable-rag-agent\"\n          ]\n        }\n      }\n    }\n    ```\n\n**Important Notes for RAG Agent:**\n- RAG Agent tools stay inactive until you call `connect_to_supabase_instance` and select an Aliyun RDS Supabase project.\n- Switching instances automatically re-initializes the rag-agent connection with the new host/port.\n- All RAG Agent tools are prefixed with `rag_` (e.g., `rag_create_collection`, `rag_add_documents`, `rag_query`).\n\n### Claude for Desktop\n\nFor Claude Desktop, open Settings → Developer → enable \"Custom MCP Servers\", then add one configuration matching your mode:\n\n**Mode 1 (Aliyun, permission: full)**\n\n```json\n{\n  \"name\": \"Aliyun Supabase\",\n  \"command\": \"npx\",\n  \"args\": [\n    \"@aliyun-rds/supabase-mcp-server\",\n    \"--aliyun-ak\", \"YOUR_ACCESS_KEY_ID\",\n    \"--aliyun-sk\", \"YOUR_ACCESS_KEY_SECRET\",\n    \"--aliyun-region\", \"cn-hangzhou\",\n    \"--enable-rag-agent\"\n  ]\n}\n```\n\n**Mode 2 (Single instance admin, permission: admin)**\n\n```json\n{\n  \"name\": \"Supabase Admin\",\n  \"command\": \"npx\",\n  \"args\": [\n    \"@aliyun-rds/supabase-mcp-server\",\n    \"--supabase-url\", \"https://<your-project>.supabase.co\",\n    \"--supabase-anon-key\", \"<anon-key>\",\n    \"--supabase-service-role-key\", \"<service-role-key>\",\n    \"--enable-rag-agent\"\n  ]\n}\n```\n\n**Mode 3 (Single instance user, permission: user, RLS enforced)**\n\n```json\n{\n  \"name\": \"Supabase User\",\n  \"command\": \"npx\",\n  \"args\": [\n    \"@aliyun-rds/supabase-mcp-server\",\n    \"--supabase-url\", \"https://<your-project>.supabase.co\",\n    \"--supabase-anon-key\", \"<anon-key>\",\n    \"--supabase-user-email\", \"<user-email>\",\n    \"--supabase-user-password\", \"<user-password>\",\n    \"--enable-rag-agent\"\n  ]\n}\n```\n\n### Other MCP-Compatible Tools\n\nMost MCP-compatible tools follow similar configuration patterns. The general format is:\n- Command: `npx`\n- Arguments: `[@aliyun-rds/supabase-mcp-server, --aliyun-ak, YOUR_ACCESS_KEY_ID, --aliyun-sk, YOUR_ACCESS_KEY_SECRET, --aliyun-region, YOUR_REGION, ...]`\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\nOriginally developed by [HenkDz](https://github.com/HenkDz), now maintained by Aliyun RDS.\n","readmeFilename":"README.md"}