ibmi-mcp-server
Verified Safeby 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
npx ibmi-mcp-server --transport httpEnvironment 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
mcp
Connect IBM products and other enterprise systems to AI agents via the Model Context Protocol (MCP) to enable AI models to interact with various local and remote resources.
boilerplate-mcp-server
Provides a production-ready foundation for developing custom Model Context Protocol (MCP) servers in TypeScript to connect AI assistants with external APIs and data sources, exemplified by an IP geolocation tool.
mcp-server-db2i
Enables AI assistants to query and inspect IBM DB2 for i databases using the Model Context Protocol (MCP) via stdio or HTTP.
mcp-agent-kit
Simplifies the creation and management of AI agents, chatbots, and Model Context Protocol (MCP) servers with various LLM providers.