Supabase
server ทางการของ Supabase ให้ AI สร้างตาราง ถามข้อมูล และดูการตั้งค่าโปรเจกต์ในฐานข้อมูล Supabase ของคุณ
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Read-only SQL queries and schema inspection for IBM Db2 for i over ODBC, JT400 or Mapepire (SSH).
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
DB2I_HOSTNAME, DB2I_USERNAME, DB2I_PASSWORD, DB2I_SCHEMA, DB2I_PROFILES, QUERY_ALLOWED_SCHEMAS, DB2I_DRIVER, DB2I_JDBC_OPTIONS, DB2I_ODBC_OPTIONS, DB2I_MAPEPIRE_OPTIONSค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"db2i": {
"command": "npx",
"args": [
"-y",
"mcp-server-db2i"
],
"env": {
"DB2I_HOSTNAME": "ใส่ค่าของคุณ",
"DB2I_USERNAME": "ใส่ค่าของคุณ",
"DB2I_PASSWORD": "ใส่ค่าของคุณ",
"DB2I_SCHEMA": "ใส่ค่าของคุณ",
"DB2I_PROFILES": "ใส่ค่าของคุณ",
"QUERY_ALLOWED_SCHEMAS": "ใส่ค่าของคุณ",
"DB2I_DRIVER": "ใส่ค่าของคุณ",
"DB2I_JDBC_OPTIONS": "ใส่ค่าของคุณ",
"DB2I_ODBC_OPTIONS": "ใส่ค่าของคุณ",
"DB2I_MAPEPIRE_OPTIONS": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add db2i --env DB2I_HOSTNAME='ใส่ค่าของคุณ' --env DB2I_USERNAME='ใส่ค่าของคุณ' --env DB2I_PASSWORD='ใส่ค่าของคุณ' --env DB2I_SCHEMA='ใส่ค่าของคุณ' --env DB2I_PROFILES='ใส่ค่าของคุณ' --env QUERY_ALLOWED_SCHEMAS='ใส่ค่าของคุณ' --env DB2I_DRIVER='ใส่ค่าของคุณ' --env DB2I_JDBC_OPTIONS='ใส่ค่าของคุณ' --env DB2I_ODBC_OPTIONS='ใส่ค่าของคุณ' --env DB2I_MAPEPIRE_OPTIONS='ใส่ค่าของคุณ' -- npx -y mcp-server-db2iเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"db2i": {
"command": "npx",
"args": [
"-y",
"mcp-server-db2i"
],
"env": {
"DB2I_HOSTNAME": "ใส่ค่าของคุณ",
"DB2I_USERNAME": "ใส่ค่าของคุณ",
"DB2I_PASSWORD": "ใส่ค่าของคุณ",
"DB2I_SCHEMA": "ใส่ค่าของคุณ",
"DB2I_PROFILES": "ใส่ค่าของคุณ",
"QUERY_ALLOWED_SCHEMAS": "ใส่ค่าของคุณ",
"DB2I_DRIVER": "ใส่ค่าของคุณ",
"DB2I_JDBC_OPTIONS": "ใส่ค่าของคุณ",
"DB2I_ODBC_OPTIONS": "ใส่ค่าของคุณ",
"DB2I_MAPEPIRE_OPTIONS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"db2i": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-server-db2i"
],
"env": {
"DB2I_HOSTNAME": "ใส่ค่าของคุณ",
"DB2I_USERNAME": "ใส่ค่าของคุณ",
"DB2I_PASSWORD": "ใส่ค่าของคุณ",
"DB2I_SCHEMA": "ใส่ค่าของคุณ",
"DB2I_PROFILES": "ใส่ค่าของคุณ",
"QUERY_ALLOWED_SCHEMAS": "ใส่ค่าของคุณ",
"DB2I_DRIVER": "ใส่ค่าของคุณ",
"DB2I_JDBC_OPTIONS": "ใส่ค่าของคุณ",
"DB2I_ODBC_OPTIONS": "ใส่ค่าของคุณ",
"DB2I_MAPEPIRE_OPTIONS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
DB2I_SCHEMA envDB2I_PROFILES envQUERY_ALLOWED_SCHEMAS envDB2I_DRIVER envDB2I_JDBC_OPTIONS envDB2I_ODBC_OPTIONS envDB2I_MAPEPIRE_OPTIONS envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Strom-Capital ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: DB2I_HOSTNAME, DB2I_USERNAME, DB2I_PASSWORD
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (3.8.6) เข้า registry เมื่อวาน
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
mcp-server-db2i is a Model Context Protocol (MCP) server for IBM Db2 for i (Db2i) on IBM i (AS/400). It enables AI assistants like Claude and Cursor to query and inspect IBM i databases through the IBM i Access ODBC driver, or optionally the JT400 JDBC driver or Mapepire over SSH.
Listed in the MCP Registry as io.github.Strom-Capital/mcp-server-db2i.
Website: db2i-mcp.com, with a blog that explains each release. Docs: docs.db2i-mcp.com.
AI clients connect to the MCP Server in one of two ways. Local clients such as Claude Desktop, Claude Code and Cursor can start it as a process and talk over stdio. Remote clients connect over Streamable HTTP at /mcp, signing in with OAuth 2.1 (claude.ai custom connectors) or a bearer token (custom agents). Local clients can also use the HTTP endpoint. The server executes read-only queries against Db2 for i using the IBM i Access ODBC driver (default, no Java), the optional JT400 JDBC driver (DB2I_DRIVER=jt400), or Mapepire over SSH (DB2I_DRIVER=mapepire) for systems where only SSH is reachable. One server can reach several IBM i systems through connection profiles, each with its own driver.
graph LR
subgraph clients ["AI Clients"] local("Claude Desktop, Claude Code, Cursor") remote("claude.ai connectors") agents("Custom Agents") end
subgraph server ["MCP Server"] stdio["stdio"] http["Streamable HTTP + Auth"] tools[["MCP Tools"]] profiles{{"System profiles"}} odbc["IBM i Access ODBC"] jdbc["JT400 JDBC (optional)"] mapepire["Mapepire over SSH (optional)"] end
subgraph prod ["IBM i: prod"] db2prod[("Db2 for i")] end
subgraph test ["IBM i: test"] db2test[("Db2 for i")] end
subgraph dev ["IBM i: dev"] db2dev[("Db2 for i")] end
local -->|local process| stdio local -.->|remote URL| http remote -->|OAuth 2.1| http agents -->|bearer token| http stdio & http --> tools tools --> profiles profiles --> odbc & jdbc & mapepire odbc -->|ODBC| db2prod jdbc -->|JDBC| db2test mapepire -->|SSH| db2dev
DB2I_PROFILES, each with its own driver, credentials, and library allowlist. Tools take an optional system argument. See Multiple systemsDB2I_DRIVER=mapepire, reach an IBM i where only SSH is open. Mapepire starts inside the SSH session, with no server install and a host key check. See Using the Mapepire driverexecute_querymcp-server-db2i validate-tools before the server starts. See Business SQL toolsMCP_TOOL_INTENT). See Audit logMCP_CUSTOM_TOOLS_WATCH=truenpm install -g mcp-server-db2i
The default odbc driver needs unixODBC and the IBM i Access ODBC Driver on the machine. No Java is needed. The other drivers' packages are not installed by default, so add them next to the server:
npm install -g mcp-server-db2i node-jt400 # DB2I_DRIVER=jt400, needs a JDK to install and a JRE to run
npm install -g mcp-server-db2i @ibm/mapepire-js ssh2 # DB2I_DRIVER=mapepire, when only SSH reaches the IBM i
With npx, pass them with -p, for example npx -y -p mcp-server-db2i@latest -p node-jt400 mcp-server-db2i. See Installing the jt400 and mapepire packages.
Or with Docker:
docker build -t mcp-server-db2i . # odbc image (amd64; add --platform linux/amd64 on arm64)
docker build --target jt400 -t mcp-server-db2i . # jt400 image (builds natively on arm64)
Create a .env file with your IBM i credentials:
DB2I_HOSTNAME=your-ibm-i-host.com
DB2I_USERNAME=your-username DB2I_PASSWORD=your-password DB2I_SCHEMA=your-default-schema # Optional
Add to your MCP client config (e.g., ~/.cursor/mcp.json):
{
"mcpServers": { "db2i": { "command": "npx", "args": ["-y", "mcp-server-db2i@latest"], "env": { "DB2I_HOSTNAME": "${env:DB2I_HOSTNAME}", "DB2I_USERNAME": "${env:DB2I_USERNAME}", "DB2I_PASSWORD": "${env:DB2I_PASSWORD}" } } } }
This uses environment variable expansion to keep credentials out of config files. Set the variables in your shell profile (~/.zshrc or ~/.bashrc).
See the Client Setup Guide for Cursor, Claude Desktop, Claude Code, and Docker setup options.
No MCP client? The example web app is a browser chat with result tables, exports and the business SQL tools. Users sign in with their IBM i user profile and bring their own model API key.
| Tool | Description |
|---|---|
execute_query | Execute read-only SELECT queries, with an optional chart hint for the result view |
export_query | Write every row of a read-only query to a CSV or XLSX file: a path over stdio, a short-lived download link over HTTP. Off unless EXPORT_ENABLED is set |
list_schemas | List schemas/libraries (with optional filter) |
list_tables | List tables in a schema (with optional filter) |
search_tables | Find tables by name or description across libraries |
search_columns | Find columns by name or description across libraries |
describe_table | Get detailed column information |
list_views | List views in a schema (with optional filter) |
list_indexes | List SQL indexes for a table |
get_table_constraints | Get primary keys, foreign keys, unique constraints |
list_routines | List SQL procedures and functions in a library, with language, external program, and SQL data access |
describe_routine | Parameters, return value or result columns, and a call template for a procedure or function |
validate_query | Check a statement without running it, including catalog names |
get_object_ddl | Return the SQL DDL that recreates an object |
get_related_objects | List objects that depend on a table |
get_journal_info | List journal, images, and primary key per table, and flag tables a replication tool cannot read |
index_advice | List the indexes the query optimizer asked for in a library, merged and ranked by temporary index use |
profile_table | Row count, last change, and per-column distinct and null counts from stored statistics or a scan |
get_business_context | List business descriptions, row filters and relations loaded from YAML |
search_ibmi_services | Find IBM i services by keyword or category, with the release that added each one and an example query |
In hosts that support MCP Apps, results from execute_query, profile_table and business SQL tools open as a grid and a chart under the tool call. See Result view.
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/result-view
ตัดมาแค่ช่วงต้น อ่านต่อใน repo