AICraft Injection Process

io.github.DreamwayChan由 GitHub 帳號 DreamwayChan 發布v1.0.0更新於 Nov 20, 2026

Injection molding first-shot recommendation and defect-driven tuning API.

發布方自己的服務:Craft

已驗證Streamable HTTP可網頁執行開發者工具

概覽

AI 產生的概覽

託管型 MCP 伺服器,用於推薦射出成型的首件製程參數,並針對實際缺陷調整參數。

可以做什麼
  • 查詢免費的欄位、參數鍵、單位、缺陷代碼與錯誤代碼目錄
  • 依材料、模具與機台資料推薦初始製程參數
  • 針對指定缺陷與其嚴重程度調整目前製程參數
  • 以可讀摘要、附單位的具名參數項目及原始鍵值表三種形式回傳結果
適用情境
適合射出成型工程師或協助他們的代理程式:在試模前需要一組起始參數,或在試模出現短射、毛邊、變形等缺陷後需要修正建議。
執行需求
付費工具需要訂閱 API 金鑰,透過環境變數 AICRAFT_API_KEY 提供;schema 工具不需金鑰。README 說明本機安裝需 Python 3.10+,可選擇設定 AICRAFT_BASE_URL,另外也提供遠端 Streamable HTTP 端點。需要能連線至託管 API 的網路。
安裝前請注意
付費工具會消耗訂閱額度(說明為每月 19 美元、1000 次呼叫),反覆呼叫會產生費用;無效輸入與引擎失敗據稱不扣額度。製程資料會傳送到託管服務進行計算,API 金鑰是可計費憑證,需妥善保管。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 AICraft Injection Process,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.DreamwayChan%2Finjection-process/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "aicraft-injection-process": {
      "type": "http",
      "url": "https://aicraft4injection.com/mcp"
    }
  }
}

README

AICraft MCP Server

[License: MIT]

A Model Context Protocol server that gives AI agents access to injection molding process optimization: first-shot process recommendation and defect-driven tuning.

This is a thin MCP client. All calculation, authentication, and billing happen on the hosted HTTPS API. No process data or algorithm code runs locally.

What it does

Injection molding engineers need two things: a sensible starting set of machine parameters before a trial run, and corrections when the trial shows defects. This server exposes both as MCP tools, backed by a self-developed rule engine with explainable reasoning.

ToolWhat it doesCost
schemaFree catalog of fields, units, defect codes, and error codesFree
first_shotRecommend initial process parameters from material, part, and machine data1 API call
optimizeAdjust current parameters for an observed defect1 API call

The paid tools require a subscription API key. Get one at https://aicraft4injection.com ($19/month, 1000 calls). The schema tool works without a key so agents can discover the contract before paying.

Requirements

Installation

bash
pip install -r requirements.txt

Configuration

Set two environment variables:

bash
export AICRAFT_API_KEY="sk_your_key_here"                       # required for paid toolsexport AICRAFT_BASE_URL="https://aicraft4injection.com"         # optional, this is the default

Usage with MCP clients

Add this server to your MCP client configuration (Claude Desktop, Cursor, Cline, etc.):

json
{  "mcpServers": {    "aicraft": {      "command": "python",      "args": ["/absolute/path/to/agent-mcp-server/server.py"],      "env": {        "AICRAFT_API_KEY": "sk_your_key_here",        "AICRAFT_BASE_URL": "https://aicraft4injection.com"      }    }  }}

Restart the client. Three tools should appear: schema, first_shot, optimize.

Tool reference

schema

No arguments. Returns field groups, default units (mm, mm/s, MPa, rpm, °C, s), valid defect codes, and error codes.

first_shot

Requires three fields (the engine cannot compute without them):

FieldMeaning
polymer.polymer_abbreviationMaterial short name, e.g. PC, ABS
mold.product_ave_thicknessAverage wall thickness in mm (0 < value < 50)
machine.injector.injector_screw_diameter_mmScrew diameter in mm (> 0)

