Not loaded · from iris-dev
Configures VSCode for ObjectScript development against IRIS containers. Covers intersystems.servers settings, port 52773 vs 1972, enterprise webgateway setup, and connection verification.
Claude Code won't load this skill
It ships in iris-dev at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Every container below is one you start for yourself. Publish its ports on 127.0.0.1 only, give
_SYSTEM one generated password (step 4 of the iris-agentic-dev-setup skill), and leave the
other predefined accounts expired. If a container with that name already exists, ask before
running any of these steps against it: it is someone's work, and a password change or a changed
port binding is not something you can take back.
| Image | Has private web server | Atelier REST | Solution |
|---|---|---|---|
intersystemsdc/iris-community:* | ✅ built-in | ✅ port 52773 | Direct |
intersystemsdc/irishealth-community:* | ✅ built-in | ✅ port 52773 | Direct |
containers.intersystems.com/intersystems/iris:* (enterprise) | ❌ WebServer=0 | ✅ via webgateway | See below |
irishealth:2026.2.0AI.* | ❌ WebServer=0 | ✅ via webgateway | See below |
Enterprise images have WebServer=0 and no httpd binary. The webgateway container DOES work — but requires correct configuration (see three bugs below).
Verified working 2026-05-03 against intersystems/iris:2026.1.
services:
iris:
image: containers.intersystems.com/intersystems/iris:2026.1
container_name: iris-enterprise
ports:
- "127.0.0.1:4972:1972"
volumes:
- ./iris.key:/usr/irissys/mgr/iris.key:ro
networks:
- iris-net
webgateway:
image: containers.intersystems.com/intersystems/webgateway:2026.1
container_name: iris-enterprise-webgateway
ports:
- "127.0.0.1:64780:80"
environment:
# Passed through from the shell that runs `docker compose up`; never a literal here.
- ISC_WG_USER
- ISC_WG_PASSWORD
networks:
- iris-net
volumes:
- ./webgateway-init.sh:/webgateway-init.sh:ro
entrypoint: ["/bin/sh", "/webgateway-init.sh"]
networks:
iris-net:
driver: bridge
#!/bin/sh
# Start the webgateway in background
/startWebGateway &
# BUG 1 FIX: Wait for CSP.ini to be fully initialized before patching
for i in $(seq 1 60); do
grep -q "Configuration_Initialized" /opt/webgateway/bin/CSP.ini 2>/dev/null && break
sleep 1
done
# BUG 2 FIX: Add credentials to [LOCAL] server section.
# Default tries CSPSystem which doesn't exist in fresh enterprise containers.
# Must add Username/Password so the webgateway can authenticate to IRIS. They come from the
# environment (ISC_WG_USER, ISC_WG_PASSWORD), never from a literal in this file.
: "${ISC_WG_USER:?set ISC_WG_USER}" "${ISC_WG_PASSWORD:?set ISC_WG_PASSWORD}"
sed -i "/^\[LOCAL\]/a Username=${ISC_WG_USER}\nPassword=${ISC_WG_PASSWORD}" /opt/webgateway/bin/CSP.ini
# Point LOCAL at the IRIS container (use Docker service name, not localhost)
sed -i 's/^Ip_Address=127\.0\.0\.1/Ip_Address=iris/' /opt/webgateway/bin/CSP.ini
# BUG 3 FIX: Use CSP On directive (not SetHandler csp-handler-sa).
# SetHandler in <Location> doesn't work — only CSP On routes correctly.
# This is the ISC official pattern from webgateway-examples.
cat > /etc/apache2/conf-enabled/CSP.conf << "EOF"
CSPModulePath "${ISC_PACKAGE_INSTALLDIR}/bin/"
CSPConfigPath "${ISC_PACKAGE_INSTALLDIR}/bin/"
<Location />
CSP On
</Location>
<Directory "${ISC_PACKAGE_INSTALLDIR}/bin/">
AllowOverride None
Options None
Require all granted
<FilesMatch "\.(log|ini|pid|exe)$">
Require all denied
</FilesMatch>
</Directory>
EOF
apachectl graceful 2>/dev/null || true
wait
_SYSTEM passwordFresh enterprise containers require a password change on first login. Give _SYSTEM a new
generated password with step 4 of the iris-agentic-dev-setup skill (the container is
iris-enterprise here). Do not run UnExpireUserPasswords over every account: that leaves
SuperUser, Admin and CSPSystem with the published SYS, which then works for anyone who
can reach the gateway.
Start the gateway with that password in the environment, so the init script above can read it:
ISC_WG_USER=_SYSTEM ISC_WG_PASSWORD="$PW" docker compose up -d webgateway
printf 'user = "_SYSTEM:%s"\n' "$PW" | curl -s -K - "http://localhost:64780/api/atelier/" \
| python3 -c "import sys,json; print(json.load(sys.stdin)['result']['content']['version'])"
# → IRIS for UNIX ... 2026.1 ...
{
"intersystems.servers": {
"iris-enterprise": {
"webServer": {
"host": "localhost",
"port": 64780, // webgateway host port
"pathPrefix": "",
},
"username": "_SYSTEM",
"description": "IRIS enterprise via webgateway",
},
},
}
/startWebGateway writes CSP.ini asynchronously. If you sed it immediately, the file gets regenerated and your changes are lost. Fix: poll for Configuration_Initialized in CSP.ini before patching.
[LOCAL]The webgateway's default [LOCAL] server section has no Username/Password. It tries to connect as CSPSystem, which doesn't exist in a fresh enterprise container. Result: "Connection Validation Failed: 403 Access Denied" in CSP.log. Fix: add Username and Password to the [LOCAL] section, read from ISC_WG_USER and ISC_WG_PASSWORD.
SetHandler csp-handler-sa inside <Location> blocks does NOT route requests through the CSP module correctly — Apache's filesystem handler intercepts first and returns 404. The correct directive is CSP On inside <Location />. This is the official ISC pattern from intersystems-community/webgateway-examples. Using SetHandler is a dead end.
docker exec iris-enterprise-webgateway tail -20 /opt/webgateway/logs/CSP.log
"Connection Validation Failed: 403 Forbidden... Access Denied" → Bug 2 (missing credentials)"Connection Validation Failed: 403... Password change required" → the _SYSTEM password is still expired; set a new one (step 4 of the iris-agentic-dev-setup skill)services:
iris:
image: intersystemsdc/iris-community:2026.1
ports:
- "127.0.0.1:1972:1972"
- "127.0.0.1:52773:52773"
The first login needs a new _SYSTEM password. Run step 4 of the iris-agentic-dev-setup skill
after docker compose up. For an unattended container nobody else can reach, iris-cpf-merge
shows how to set a generated password hash at first boot; clearing an expiry without a new hash
leaves the published default working.
VSCode settings.json uses "port": 52773 (or the mapped host port).
printf 'user = "_SYSTEM:%s"\n' "$PW" | curl -s -K - "http://localhost:52773/api/atelier/" \
| python3 -c "import sys,json; print(json.load(sys.stdin)['result']['content']['version'])"
# 404 → web server not running (enterprise without webgateway, or IRIS still starting)
# 401 → wrong credentials or expired password
# 500 → webgateway connecting but auth failing (check CSP.log)
# 200 + version string → working
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub intersystems-community/iris-agentic-dev --plugin iris-dev40 skills in this plugin
/ensemble-productionManage and observe IRIS Interoperability productions — lifecycle, logs, queues, and message tracing. Covers pyprod Python API, ObjectScript Ens.Director, and MCP tool flow./iris-agentic-devConfigure, connect, and troubleshoot the iris-agentic-dev MCP server (iris_execute/iris_query/iris_doc/docs_introspect/kb/etc.) against an IRIS container or instance. Use when its tools return IRIS_UNREACHABLE, when pointing it at a new IRIS, or when a connection edit "isn't taking effect." Covers the .iris-agentic-dev.toml config, live file-watch reload, the OrbStack port-discovery gotcha, and the docker-exec fallback./iris-agentic-dev-setupOther plugins' skills for the same job