Home › Development › IBM Db2 for i
IBM Db2 for i
Read-only SQL queries and schema inspection for IBM Db2 for i over ODBC, JT400 or Mapepire (SSH).
Connect
Review any command before running it. Package names and URLs come from the server's own registry entry.
Package (npm 3.8.7)
npx -y [email protected]
Or add to your MCP client config:
{
"mcpServers": {
"mcp-server-db2i": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"DB2I_HOSTNAME": "<YOUR_VALUE>",
"DB2I_USERNAME": "<YOUR_VALUE>",
"DB2I_PASSWORD": "<YOUR_VALUE>"
}
}
}
}
DB2I_HOSTNAMErequired — IBM i hostname or IPv4 addressDB2I_USERNAMErequired — IBM i user profileDB2I_PASSWORDrequired secret — IBM i passwordDB2I_SCHEMA— Default schema (library)DB2I_PROFILES— Path to a YAML file of IBM i systems. When set, it replaces the DB2I_* connection variablesQUERY_ALLOWED_SCHEMAS— Comma-separated schemas the server may read. Empty disables the check.DB2I_DRIVER— Database 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)DB2I_JDBC_OPTIONS— Extra JT400 JDBC properties, semicolon-separated (jt400 and mapepire drivers)DB2I_ODBC_OPTIONS— Extra IBM i Access ODBC connection keywords, semicolon-separated (odbc driver)DB2I_MAPEPIRE_OPTIONS— SSH and Mapepire settings, semicolon-separated, e.g. hostKey=SHA256:...;agent=true;maxJobs=2 (mapepire driver)
Related servers
storybook
Helps agents write and test Storybook stories for UI components.
chromedevtools/chrome-devtools-mcp
MCP server for Chrome DevTools
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
PostHog MCP Server
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
code-review-graph
Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters,…
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
Data from the Official MCP Registry