IQMS / DELMIA Apriso

io.github.wyre-technology由 GitHub 账号 wyre-technology 发布v1.2.12更新于 Oct 26, 2026

MCP server for IQMS (DELMIAworks) ERP — manufacturing, inventory, production, and quality.

概览

AI 生成的概览

面向 IQMS / DELMIAworks(EnterpriseIQ)ERP 的 MCP 服务器,让助手查询制造、库存、BOM、订单、排程与质量数据。

可以做什么
  • 发现与检查:按领域列出可用工具,并检查凭据与数据库连接状态。
  • 读取工单:列出未结或进行中的工单,获取含工艺路线的完整工单详情。
  • 读取库存与 BOM:按物料、库位或批次查询现有库存,追溯批次谱系,展开 BOM 并做反查。
  • 读取订单与计划:未结销售订单及发货状态、未结采购订单及预计收货、机器排程与产能负荷。
  • 读取质量记录:不合格项、CAR 与 CAPA。
  • 写入(仅在配置了已授权的 WebAPI 模块时可用):创建工单、过账生产数量、调整库存、开立不合格记录。
适用场景
适合需要让助手回答企业 IQMS / DELMIAworks ERP 数据问题的场景,例如生产进度、库存水平、批次追溯、订单积压、产能或质量问题,且该系统没有公开的 REST API。写入工具只适用于已购买 DELMIAworks WebAPI 附加模块的站点。
运行要求
以本地 stdio 进程运行(npx 或容器镜像)。需要连接 IQMS 数据库的 Oracle 凭据:IQMS_ORACLE_USER、IQMS_ORACLE_PASSWORD 和 IQMS_ORACLE_CONNECT_STRING。写入工具还需已授权的 WebAPI 模块及其基础地址和凭据。HTTP/网关模式需要 CONDUIT_S2S_SECRET 以及每次请求携带的 Oracle 请求头。
安装前请注意
需要 ERP 系统的数据库凭据;Oracle 密码属于机密,应通过环境变量或请求头提供,不要写入代码库。写入工具会创建工单、过账生产数量、调整库存并开立不合格记录,会改动生产环境的 ERP 数据。网关模式下厂商凭据通过 X-IQMS-Oracle-Password 等请求头传递。MCP_ALLOW_INSECURE_DEV=1 会关闭共享密钥校验,仅限本地开发使用。

安装

在 SourceWeft 中

  1. 打开 控制台中的 IQMS / DELMIA Apriso,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

iqms-mcp

MCP server for IQMS / DELMIAworks (EnterpriseIQ), the manufacturing ERP from Dassault Systèmes.

Status: Read tools issue queries through @wyre-technology/node-iqms against the Direct Oracle path (always available). Write tools route through the licensed DELMIAworks WebAPI module — an optional add-on — and throw DriverNotConfiguredError until X-IQMS-WebAPI-Base-URL credentials are supplied.

Why this exists

EnterpriseIQ doesn't have a public REST API. The realistic integration paths are:

  1. Direct Oracle (universal at every install) — read-only queries
  2. WebAPI module (paid licensed add-on) — transactional writes

This MCP server exposes both behind a single decision-tree-navigated tool surface.

Tools

Initial discovery surface (always available):

  • iqms_navigate — list tools in a domain
  • iqms_status — credential / connection check

Domains: workorders, inventory, boms, sales_orders, purchase_orders, schedule, quality.

Read tools (Oracle, available always):

ToolPurpose
iqms_workorders_listOpen / in-progress work orders
iqms_workorders_getFull work order detail incl. routings
iqms_inventory_onhandOn-hand by item / location / lot
iqms_inventory_lot_traceLot genealogy walk
iqms_boms_explodeBOM explosion
iqms_boms_where_usedWhere-used reverse lookup
iqms_sales_orders_listOpen SOs / ship status
iqms_purchase_orders_listOpen POs / expected receipts
iqms_schedule_capacityMachine schedule + capacity load
iqms_quality_ncrsNon-conformances / CARs / CAPAs

Write tools (WebAPI, gated):

