Supabase
server ทางการของ Supabase ให้ AI สร้างตาราง ถามข้อมูล และดูการตั้งค่าโปรเจกต์ในฐานข้อมูล Supabase ของคุณ
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
AI-native database utility. Talk to your DB in plain language. No SQL. MySQL & PostgreSQL.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
Authorizationค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ที่อยู่นี้ต้องใส่ key ใน header ของคำขอ ซึ่งเมนูเพิ่ม connector ใส่ให้ไม่ได้ ใช้ Claude Code, Cursor หรือ VS Code แทน
พิมพ์คำสั่งนี้ใน Terminal
claude mcp add --transport sse dataclawe https://mcp.dataclawe.com/sse --header 'Authorization: ใส่ค่าของคุณ'เติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"dataclawe": {
"url": "https://mcp.dataclawe.com/sse",
"headers": {
"Authorization": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"dataclawe": {
"type": "sse",
"url": "https://mcp.dataclawe.com/sse",
"headers": {
"Authorization": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ที่อยู่นี้ต้องใส่ key ใน header ของคำขอ ซึ่งเมนูเพิ่ม connector ใส่ให้ไม่ได้ ใช้ Claude Code, Cursor หรือ VS Code แทน
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
Authorization ความลับ จำเป็น HTTP headerค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันโดเมน dataclawe.com แล้ว (registry ตรวจความเป็นเจ้าของโดเมน)
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: Authorization
รันบนคลาวด์ของผู้ทำ ต่อผ่านอินเทอร์เน็ตได้เลย ไม่ต้องลงโปรแกรม แต่ข้อมูลที่ส่งให้จะผ่านเซิร์ฟเวอร์ของผู้ทำ
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.1.0) เข้า registry 7 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา
ในหมวดเดียวกันมี Supabase, MongoDB MCP Server, Elasticsearch MCP Server
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
server ทางการของ Supabase ให้ AI สร้างตาราง ถามข้อมูล และดูการตั้งค่าโปรเจกต์ในฐานข้อมูล Supabase ของคุณ
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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
ตัดมาแค่ช่วงต้น อ่านต่อใน repo