AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

How to install IBM Db2 for i in Antigravity CLI

To install IBM Db2 for i in Antigravity CLI, add the "ibm-db2-for-i" block to the mcpServers section of ~/.gemini/config/mcp_config.json (remote servers use "serverUrl"), then start agy.

Built from the published package · server updated 4 days ago

  1. 1

    Open the MCP config

    Create or open ~/.gemini/config/mcp_config.json for every project, or .agents/mcp_config.json for this project only.

  2. 2

    Add the server

    Paste this. If the file already has servers, add the "ibm-db2-for-i" entry inside the existing mcpServers block.

    {
      "mcpServers": {
        "ibm-db2-for-i": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-server-db2i"
          ],
          "env": {
            "DB2I_HOSTNAME": "ibmi.example.com",
            "DB2I_USERNAME": "YOUR_DB2I_USERNAME",
            "DB2I_PASSWORD": "YOUR_DB2I_PASSWORD"
          }
        }
      }
    }
  3. 3

    Start Antigravity CLI

    Run agy. The server and its tools load when the session starts.

Config file: ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project)

MCP servers run with your permissions. If IBM Db2 for i needs an API key, add it under env in the config. Check its README.

Install IBM Db2 for i in another app

Similar servers

Questions

Does IBM Db2 for i work in Antigravity CLI?

Yes. Antigravity CLI supports local and remote mcp servers, skills, plugins, and IBM Db2 for i installs with the steps above.

IBM Db2 for i does not show up in Antigravity CLI. What now?

Restart Antigravity CLI fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.

Is IBM Db2 for i safe?

It scores 80 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.