Supabase
MCP server for interacting with the Supabase platform
作者による説明(英語の原文)
Read-only SQL queries and schema inspection for IBM Db2 for i over ODBC, JT400 or Mapepire (SSH).
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っている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": "your-value",
"DB2I_USERNAME": "your-value",
"DB2I_PASSWORD": "your-value",
"DB2I_SCHEMA": "your-value",
"DB2I_PROFILES": "your-value",
"QUERY_ALLOWED_SCHEMAS": "your-value",
"DB2I_DRIVER": "your-value",
"DB2I_JDBC_OPTIONS": "your-value",
"DB2I_ODBC_OPTIONS": "your-value",
"DB2I_MAPEPIRE_OPTIONS": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add db2i --env DB2I_HOSTNAME=your-value --env DB2I_USERNAME=your-value --env DB2I_PASSWORD=your-value --env DB2I_SCHEMA=your-value --env DB2I_PROFILES=your-value --env QUERY_ALLOWED_SCHEMAS=your-value --env DB2I_DRIVER=your-value --env DB2I_JDBC_OPTIONS=your-value --env DB2I_ODBC_OPTIONS=your-value --env DB2I_MAPEPIRE_OPTIONS=your-value -- npx -y mcp-server-db2i動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"db2i": {
"command": "npx",
"args": [
"-y",
"mcp-server-db2i"
],
"env": {
"DB2I_HOSTNAME": "your-value",
"DB2I_USERNAME": "your-value",
"DB2I_PASSWORD": "your-value",
"DB2I_SCHEMA": "your-value",
"DB2I_PROFILES": "your-value",
"QUERY_ALLOWED_SCHEMAS": "your-value",
"DB2I_DRIVER": "your-value",
"DB2I_JDBC_OPTIONS": "your-value",
"DB2I_ODBC_OPTIONS": "your-value",
"DB2I_MAPEPIRE_OPTIONS": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"db2i": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-server-db2i"
],
"env": {
"DB2I_HOSTNAME": "your-value",
"DB2I_USERNAME": "your-value",
"DB2I_PASSWORD": "your-value",
"DB2I_SCHEMA": "your-value",
"DB2I_PROFILES": "your-value",
"QUERY_ALLOWED_SCHEMAS": "your-value",
"DB2I_DRIVER": "your-value",
"DB2I_JDBC_OPTIONS": "your-value",
"DB2I_ODBC_OPTIONS": "your-value",
"DB2I_MAPEPIRE_OPTIONS": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
DB2I_SCHEMA envDB2I_PROFILES envQUERY_ALLOWED_SCHEMAS envDB2I_DRIVER envDB2I_JDBC_OPTIONS envDB2I_ODBC_OPTIONS envDB2I_MAPEPIRE_OPTIONS envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント Strom-Capital で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:DB2I_HOSTNAME, DB2I_USERNAME, DB2I_PASSWORD
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(3.8.6)がレジストリに届いたのは昨日です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Supabase, MongoDB MCP Server, Elasticsearch MCP Server
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP server for interacting with the Supabase platform
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
作者のリポジトリから書かれたとおりにコピーしたものです。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
冒頭だけを表示しています。続きはリポジトリで読めます