Recommended but optional: melt density, back pressure, drying temperature, gate thickness, clamp force, injection stroke, barrel temperature zones.

Example argument:

json
{  "polymer": {"polymer_abbreviation": "PC", "melt_density": 1.05},  "mold": {"product_ave_thickness": 2.0, "gate_thickness": 1.2},  "machine": {"machine_clamp_force_ton": 180,              "injector": {"injector_screw_diameter_mm": 36}}}

optimize

Requires a defect and the current process parameters:

json
{  "defect_info": [{"desc": "FLASH", "level": "moderate"}],  "current_params": {"IP0": 90, "IV0": 40, "PP0": 50, "CT": 12}}

desc accepts stable codes such as SHORTSHOT, FLASH, SHRINKAGE, BURN, WELDLINE, WARPING (25 codes in total — call schema for the full list).

level accepts an English enum or a number from 0 to 1 (no Chinese values):

ValueMeaning
noneNo defect — the row is dropped
mildMinor defect
moderateMedium defect
severeSerious defect
criticalVery serious defect

The gateway translates these to the engine's internal severity values. Invalid levels are rejected with 400 INVALID_FIELD and do not consume quota.

Understanding the result

A successful call returns three layers, so you never have to guess what a code like IP0 means:

  1. summary — a one-paragraph, human-readable sentence. Read this aloud to the user.
  2. parameters — one entry per process value with key, name (full English name), value, unit, and group. Use name when explaining a value.
  3. data — the raw key -> value map, intended for writing settings back to a machine. Keys are abbreviations; humans should use summary or parameters instead.

Example parameters entry:

json
{"key": "NT", "name": "Nozzle temperature", "value": 280, "unit": "C", "group": "temperature"}

Common key groups (full dictionary for every key is available from the free schema tool under parameters):

PrefixMeaning
NT, BT1..BT4Nozzle temperature, barrel temperature zones
IP0..IP5Injection pressure, stage 0..5
IV0..IV5Injection velocity, stage 0..5
IL0..IL5Injection stroke end position, stage 0..5
PP0..PP4, PV0..PV4, PT0..PT4Holding pressure / velocity / time
MP0..MP3, MSR0..MSR3, MBP0..MBP3, ML0..ML3Metering pressure / screw speed / back pressure / position
VPTL, VPTT, VPTP, VPTVV/P switch position, time, pressure, velocity
CT, IT, ID, MD, MELCooling time, injection time/delay, metering delay/end
DPBM..DTBM, DPAM..DTAMDecompression before / after metering (pressure, velocity, distance, time)

Default units: mm, mm/s, MPa, rpm, °C, s. A request can override them with pressure_unit, velocity_unit, position_unit, and screw_rotation_unit.

Design notes

  • Stdio transport, protocol version 2024-11-05 for broad client compatibility.
  • No local computation. The server forwards JSON-RPC tool calls to the hosted API; the engine stays on the operator's own infrastructure.
  • Stable error codes. Every API response carries an api_version and a machine-readable code (e.g. MISSING_FIELD, UNKNOWN_DEFECT, QUOTA_EXCEEDED, ENGINE_REJECTED). Agents branch on code, not on prose.
  • No charge on invalid input. Requests rejected by validation do not consume quota. Engine failures are refunded automatically.

A Streamable HTTP endpoint is also available for clients that prefer remote MCP: https://aicraft4injection.com/mcp (discovery document at /.well-known/mcp.json).

Links

License

MIT

來源:README.md,提交 ae9f021

工具

3

schema

Free catalog of input fields, returned parameter names (what each code like NT or IP0 means), defect codes, and error codes. Does not spend quota.

無需輸入參數。

first_shot

Recommend a first-shot process. Costs 1 call. Required: polymer.polymer_abbreviation, mold.product_ave_thickness, machine.injector.injector_screw_diameter_mm.

無需輸入參數。

optimize

Adjust the current process for one defect. Costs 1 call. Required: defect_info with desc set to an engine code, and current_params.

無需輸入參數。

版本歷史

1
  1. v1.0.0最新Nov 20, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Craft 整合