IBM Db2 for i
io.github.Strom-Capital/mcp-server-db2i
v3.8.9Updated Nov 18, 2026stdio · npm
Read-only SQL queries and schema inspection for IBM Db2 for i over ODBC, JT400 or Mapepire (SSH).
Install
Needs 1 secret. Replace 3 placeholders with your own values.
Run in your terminal. Replace 3 placeholders.
claude mcp add mcp-server-db2i -e 'DB2I_HOSTNAME=<your-db2i-hostname>' -e 'DB2I_USERNAME=<your-db2i-username>' -e 'DB2I_PASSWORD=<your-db2i-password>' -e DB2I_DRIVER=odbc -- npx -y [email protected]Configuration
10 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.
DB2I_PASSWORDEnv var· required· secretIBM i passwordDB2I_HOSTNAMEEnv var· requiredIBM i hostname or IPv4 addressDB2I_USERNAMEEnv var· requiredIBM i user profileDB2I_SCHEMAEnv var· optionalDefault schema (library)DB2I_PROFILESEnv var· optionalPath to a YAML file of IBM i systems. When set, it replaces the DB2I_* connection variablesQUERY_ALLOWED_SCHEMASEnv var· optionalComma-separated schemas the server may read. Empty disables the check.
Show 4 moreShow fewer
DB2I_DRIVEREnv var· optionalDatabase driver: odbc (default, IBM i Access ODBC driver, no Java), jt400 (install node-jt400 next to the server; needs a JDK at install and a JRE at runtime) or mapepire (install @ibm/mapepire-js and ssh2; Mapepire over SSH, needs Java on the IBM i only)Default:odbcDB2I_JDBC_OPTIONSEnv var· optionalExtra JT400 JDBC properties, semicolon-separated (jt400 and mapepire drivers)DB2I_ODBC_OPTIONSEnv var· optionalExtra IBM i Access ODBC connection keywords, semicolon-separated (odbc driver)DB2I_MAPEPIRE_OPTIONSEnv var· optionalSSH and Mapepire settings, semicolon-separated, e.g. hostKey=SHA256:...;agent=true;maxJobs=2 (mapepire driver)
Links
Listed in the official MCP Registry since Nov 18, 2026. Mirrored daily; last checked Nov 26, 2026.