AI Agent Connectivity Layer for Db2 for i

IBM i MCP Server

An open-source, IBM-published Model Context Protocol server that lets AI agents and LLMs query Db2 for i data, inspect system objects, and take defined actions on IBM i using natural language.

Vendor: IBM Operating environment: Runs on IBM i; consumes Db2 for i via Mapepire; used by MCP-compatible AI clients Deployment: Open-source MCP server (self-hosted); beta since October 2025

The IBM i MCP Server is an open-source project published by IBM on GitHub, implementing the Model Context Protocol (MCP), an open standard for connecting AI agents and LLM-powered tools to external data and actions. For an IBM i shop, it means an AI agent can query Db2 for i data, inspect system objects, and take defined actions on IBM i, all through natural language, rather than requiring hand-written SQL for every question.

How it connects to Db2 for i

Mapepire connectivity

Uses Mapepire, a secure, modern Db2 for i connectivity layer, to reach Db2 for i data rather than an older or ad hoc connection method.

YAML-defined tools

SQL tools are defined in YAML, shared with a companion ibmi CLI (@ibm/ibmi-cli), so the same tool definitions can be used from an AI agent or from the command line.

MCP-compatible clients

Works with any MCP-compatible AI client, including Claude, GPT-4-based tools, and local LLMs, rather than being tied to one specific AI vendor.

What it is not

This is not a machine learning or predictive-modeling feature. It does not train or score models, and it is not a substitute for a demand-forecasting or anomaly-detection capability. It is an agent-connectivity and tooling layer: it lets an external AI agent or LLM query and act on Db2 for i data using natural language.

The IBM i MCP Server is in beta, opened October 27, 2025. Confirm current capability and production-readiness against IBM's GitHub repository before scoping a project around it.