Supabase
server ทางการของ Supabase ให้ AI สร้างตาราง ถามข้อมูล และดูการตั้งค่าโปรเจกต์ในฐานข้อมูล Supabase ของคุณ
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Read-only SQL database and plain-text SQL dump schema extraction to compact TOON for MCP clients.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"db2toon": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/kamil5b/db2toon:v1.4.4"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add db2toon -- docker run -i --rm ghcr.io/kamil5b/db2toon:v1.4.4วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"db2toon": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/kamil5b/db2toon:v1.4.4"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"db2toon": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/kamil5b/db2toon:v1.4.4"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub kamil5b ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.4.4) เข้า registry 3 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Docker ในเครื่องด้วย
ในหมวดเดียวกันมี 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 CLI tool that converts database schemas into the Toon schema definition format.
db2toon connects to a database and extracts schema information (tables, columns, types, constraints, indexes, routines, triggers, and examples), then converts it into the human-readable Toon format for database design documentation and visualization. PostgreSQL, SQLite, DuckDB, MySQL/MariaDB, CockroachDB, Microsoft SQL Server, and Oracle are supported. pg2toon remains a PostgreSQL compatibility command.
character varying → varchar)git clone https://github.com/kamil5b/db2toon.git
cd db2toon CGO_ENABLED=0 go build -o output/db2toon ./cmd/db2toon CGO_ENABLED=0 go build -o output/pg2toon ./cmd/pg2toon CGO_ENABLED=0 go build -o output/dbml2toon ./cmd/dbml2toon
Download pre-built binaries from the releases page for your platform.
The module also exposes a public Go API for callers that want the canonical schema model instead of invoking a command:
import (
"context" "os"
"github.com/kamil5b/db2toon" )
func extract() error { db, err := db2toon.Extract(context.Background(), db2toon.Request{ Dialect: "postgres", Dump: "./schema.sql", Options: db2toon.Options{ExampleSample: 2}, }) if err != nil { return err } return db2toon.Encode(os.Stdout, db) }
Set exactly one of Request.DB or Request.Dump. Dump contents are parsed offline and never executed. The public API returns *schema.Database, so callers may inspect or transform the model before encoding it.
Build and run the MCP-compatible stdio server:
CGO_ENABLED=0 go build -o output/db2toon-mcp ./cmd/db2toon-mcp
./output/db2toon-mcp
The server exposes db2toon.extract_schema. Its required argument is dialect (postgres, sqlite, duckdb, mysql, mariadb, cockroachdb, mssql, sqlserver, or oracle). Provide exactly one of db or dump; optional extraction settings are supplied in an options object. Dump files are parsed offline and never executed. The tool is read-only, uses a 30-second default timeout, and limits responses to 4 MiB. Set options.timeout and options.max_output_bytes to lower limits when needed. Connection strings are never included in tool errors or results.
./db2toon postgres -db "postgresql://user:password@localhost/dbname"
./db2toon sqlite -db ./schema.db
./db2toon postgres -dump ./schema.sql ./db2toon sqlite -dump ./schema.sql ./db2toon mysql -dump ./schema.sql ./db2toon mssql -dump ./schema.sql ./db2toon oracle -dump ./schema.sql
./db2toon duckdb -db ./analytics.duckdb
./db2toon mssql -db 'sqlserver://sa:password@localhost:1433?database=app&encrypt=disable'
./db2toon oracle -db 'oracle://app:password@localhost:1521/FREEPDB1'
./pg2toon -db "postgresql://user:password@localhost/dbname"
./dbml2toon schema.dbml cat schema.dbml | ./dbml2toon -out schema.toon
./db2toon postgres -db "postgresql://user:password@localhost/dbname" -out schema.toon
Include up to two sample rows per PostgreSQL table in the TOON output, using a stable ordering and a reproducible sample seed:
./db2toon postgres -db "postgresql://user:password@localhost/dbname" \
-example-sample=2 -example-sample-ordered=true -seed=42
The default -example-sample=0 omits @example sections.
SQLite and DuckDB also support -example-sample, but currently use a simple LIMIT query. -example-sample-ordered and -seed are currently effective only for PostgreSQL.
Select multiple schemas, include partitioned tables, and change the default 30-second operation timeout with:
./db2toon postgres -db "$DATABASE_URL" -schema audit
./db2toon postgres -db "$DATABASE_URL" -schemas public,audit -include-partitioned -timeout 1m
main schema. SQL Server defaults to dbo../db2toon sqlite -db ./schema.db -schema main ./db2toon duckdb -db ./analytics.duckdb -schema analytics ./db2toon oracle -db 'oracle://app:password@localhost:1521/FREEPDB1' -schema APP
-db string: Database connection URL or local database path; mutually exclusive with -dump-dump string: Plain-text SQL dump path; mutually exclusive with -dbdialect: postgres, sqlite, duckdb, mysql, mariadb, cockroachdb, mssql, sqlserver, or oracle for db2toon; pg2toon always uses PostgreSQL-out string: Output file path (optional, defaults to stdout)-schema string: A single schema to extract (defaults to public for PostgreSQL, main for SQLite/DuckDB, dbo for SQL Server, and the session CURRENT_SCHEMA for Oracle)-schemas string: Comma-separated schemas to extract; cannot be combined with -schema-include-partitioned: Include PostgreSQL partitioned tables-include-views: Include supported views-exclude-tables string: Comma-separated tables to exclude entirely; accepts table or schema.table-exclude-example-tables string: Comma-separated tables to exclude from @example sampling-exclude-example-fields string: Comma-separated qualified fields to exclude from examples, such as public.users.password_hash-example-sample int: Number of sample rows to include per table (defaults to 0)-example-sample-ordered: Select sample rows using deterministic ordering for PostgreSQL (defaults to false)-seed int: Seed for reproducible PostgreSQL sample selection (defaults to 0; currently ignored by SQLite/DuckDB)-timeout duration: Connection and extraction timeout (defaults to 30s)Dump mode supports plain-text SQL exports for PostgreSQL, SQLite, DuckDB, MySQL/MariaDB, CockroachDB, SQL Server, and Oracle. Common tables, columns, constraints, indexes, comments, and bounded INSERT examples are parsed without executing the dump. PostgreSQL retains native enums, sequences, views, functions, procedures, and triggers, including dollar-quoted routine bodies. MySQL/MariaDB supports DELIMITER-based routine and trigger declarations. SQL Server and Oracle retain supported views, functions, procedures, triggers, sequences, types, synonyms, and selected vendor objects. Complex vendor-specific PL/SQL/ T-SQL bodies are preserved as available statement text; unsupported declarations are ignored rather than executed.
The Toon format provides a clean, human-readable schema definition:
@database app {dialect=postgres}
[users]
id int {pk} email varchar {req} name varchar created_at timestamptz {req}
@indices idx_email: ON users USING btree (email)
@example[2]{id,email,name,created_at}: 1,alice@example.com,Alice,2026-01-10T09:00:00Z 2,bob@example.com,Bob,2026-01-11T10:30:00Z
[posts]
id int {pk} user_id int {req} -> users(id) title varchar {req} content text published_at timestamptz
[comments]
id int {pk} post_id int {req} -> posts(id) user_id int {req} -> users(id) content text {req} created_at timestamptz {req}
@database name {dialect=dialect}: Source database metadata. Live connections derive the name from the connection string; dump mode uses the dump filename without its extension.[TableName]: Table definition# comment: Table or column commentsname type {tags}: Column definition with optional tags{pk}: Primary key{req}: Required (NOT NULL){pk,req}-> table(column): Foreign key reference (inline for single columns)@indices: Section for database indexes@enum: Enumerated type values@type: User-defined type metadata@sequence: Sequence configuration@synonym: Alternate object name@routine: Function or procedure metadata and definition where available@triggers: Table trigger metadata@objects: Vendor-specific schema objects, including Oracle materialized views, packages, partitioned tables, scheduler jobs, and database links@example[n]{columns}:: Up to n sampled rows from the table// comment: Inline column commentOracle extraction uses user-visible ALL_* catalog views, so the output is limited to objects the connected account can inspect. It supports tables, views, columns and comments, primary/unique/foreign-key/check constraints, independent indexes, triggers, standalone functions and procedures, user sequences, object types, synonyms, materialized views, packages/package bodies, partitioned-table markers, scheduler jobs, and database links. Oracle-generated identity sequences and system-generated NOT NULL checks are omitted because their information is already represented by the column model.
Package/type source bodies, materialized-view refresh settings, detailed partition definitions, grants/roles, VPD policies, tablespace/storage details, specialized spatial/domain index options, and Oracle SQL dump parsing are not yet represented in the canonical model.
Microsoft SQL Server extraction uses sys.* catalog views and defaults to the dbo schema unless -schema or -schemas is supplied. It supports tables and views, columns and MS_Description comments, defaults, identity/computed columns, primary/unique/foreign-key/check constraints, independent indexes, triggers, functions/procedures, alias/table types, sequences, synonyms, and sample rows. View definitions and vendor-specific schema objects are emitted in the TOON object sections where applicable.
SQL Server dump parsing is not supported. The current model also does not yet represent partition functions/schemes, filegroups, temporal or memory-optimized table settings, graph tables, full-text/spatial/XML index internals, permissions, extended properties other than descriptions, Agent jobs, or server-level objects.
libduckdb shared library at runtimego-ora driver and does notตัดมาแค่ช่วงต้น อ่านต่อใน repo