iris-objectscript-eval

Execute, compile, and test ObjectScript code via MCP tools.

27|10|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/intersystems-community/iris-dev --skill iris-objectscript-eval
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iris-objectscript-eval
Source: https://github.com/intersystems-community/iris-dev/tree/main/light-skills/skills/iris-objectscript-eval
Command: npx skills add https://github.com/intersystems-community/iris-dev --skill iris-objectscript-eval

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a unified way to execute, compile, and test ObjectScript code using the InterSystems MCP tools, reducing reliance on docker-based workarounds.

Core Features & Use Cases

  • MCP-first execution: Run arbitrary ObjectScript, compile .cls files, and run %UnitTest tests when MCP is connected.
  • Container flexibility: Switch between containers during a session and gracefully fall back to docker exec if MCP is unavailable.
  • Live discovery: Inspect live symbols, introspect class definitions, and fetch documentation with MCP commands.

Quick Start

Ask it to run a simple ObjectScript snippet via MCP to verify connectivity.

Frequently Asked Questions about iris-objectscript-eval

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute ObjectScript code using MCP tools?

You can execute ObjectScript code using MCP tools by sending snippets to the connected InterSystems environment. The skill prioritizes MCP commands for running code and returns structured results including success status, output, and namespace.

Can I compile .cls files and run %UnitTest suites through an MCP connection?

Yes, you can compile .cls files and run %UnitTest suites through an MCP connection. The skill facilitates compiling classes and executing unit tests directly when the InterSystems MCP toolset is connected.

What happens if my MCP connection is unavailable when running ObjectScript?

If the MCP connection is unavailable, the skill gracefully falls back to docker exec to run the ObjectScript code. This ensures execution continues even when MCP tools are disconnected.

Does this approach support switching between containers during an ObjectScript session?

Yes, the skill supports container switching during an active session. You can switch between containers while executing, compiling, or testing ObjectScript code without interrupting your workflow.

How do I inspect live symbols and introspect class definitions in ObjectScript?

You can inspect live symbols, introspect class definitions, and fetch documentation using MCP commands. The skill provides live discovery features to explore symbols and class structures within the connected environment.