3DPACK.ING — 3D Bin Packing

ing.3dpack由 3dpack.ing 发布官方发布者v0.4.0更新于 Oct 26, 2026

3D bin packing for freight in Claude & ChatGPT: cartons and pallets, the fit, a 3D plan in the chat.

已验证Streamable HTTP可网页运行数据与分析商业与电商

概览

AI 生成的概览

托管式三维装箱服务,让助手把自然语言的货物描述转成集装箱装载方案、装载率与三维装载图。

可以做什么
  • 用自然语言描述货物,得到可装入的集装箱、每个箱的装载率以及装不下的部分。
  • 设置求解速度与堆叠稳定性阈值,控制箱子如何堆叠。
  • 获取交互式三维装载方案链接,在支持 MCP Apps 的宿主中直接内嵌显示。
  • 返回精简摘要,只统计空隙数量而不返回空隙坐标。
适用场景
适合在用户询问一批纸箱、托盘或其他货物能否装进指定集装箱或卡车,或想要最佳集装箱组合时使用。它用真实求解器替代粗略的体积估算,考虑堆叠规则、摆放方向和重量限制。
运行要求
通过 streamable HTTP 连接的远程端点,需用 3DPACK.ING 账号进行 OAuth 登录,免费账号可用每月免费额度。也可改用 API 密钥加用户名,通过查询参数或 X-API-Key、Authorization Bearer、X-3dpacking-Api-Key 请求头传入。另提供本地 npm 包,使用 THREEDPACKING_API_KEY 与 THREEDPACKING_USERNAME,未设置时使用共享演示账号。
安装前请注意
需要凭据:API 密钥及其对应用户名,两者必须同时设置。把密钥放在 URL 查询参数中会暴露在日志与历史记录里,使用请求头或环境变量更安全。共享演示账号是公开的,且不返回三维摆放数据。套餐限制会以升级提示的形式转达,稳定性阈值越高可装入的货物越少。

安装

在 SourceWeft 中

  1. 打开 控制台中的 3DPACK.ING — 3D Bin Packing,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/ing.3dpack%2Fbin-packing/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "3dpack-ing-3d-bin-packing": {
      "type": "http",
      "url": "https://3dpack.ing/mcp?server=bin-packing"
    }
  }
}

README

3DPACK.ING MCP server

Container and truck load planning for AI assistants. Describe a shipment in plain English; get back the containers it fits in, how full each one is, what did not fit, and a link to an interactive 3D load plan.

Backed by the 3DPACK.ING solver — the same one behind the web planner. Asked "will 500 cartons fit in a 40-foot", an assistant without this will do arithmetic on volumes, which ignores stacking rules, orientation and weight limits and overstates what fits by a wide margin on real cargo.

Install

Hosted (no install)

The server runs at https://3dpack.ing/mcp over streamable HTTP. Add the address to your assistant and sign in with your 3DPACK.ING account when it asks — OAuth, the way Claude, ChatGPT and Claude Code connect to any service. A free account works, on its free monthly packs.

Claude (web, desktop): Settings → Connectors → Add custom connector → paste https://3dpack.ing/mcp and choose sign-in.

ChatGPT (developer mode): add the same address with OAuth.

Claude Code:

bash
claude mcp add --transport http 3dpacking https://3dpack.ing/mcp# then /mcp → Authenticate

With an API key instead of signing in. Pass the key and the account it belongs to in the query string:

https://3dpack.ing/mcp?apiKey=your-key&username=your-username

or keep the key out of the URL: X-API-Key: your-key (or Authorization: Bearer your-key, or X-3dpacking-Api-Key) with ?username=your-username in the URL. Claude's connector dialog only sends approved header names, so there use x-api-key. The shared demo account is ?apiKey=test&username=test.

A request with no credentials at all is answered 401 with a pointer to the sign-in metadata (/.well-known/oauth-protected-resource/mcp), which is what makes a client show the login.

Local (npm)

Claude Desktop — add to claude_desktop_config.json:

json
{  "mcpServers": {    "3dpacking": {      "command": "npx",      "args": ["-y", "@3dpacking/mcp-server"]    }  }}

