Back to Home
IBM icon

ibmi-mcp-server

Verified Safe

by IBM

Overview

The IBM i MCP Server enables AI agents to monitor, administer, and query IBM i systems using SQL tools, supporting performance analysis, system administration, and security vulnerability assessment.

Installation

Run Command
npx ibmi-mcp-server --transport http

Environment Variables

  • DB2i_HOST
  • DB2i_USER
  • DB2i_PASS
  • DB2i_PORT
  • TOOLS_YAML_PATH
  • IBMI_AUTH_PRIVATE_KEY_PATH
  • IBMI_AUTH_PUBLIC_KEY_PATH

Security Notes

The server design explicitly exposes powerful IBM i SQL tools, including some that can execute arbitrary SQL (with keyword filtering) and CL commands that modify system settings (e.g., `qsys2.qcmdexc` in `execute_impersonation_lockdown`). While this is inherent to its purpose, it's managed by robust security mechanisms: explicit `readOnly` and `destructiveHint` flags, comprehensive `sqlSecurityValidator` with AST-based parsing to prevent SQL injection and filter forbidden keywords, and a client-side `FilteredMCPTools` to restrict agent access. Configuration requires environment variables for DB2i credentials and HTTP authentication relies on securely managed private/public keys, avoiding hardcoded secrets. The `sanitizeForLogging` utility further improves security posture by masking sensitive data in logs. Overall, while exposing powerful commands, the project demonstrates a strong commitment to security through design and implementation.

Similar Servers

Stats

Interest Score47
Security Score8
Cost ClassMedium
Avg Tokens500
Stars34
Forks11
Last Update2026-01-18

Tags

IBM iMCPAI AgentsSystem MonitoringSQL Tools