Supabase
server ทางการของ Supabase ให้ AI สร้างตาราง ถามข้อมูล และดูการตั้งค่าโปรเจกต์ในฐานข้อมูล Supabase ของคุณ
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
A fact store for AI agents, on Postgres: registered attributes, every write citing its evidence.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
FACTSTORE_DSN, FACTSTORE_EXCISE_DSNค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"factstore": {
"command": "uvx",
"args": [
"factstore",
"mcp"
],
"env": {
"FACTSTORE_DSN": "ใส่ค่าของคุณ",
"FACTSTORE_EXCISE_DSN": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add factstore --env FACTSTORE_DSN='ใส่ค่าของคุณ' --env FACTSTORE_EXCISE_DSN='ใส่ค่าของคุณ' -- uvx factstore mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"factstore": {
"command": "uvx",
"args": [
"factstore",
"mcp"
],
"env": {
"FACTSTORE_DSN": "ใส่ค่าของคุณ",
"FACTSTORE_EXCISE_DSN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"factstore": {
"type": "stdio",
"command": "uvx",
"args": [
"factstore",
"mcp"
],
"env": {
"FACTSTORE_DSN": "ใส่ค่าของคุณ",
"FACTSTORE_EXCISE_DSN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Victor-EU ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: FACTSTORE_DSN, FACTSTORE_EXCISE_DSN
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0) เข้า registry 33 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี 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 fact store for AI agents, on Postgres. Agents record what a company's systems and documents say as facts: a value for a registered attribute, in a transaction stamped with who wrote it and the document it came from. Nothing is overwritten, so the store can say what it knew on any date. Agents use it through an MCP server, and scripts through a Python SDK.
It comes with skills, procedures an agent follows: one indexes a company's systems from their exports, and one reads documents and mail into facts. The design says why it is built this way, and the evals what it was tested on. MIT-licensed.
You need Postgres 16 or later, Python 3.12 or later, and uv for uvx.
1. Postgres. Use your own, or start one. factstore init needs a superuser.
docker run -d --name factstore-pg -e POSTGRES_PASSWORD=postgres -p 5432:5432 --shm-size=1g postgres:17
2. A store, and a credential for your agent.
pip install factstore
export FACTSTORE_ADMIN_DSN=postgresql://postgres:postgres@localhost:5432/postgres factstore init acme # a store, with factstore-core factstore install acme factstore-skills # the vocabulary the skills use factstore actor acme "ingest agent" # prints the actor's ID and its credential
3. Connect your agent. In Claude Code, the plugin brings the MCP server and the skills, and asks for the credential:
/plugin marketplace add Victor-EU/factstore
/plugin install factstore@factstore
Any other MCP client runs the server with the credential in its environment:
{"mcpServers": {"factstore": {"command": "uvx", "args": ["factstore", "mcp"],
"env": {"FACTSTORE_DSN": " "}}}}
factstore skills DIR copies the skills into your agent's skills directory, such as .claude/skills. The catalogue and ingestion skills also write in bulk with the SDK, so the agent's shell needs pip install factstore.
4. Ask. "Read the invoices in ./invoices into the store" uses factstore-ingest. "Index our Shopify and QuickBooks exports" uses factstore-catalogue. "What kinds of thing does the store hold?" uses factstore-ontology.
factstore install STORE NAME installs a package by name, with the packages it depends on.
| Package | What |
|---|---|
factstore-core | Evidence, documents, confidence, currency, merges and domain time. init installs it. |
factstore-skills | The catalogue, ontology and ingestion skills, and the vocabulary the ontology skill names shapes with. |
factstore-ecom-ops | The supply side of a brand that makes in China and sells online: suppliers, SKUs, purchase orders, inspections, shipments and customs entries. Its skill reads supplier PDFs, chats and shipping emails. |
factstore-ecom-index | The IDs and join keys of what Shopify, Amazon, the 3PL and QuickBooks own, for the catalogue skill. |
Personal data. The server's rules keep people's names, addresses and phone numbers out of the store: they stay in the documents. A business that wants an attribute to hold them allows it with core/personal.
git clone https://github.com/Victor-EU/factstore && cd factstore
docker compose up -d # Postgres 17 on port 54329 cd factstore python3 -m venv .venv && .venv/bin/pip install -e ".[dev]" .venv/bin/pytest
The tests create and drop a store per test. From a source checkout, factstore install also takes a package's directory, such as ../packages/ecom-ops. packages/ describes the package format and the packages. A new version of a package registers what it adds. It may also make an attribute many or identity, the two changes the kernel allows. factstore-skills/ holds the skills.
import factstore
store = factstore.connect(" ") store.register_attribute({"ident": "shopify/order_id", "type": "string", "cardinality": "one", "unique": "identity", "doc": "Shopify's ID for an order."}) store.transact([{"e": ["shopify/order_id", "1234"], "a": "shopify/order_id", "v": "1234"}]) store.query('select e, v from "shopify/order_id"').rows
With FACTSTORE_DSN set, the same calls work at module level: factstore.transact([...]), factstore.query(...).
factstore mcp, or factstore-mcp, serves the calls as tools over stdio. The credential comes from its environment (FACTSTORE_DSN), never from a tool call. excise is listed only when FACTSTORE_EXCISE_DSN holds an excision credential as well. The tool descriptions in tools.py are the documentation models read.
| File | What |
|---|---|
schema.sql | Tables, roles, and the triggers that enforce the invariants in Postgres |
kernel.py | The writer lock, schema loading, allocation, and applying changes to the log and derived tables |
store.py | The calls: transact, query, stats, register_attribute, search_attributes, excise |
read.py | Running one read safely: read-only, rolled back, one statement, a timeout, a row cap |
stats.py | Attribute usage, signatures and ref connectivity |
server.py | The MCP server |
admin.py, cli.py | Creating stores, actors and credentials; installing packages |
packages.py | Package manifests, the packages a release carries, and the order to install them in |
tools.py | MCP tool descriptions and input schemas: the model-facing documentation |
fs.py | The kernel's own fs/ attributes |
tests/reference.py | The reference reader: a naive fold over the log, used as the test oracle |
Postgres enforces them, not just the Python code:
INSERT and SELECT on the fact table, and nothing else. Triggers refuse UPDATE, TRUNCATE, and any DELETE outside fs_excise(), even from the owner.session_user and its time from the clock, overwriting anything the client sends. Only the kernel's own functions can write fs/actor, fs/at and fs/excised_* facts.query takes one SQL statement over views (design open question 1, decided by the spike):
"po/status"(e, v, tx) in schema current, and history."po/status"(e, v, tx, op) over the whole log.factstore.as_of, which every view honours.A model writes the SQL, so read.py runs it on a separate connection:
READ ONLY transaction that is always rolled back, which undoes anything the statement changes, SET ROLE included;Advisory locks survive a rollback, so they are released after every read; a query can never hold the writer lock.
stats groups entities by signature, the exact set of attributes each one carries, and counts refs between signatures. That is co-occurrence in the form the ontology skill needs: a kind of thing is usually one signature, or a few that differ by optional attributes.
v = 'x' on any view can use.init installs factstore-core, but the kernel's tests pass core=False: the kernel knows no names, so its tests shouldn't depend on core's. The packages have their own tests.store.py; tests/test_register.py records the cases they were checked against. The "attributes registered" measure in M5 is what tunes them.