ToolPurpose
iqms_workorders_createCreate a new work order
iqms_workorders_post_productionPost qty made / scrapped
iqms_inventory_adjustInventory transaction
iqms_quality_create_ncrOpen a non-conformance record

Run modes

Local (stdio)

bash
IQMS_ORACLE_USER=eiq_ro \IQMS_ORACLE_PASSWORD=… \IQMS_ORACLE_CONNECT_STRING=eiq-db.example.com:1521/EIQ \npx -y github:WYRE-AI/iqms-mcp

Gateway (HTTP, stateless)

CONDUIT_S2S_SECRET is required. If it is empty or a known placeholder (changeme, placeholder, your-s2s-secret, and the other example values rejected at startup), the HTTP server logs an error and exits non-zero. It never prints the secret. Set MCP_ALLOW_INSECURE_DEV=1 only for local development to start without the secret; the process logs a warning, does not check X-Gateway-S2S, and binds 127.0.0.1 only. A non-loopback MCP_HTTP_HOST (including 0.0.0.0) is ignored in that mode and the override is logged. A placeholder secret still refuses to start.

MCP_HTTP_HOST is honored when CONDUIT_S2S_SECRET is set, and defaults to 0.0.0.0 when unset. With no secret, the listener is 127.0.0.1. The container image sets MCP_HTTP_HOST=0.0.0.0 and AUTH_MODE=gateway.

bash
CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \MCP_TRANSPORT=http \MCP_HTTP_PORT=8080 \AUTH_MODE=gateway \node dist/http.js

Local HTTP without a secret is development-only and always binds 127.0.0.1:

bash
MCP_ALLOW_INSECURE_DEV=1 npm run start:http
X-Gateway-S2S

With MCP_TRANSPORT=http and a real CONDUIT_S2S_SECRET, every /mcp request must include X-Gateway-S2S:

text
t=<unix seconds>,v1=<hex hmac-sha256>

The signature is HMAC-SHA256 of the literal message t=<unix seconds> (the same t= prefix that appears in the header), keyed with CONDUIT_S2S_SECRET, and hex-encoded. A missing or invalid header returns 401. /health stays unauthenticated and does not read vendor credentials. The stdio transport does not use CONDUIT_S2S_SECRET.

In AUTH_MODE=gateway, /mcp also requires the Oracle headers below. Those headers are the only credential source for that request. A request missing any of them returns 401 and does not fall back to IQMS_* in the process environment.

HeaderRequiredNotes
X-Gateway-S2Syes, when CONDUIT_S2S_SECRET is sett=<unix seconds>,v1=<hmac-sha256 hex of t=...>
X-IQMS-Oracle-UseryesOracle DB user
X-IQMS-Oracle-PasswordyesOracle DB password
X-IQMS-Oracle-Connect-StringyesEasy Connect or TNS
X-IQMS-WebAPI-Base-URLnoEnables write tools when all three WebAPI headers are present
X-IQMS-WebAPI-Userno
X-IQMS-WebAPI-Passwordno
Single-tenant HTTP (AUTH_MODE=env)

/mcp still requires a valid X-Gateway-S2S header. Vendor credentials come from IQMS_ORACLE_USER, IQMS_ORACLE_PASSWORD, and IQMS_ORACLE_CONNECT_STRING. Optional IQMS_WEBAPI_* variables enable write tools. This mode is separate from the gateway Compose service, which does not inject those variables.

Docker

The image listens on 0.0.0.0 inside the container and defaults to AUTH_MODE=gateway. Publish the port on loopback and pass the S2S secret. In gateway mode, IQMS credentials arrive on each request as headers; they are not read from the environment.

bash
docker build -t iqms-mcp .docker run \  -e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \  -p 127.0.0.1:8080:8080 \  iqms-mcp

Compose refuses to start when CONDUIT_S2S_SECRET is unset, sets AUTH_MODE=gateway, publishes 127.0.0.1:8080:8080, and does not inject static IQMS_* credentials:

bash
CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" docker compose up

License

Apache-2.0

来源:README.md,提交 f041571

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.2.12最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。