Skip to main content
Glama
caretdev

InterSystems IRIS MCP Server

interoperability_production_create

Create an Interoperability Production in InterSystems IRIS to establish data exchange workflows between systems.

Instructions

Create an Interoperability Production

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes

Implementation Reference

  • Implements the core logic for creating an Interoperability Production using IRIS APIs, including validation, creation, saving, and compilation.
    async def interoperability_production_create(name: str, ctx: Context) -> bool: if "." not in name: raise ValueError( "Production name must in format packagenamespace.productionname, where packagenamespace can have multiple parts separated by dots" ) iris = ctx.iris with transaction(iris): prod = iris.classMethodObject( "%Dictionary.ClassDefinition", "%OpenId", name ) if prod: raise ValueError(f"Class {name} already exists") logger.info(f"Creating Interoperability Production: {name}") prod = iris.classMethodObject("Ens.Config.Production", "%New", name) raise_on_error(iris, prod.invokeString("SaveToClass")) raise_on_error(iris, prod.invokeString("%Save")) raise_on_error( iris, iris.classMethodString("%SYSTEM.OBJ", "Compile", name, "ck-d") ) return True

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/caretdev/mcp-server-iris'

If you have feedback or need assistance with the MCP directory API, please join our Discord server