
InterSystems IRIS 的 AI 编码工具——VS Code Copilot 和 Claude Code 的单一二进制 MCP 服务器
概览
MCP 服务器和 CLI 连接 AI 编码代理到实时的 InterSystems IRIS 实例。编译 ObjectScript,运行 SQL,搜索命名空间,运行单元测试,检查生产——无论是通过任何兼容 MCP 的代理还是命令行。 需要 IRIS 2023.1 或更高版本。支持原生 IRIS 在 Windows 或 Linux 上运行,并支持 Docker 运行。 90+ 工具通过模型上下文协议(Model Context Protocol)展示。连接一次;您的代理按工具名称呼叫。支持 Claude Code、GitHub Copilot、OpenCode 或任何 MCP 客户端。 如果只暴露 IRIS 工具而不显示 skill/KB/learning-agent 表面,可以传递 --no-skills(或设置 IRIS_NO_SKILLS=true)。当技能单独安装且想避免 MCP 客户端出现重复工具名称时,这很有用: → 快速入门:VS Code + 副驾驶 |快速入门:Claude Code / OpenCode |完整连接文档 一个工具调用,一个子进程,没有服务器。适合运行shell命令、CI脚本和技能仓库的代理,这些需要IRIS访问且没有持久MCP进程。
概述(AI 翻译)
MCP服务器和CLI连接AI编码代理到实时的InterSystems IRIS实例。 编译ObjectScript,运行SQL,搜索命名空间,运行单元测试,检查生产环境—— 来自任何兼容MCP的代理或命令行。
需要 IRIS 2023.1 或更高版本。支持原生 IRIS 在 Windows 或 Linux 上运行,并支持 Docker 运行。
选择你的模式
模式1 — MCP服务器
90+工具通过模型上下文协议(Model Context Protocol)暴露。连接一次;你的代理调用工具 以姓名表示。可支持Claude Code、GitHub Copilot、OpenCode或任何MCP客户端。
如果只暴露 IRIS 工具,没有技能/知识库/学习代理表面,就放弃吧
--no-skills(或设置IRIS_NO_SKILLS=true)。技能安装时非常有用
另外,你要避免MCP客户端出现重复的工具名称:
→ 快速入门:VS 代码 + 副驾驶 | 快速入门:Claude 代码 / OpenCode | 完整的连接文档
模式2 — CLI 工具调度
一个工具调用,一个子进程,没有服务器。对于运行shell命令的代理来说很合适, 需要IRIS访问且没有持久MCP进程的CI脚本和技能仓库。
参数作为 JSON 对象放在 --args(或 -a])中。工具名称是唯一的定位名称。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
iris-agentic-dev
MCP server and CLI that connects AI coding agents to a live InterSystems IRIS instance. Compile ObjectScript, run SQL, search namespaces, run unit tests, inspect productions — from any MCP-compatible agent or from the command line.
Requires IRIS 2023.1 or later. Works with native IRIS on Windows or Linux, and with Docker.
Pick your mode
Mode 1 — MCP server
90+ tools exposed over the Model Context Protocol. Connect once; your agent calls tools by name. Works with Claude Code, GitHub Copilot, OpenCode, or any MCP client.
iris-agentic-dev mcp
To expose only the IRIS tools without the skill/KB/learning-agent surface, pass
--no-skills (or set IRIS_NO_SKILLS=true). Useful when skills are installed
separately and you want to avoid duplicate tool names in the MCP client:
iris-agentic-dev mcp --no-skills
→ Quick start: VS Code + Copilot | Quick start: Claude Code / OpenCode | Full connection docs
Mode 2 — CLI tool dispatch
One tool call, one subprocess, no server. Good for agents that run shell commands, CI scripts, and skill repos that need IRIS access without a persistent MCP process.
Arguments go in --args (or -a) as a JSON object. The tool name is the only positional.
iris-agentic-dev tool iris_query --args '{"sql":"SELECT TOP 5 ID FROM Sample.Person"}'
iris-agentic-dev tool iris_compile --args '{"target":"MyApp.Foo.cls"}'
iris-agentic-dev tool iris_execute --args '{"code":"Write ##class(%SYS.ProcessQuery).GetInfo()"}'
tool --list names every tool and tool --schema prints its parameters, both without
connecting to IRIS — that is the fastest way to find out what a tool wants in --args:
iris-agentic-dev tool --list
iris-agentic-dev tool iris_query --schema
→ Tool reference | Annotated session: tracing an ADT^A03 through a production
Mode 3 — Skills only
No IRIS connection, no server. Installs ObjectScript instruction files into your agent’s skill directory. The binary and skills are independent — installing one doesn’t install the other.
iris-agentic-dev skill install
→ Skill docs | Full skill reference
Install
Mac (Homebrew)
brew tap intersystems-community/tap
brew install iris-agentic-dev
brew upgrade iris-agentic-dev updates the binary only — installed skills are
not touched by Homebrew. Run iris-agentic-dev skill install (or --all) after upgrading to
pick up new skills. Files installed before the managed_by marker was introduced
(or installed by other means) will be skipped as unrecognized; pass --force to
overwrite them and stamp them so later upgrades pick them up.
Direct download
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"iris-agentic-dev": {
"command": "iris-agentic-dev",
"args": ["mcp"],
"env": {
"IRIS_HOST": "localhost",
"IRIS_WEB_PORT": "52773",
"IRIS_USERNAME": "_SYSTEM",
"IRIS_PASSWORD": "<your _SYSTEM password>",
"IRIS_NAMESPACE": "USER"
}
}
}
}