
ibm/ibmi-mcp-server 是从 https://github.com/ibm/ibmi-mcp-server. 导入的 MCP 服务器候选
概览
ibm/ibmi-mcp-server 是从 https://github.com/ibm/ibmi-mcp-server. 导入的 MCP 服务器候选
概述(AI 翻译)
IBM i 的 MCP 服务器和 CLI
概述
IBM i MCP 服务器使 AI 代理能够通过模型上下文协议(MCP)与 IBM i 系统交互。它为 i 数据库提供基于 SQL 的安全访问 Db2,使 Claude、VSCode Copilot、Bob 和自定义代理等 AI 应用能够查询系统信息、监控性能并执行数据库操作。
该仓库还附带了 ibmi CLI(@ibm/ibmi-cli)——一个终端优先的兄弟软件,共享相同的 YAML 驱动的 SQL 工具引擎,因此相同的工具定义在 MCP 服务器和 CLI 中都能使用。
工作原理: AI 客户端通过 MCP 连接→服务器执行 YAML 定义的 SQL 工具→结果通过 Mapepire 回流给 AI 代理。
[!提示] ** 📚 官方文档 |⚠️文档正在积极开发中
The Docs(文档)在不断发展。请经常回来查看更新和新指南。如果缺少内容,欢迎随时开启一期!
仓库结构
| 目录 | 目的 | 文档 |
|---|
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Overview
The IBM i MCP Server enables AI agents to interact with IBM i systems through the Model Context Protocol (MCP). It provides secure, SQL-based access to Db2 for i databases, allowing AI applications like Claude, VSCode Copilot, Bob, and custom agents to query system information, monitor performance, and execute database operations.
This repo also ships the ibmi CLI (@ibm/ibmi-cli) — a terminal-first sibling that shares the same YAML-driven SQL tool engine, so the same tool definitions work in both the MCP server and the CLI.
How it works: AI clients connect via MCP → Server executes YAML-defined SQL tools → Results stream back to the AI agent through Mapepire.
[!TIP] 📚 Official Documentation | ⚠️ Docs are under active development
The Docs are continuously evolving. Please check back frequently for updates and new guides. If there’s something missing, feel free to open an issue!
Repository Structure
| Directory | Purpose | Documentation |
|---|---|---|
packages/server/ |
MCP server implementation (TypeScript) — @ibm/ibmi-mcp-server on npm |
Server README |
packages/cli/ |
ibmi command-line interface — @ibm/ibmi-cli on npm, co-versioned with the server |
CLI README |
tools/ |
YAML-based SQL tool configurations | Tools Guide |
agents/ |
AI agent examples and integrations | Agents Guide |
client/ |
Python client examples for testing | Client README |
deployment/ |
Docker, Podman, OpenShift configs | Deployment Guide |
app/ |
Example Full stack Agent app (AgentOS) | App README |
Quick Navigation
安装
npx -y @ibm/ibmi-mcp-server@latest \