Claude Code:

bash
claude mcp add 3dpacking -- npx -y @3dpacking/mcp-server

It works immediately, with no account — the first call runs against a shared demo account on the free plan. For your own limits, sign up at https://3dpack.ing/login and add:

json
{  "mcpServers": {    "3dpacking": {      "command": "npx",      "args": ["-y", "@3dpacking/mcp-server"],      "env": {        "THREEDPACKING_API_KEY": "your-key",        "THREEDPACKING_USERNAME": "your-username"      }    }  }}

Both must be set together — the API rejects a key without a username.

The 3D plan inside Claude

In hosts that support MCP Apps — Claude on the web and desktop — the answer comes with the load drawn under it in 3D: drag to turn, scroll to zoom, one colour per kind of piece, a pager for loads that take several containers. The view is ui://3dpacking/load-plan-<hash>.html (named after its contents, so a changed view is never served from a host cache), drawing the placements the tool result carries in _meta (so they reach the view, not the model). It needs your own key: the shared demo account gets the answer and the link, not the placements. Other hosts get the same answer as text with the link.

The tool

pack_shipment — one required argument, prompt, describing the cargo in plain English, and two optional settings: a speed of fast, normal or thorough, and a stability of 75 to 100.

stability is how much of a box must rest on what is underneath it, as a percentage of its own footprint. Omit it for 75, the standard rule, which lets a quarter of a box overhang and packs the most. Raise it for cargo that must not lean — drums, glass, anything top-heavy — and use 100 when every stacked box has to sit fully supported. It is the one constraint the prompt cannot carry, because it governs how the solver stacks rather than what is being shipped, and a higher value fits fewer items.

Things it understands:

Pack 50 boxes of 60x40x30 cm into a 20ft containerLoad 30 fragile boxes 80x60x40cm, max stack 3, into a 20ft containerShip mixed pallets: 10x euro pallets, 15x US pallets, best container mixShip 24 pcs 200.3x120.2x100.2 cm (non-tiltable), optimal mix of 40ft and 20ft

What comes back:

Everything fits: 1 container.
Container 1 (589.3 x 235 x 239 cm internal)  items: 50  of which: 50x Boxes  used: volume 10.9%  5 empty gaps left
Interactive 3D load plan: https://3dpack.ing/app?g=6c4b9488-...

Notes on the shaping

The API returns the geometry of every unfilled cuboid in every container, with coordinates. That is what the 3D viewer needs and it is most of the payload on a real shipment. Spending a model's context on the coordinates of empty space, when the link opens a picture of exactly that, is a poor trade — so the summary keeps the count of gaps and drops the geometry. On a small pack that is 791 bytes down to 341; on a large one it is the difference between a usable answer and a flooded context.

A plan limit is not reported as an error. The API returns HTTP 500 for NotSubscribed, the same status it uses for a solver crash; left alone, an assistant reads that as "the service is broken" and tells the user to try again later, when what actually happened is that they asked for a Pro feature. This server sorts the two apart and relays the offer.

Anything that answers with non-JSON — a proxy, a VPN, a corporate egress allowlist — is reported as a network problem naming what actually replied, rather than as a packing failure. Only one of those is something the user can fix.

Environment

VariablePurpose
THREEDPACKING_API_KEYYour API key. Falls back to the shared demo account.
THREEDPACKING_USERNAMEThe account the key belongs to. Required with the key.
THREEDPACKING_ENDPOINTOverride the endpoint — staging, self-hosted, or a stub.

Development

bash
npm installnpm run smoke     # calls the live solver with demo credentials and checks the shape

smoke.js is deliberately not mocked for the live checks. The thing that will break this package is 3dpack.ing changing the shape of its answer, and no amount of mocking catches that. Run it before publishing. To exercise the success path without spending a calculation, point THREEDPACKING_ENDPOINT at a stub.

Licence

MIT.

来源:README.md,提交 1f4515c

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

2
  1. v0.4.0最新Sep 25, 2026
  2. v0.3.0Sep 16, 2026

评分

已满足适用检查项的 85%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

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

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

其他 3dpack 集成