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 分

    請在儲存庫或註冊中心條目中宣告授權條款。