Supabase
MCP server for interacting with the Supabase platform
作者提供的说明(英文原文)
AI-native database utility. Talk to your DB in plain language. No SQL. MySQL & PostgreSQL.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
Authorization标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
在终端中运行这条命令
claude mcp add --transport sse dataclawe https://mcp.dataclawe.com/sse --header 'Authorization: your-value'运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"dataclawe": {
"url": "https://mcp.dataclawe.com/sse",
"headers": {
"Authorization": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"dataclawe": {
"type": "sse",
"url": "https://mcp.dataclawe.com/sse",
"headers": {
"Authorization": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
Authorization 机密 必填 HTTP header这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过域名 dataclawe.com 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:Authorization
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(1.1.0)于7个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP server for interacting with the Supabase platform
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A JSON-based database command standard for AI agents, frontend engineers, and anyone who finds SQL too complex.
"If you understand MySQL and MSX-BASIC, you already understand DCL."
DCL (DataClawe Command Language) is an open standard for communicating with databases using simple JSON.
It is designed for:
DCL translates into native SQL internally. Your existing database does not change. Your existing application does not change.
DCL follows three rules:
1. If you can read it, you understand it. No cryptic operators. No framework-specific syntax. No : chaining.
2. MySQL words. JSON structure. Actions like SELECT, INSERT, UPDATE, DELETE are exactly what you expect. WHERE conditions are written the way MySQL engineers already write them.
3. MSX-BASIC level simplicity. If a condition like age >= 20 needs an explanation, the design has failed.
4. Simple by default. Powerful when needed. Standard covers most real-world needs. Advanced covers the rest. You never pay the complexity cost until you need it.
{
"dcl": "1.0", "action": "SELECT", "table": "users", "columns": ["id", "name", "email"], "where": [ "status = 'active'", "age >= 20" ], "order": "created_at DESC", "limit": 10, "offset": 0 }
{
"dcl": "1.0", "action": "INSERT", "table": "users", "data": { "name": "kimura", "email": "kimura@example.com", "status": "active" } }
{
"dcl": "1.0", "action": "UPDATE", "table": "users", "data": { "status": "inactive" }, "where": [ "id = 123" ] }
{
"dcl": "1.0", "action": "DELETE", "table": "users", "where": [ "id = 123" ] }
| Action | Description | Read-only |
|---|---|---|
SELECT | Fetch one or more records | ✅ |
COUNT | Count matching records | ✅ |
EXISTS | Check if a record exists | ✅ |
SCHEMA | Get column definitions for a table | ✅ |
TABLES | List all available tables | ✅ |
STATS | Get record count, last updated, and storage size | ✅ |
TIMELINE | Get chronological change history of a record | ✅ |
INSERT | Create a new record | ❌ |
UPDATE | Update existing records | ❌ |
DELETE | Logical delete (status flag) | ❌ |
TABLE_CREATE | Create a new table (empty declaration) | ❌ |
TABLE_COPY | Copy a table | ❌ |
TABLE_RENAME | Rename a table | ❌ |
TABLE_DROP | Logical delete a table | ❌ |
WHERE is an array of condition strings. Multiple conditions are AND by default.
"where": [
"status = 'active'", "age >= 20", "age <= 60", "status != 'deleted'" ]
"where": {
"OR": [ "status = 'active'", "status = 'pending'" ] }
"where": {
"AND": [ "age >= 20", { "OR": [ "status = 'active'", "status = 'pending'" ] } ] }
"where": [
"name LIKE 'kimura%'" ]
"where": [
"status IN ('active', 'pending')" ]
"where": [
"age BETWEEN 20 AND 60" ]
"where": [
"deleted_at IS NULL" ]
"where": [
"deleted_at IS NOT NULL" ]
{
"dcl": "1.0", "action": "SELECT", "table": "orders", "columns": [ "SUM(amount) AS total", "AVG(amount) AS average", "COUNT(*) AS count" ], "where": [ "status = 'paid'" ], "group": "customer_id" }
{
"dcl": "1.0", "action": "COUNT", "table": "users", "where": [ "status = 'active'" ] }
{
"dcl": "1.0", "action": "EXISTS", "table": "users", "where": [ "email = 'kimura@example.com'" ] }
{
"dcl": "1.0", "action": "SCHEMA", "table": "users" }
{
"dcl": "1.0", "action": "TABLES" }
Declares a new empty table. Internally creates a single status=8 schema declaration row.
{
"dcl": "1.0", "action": "TABLE_CREATE", "table": "users" }
With optional schema definition:
{
"dcl": "1.0", "action": "TABLE_CREATE", "table": "users", "schema": { "name": "text", "age": "integer", "email": "text" } }
Without schema: Created with
schema: null. Column types are auto-registered astexton first INSERT.
DataClawe maintains one status=8 declaration row per table.
| status value | Purpose |
|---|---|
status=1 | Normal record (active) |
status=8 | Table declaration + schema cache |
status=9 | Logically deleted |
Example status=8 row content:
{
"schema": { "name": "text", "age": "text", "email": "text" } }
Auto Schema Evolution:
Writing to a non-existent table via INSERT auto-creates the status=8 row. New columns are automatically appended to the status=8 schema on each INSERT (type defaults to text).
First INSERT: {"name": "kimura", "age": 25}
→ Auto-create status=8: {"name":"text", "age":"text"} → INSERT the record
Second INSERT: {"name": "suzuki", "phone": "090-xxxx"} → "phone" is new → auto-append to status=8 schema → schema: {"name":"text", "age":"text", "phone":"text"}
When connecting to legacy MySQL/PostgreSQL, actual column types (VARCHAR(255), INT, etc.) are recorded in the status=8 row.
Returns record count, last updated timestamp, and storage size. Useful for AI agents to assess table state before operating.
{
"dcl": "1.0", "action": "STATS", "table": "users" }
Example response:
{
"dcl": "1.0", "status": "OK", "data": { "table": "users", "record_count": 1024, "last_updated": "2026-03-28T10:00:00Z", "size_kb": 512 } }
Returns the change history (created, updated, logical delete) of a record in chronological order. Useful for AI agents tracking data evolution.
{
"dcl": "1.0", "action": "TIMELINE", "table": "users", "where": [ "id = 123" ] }
Copies a table under a new name. Used for backups, migrations, and testing.
{
"dcl": "1.0", "action": "TABLE_COPY", "table": "users", "target_table": "users_backup_20260328" }
Renames a table.
{
"dcl": "1.0", "action": "TABLE_RENAME", "table": "users_old", "new_name": "users_archived" }
Logically deletes a table. Data is not physically removed immediately.
{
"dcl": "1.0", "action": "TABLE_DROP", "table": "users_temp" }
Note: TABLE_DROP is a logical delete — not equivalent to SQL
DROP TABLE. Data is not immediately destroyed.
{
"dcl": "1.0", "status": "OK", "count": 42, "data": [ { "id": 1, "name": "kimura", "email": "kimura@example.com" } ], "meta": { "table": "users", "elapsed_ms": 12 } }
{
"dcl": "1.0", "status": "ERROR", "code": "TABLE_NOT_FOUND", "message": "Table 'users' does not exist" }
| Code | Description |
|---|---|
TABLE_NOT_FOUND | Specified table does not exist |
COLUMN_NOT_FOUND | Specified column does not exist |
INVALID_ACTION | Unknown action specified |
INVALID_WHERE | WHERE condition could not be parsed |
PERMISSION_DENIED | Tenant does not have access |
CONNECTION_ERROR | Database connection failed |
DCL works over two protocols. The DCL command itself is identical in both cases.
| Protocol | Used by | Guide |
|---|---|---|
| REST API (HTTPS POST) | Frontend, Backend, any HTTP client | See README.api.md |
| MCP (JSON-RPC 2.0 / SSE) | AI agents (Claude, GPT, Cursor) | See README.mcp.md |
{
"dcl": "1.0", "action": "SELECT", "table": "orders", "where": [ "status = 'pending'", "created_at >= '2026-01-01'" ], "order": "created_at DESC", "limit": 100 }
This DCL JSON is the same regardless of whether you call via REST API or MCP. Only the outer protocol layer differs.
| Database | Status |
|---|---|
| MySQL 5.x / 8.x | ✅ Supported |
| PostgreSQL 9–18 | ✅ Supported |
| Others | 📋 Planned |
DCL normalizes differences between MySQL and PostgreSQL. You write one DCL command. DataClawe handles the rest.
DCL is designed in two layers. You choose the layer you need.
For AI agents, frontend engineers, and anyone doing straightforward data operations.
If Standard covers your needs, you never have to go further.
For backend engineers who need more expressive power.
Same JSON structure. Same DataClawe engine. More capability when you need it.
JOIN
{
"dcl": "1.0", "action": "SELECT", "table": "users", "columns": ["users.id", "users.name", "orders.amount"], "join": [ { "table": "orders", "on": "users.id = orders.user_id", "type": "LEFT" } ], "where": [ "users.status = 'active'" ], "order": "orders.amount DESC", "limit": 20 }
Subquery
{
"dcl": "1.0", "action": "SELECT", "table": "users", "where": [ "id IN (SELECT user_id FROM orders WHERE status = 'paid')" ] }
Multiple JOINs
{
"dcl": "1.0", "action": "SELECT", "table": "orders", "columns": [ "orders.id", "users.name AS customer", "products.name AS product", "orders.amount" ], "join": [ { "table": "users", "on": "orders.user_id = users.id", "type": "INNER" }, { "table": "products", "on": "orders.product_id = products.id", "type": "LEFT" } ], "where": [ "orders.status = 'paid'", "orders.created_at >= '2026-01-01'" ], "order": "orders.created_at DESC" }
JOIN types supported in Advanced
| Type | Description |
|---|---|
INNER | Records matching in both tables |
LEFT | All left, matching right |
RIGHT | All right, matching left |
SQL solved everything in one spec.
That is why SQL is still hard after 30 years.
DCL Standard is for everyone. DCL Advanced is for when you need more. You always start simple. You go deeper only when you must.
The same engine handles both. The same JSON structure. No new syntax to learn when you move from Standard to Advanced — just new keys.
The following are out of scope in both Standard and Advanced, to keep DCL safe and predictable for AI agents:
ALTER TABLEDROP TABLE equivalent)Note:
TABLE_DROPin DCL is a logical delete — distinct from SQLDROP TABLE. It does not immediately destroy data.
DCL is a data operation lan
只显示了开头部分;其余内容请在仓库中阅读