关于 Terminal49
Terminal49 是封装 Terminal49 海运和集装箱跟踪 API 的 MCP 服务,可发起跟踪请求,并获取货运、集装箱、状态及运输事件详情。
主要功能
- 01发起货运或集装箱跟踪
- 02获取货运及港口详情
- 03查看集装箱状态和可提货情况
- 04查看扣留情况及提货期限
- 05获取规范化运输事件
适用场景
- 01通过提单发起跟踪
- 02查看船舶和预计到港信息
- 03确认集装箱是否可提货
- 04检查集装箱运输节点
MCP 相关
向 MCP 客户端提供 Terminal49 跟踪、货运和集装箱操作,可通过 Pipeworx 网关使用,也可作为本地 stdio 服务运行。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://gateway.pipeworx.io/terminal49/mcpclaude mcp add --transport http pipeworx-io-terminal49 https://gateway.pipeworx.io/terminal49/mcp{"mcpServers":{"pipeworx-io-terminal49":{"type":"http","url":"https://gateway.pipeworx.io/terminal49/mcp"}}}在 Cursor 中打开{"servers":{"pipeworx-io-terminal49":{"type":"http","url":"https://gateway.pipeworx.io/terminal49/mcp"}}}在 VS Code 中打开{"mcpServers":{"pipeworx-io-terminal49":{"type":"http","url":"https://gateway.pipeworx.io/terminal49/mcp"}}}{"mcpServers":{"pipeworx-io-terminal49":{"serverUrl":"https://gateway.pipeworx.io/terminal49/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
mcp-terminal49
Terminal49 MCP — 封装 Terminal49 海运/集装箱货运追踪 API
属于 Pipeworx — 一个将 AI Agent 连接到 1683+ 个实时数据源的 MCP 网关。
工具
| 工具 | 描述 |
|---|---|
terminal49_track | 通过提交提单号、订舱号或集装箱号以及承运人 SCAC,开始追踪海运货物。返回追踪请求 ID 和状态(pending -> created/failed)。示例:terminal49_track({ request_number: "MEDUFR030802", request_type: "bill_of_lading", scac: "MSCU", _apiKey: "your-key" }) |
terminal49_shipment | 获取海运货物及其集装箱信息:提单、承运人、装货港(POL)、卸货港(POD)、船舶和预计到达时间(ETA)。传入 id 可获取单个货物,省略则列出近期货物。示例:terminal49_shipment({ id: "3c9d...", _apiKey: "your-key" }) |
terminal49_container | 根据 ID 获取集装箱信息:当前状态、码头扣留、滞期费最晚免费日(LFD / pickup_lfd)、是否可提货,以及关键里程碑时间戳。设置 include_events=true 还会获取规范化的运输事件(船舶/铁路运输)。示例:terminal49_container({ id: "8a1f...", include_events: true, _apiKey: "your-key" }) |
快速开始
添加到你的 MCP 客户端(Claude Desktop、Cursor、Windsurf 等):
{
"mcpServers": {
"terminal49": {
"url": "https://gateway.pipeworx.io/terminal49/mcp"
}
}
}
此端点实际提供的内容
https://gateway.pipeworx.io/terminal49/mcp 上的 tools/list 会返回上表中的工具,以及 Pipeworx 共享元工具——ask_pipeworx、
discover_tools、search_within、remember/recall 和网关级工具集中的其他工具。因此,你看到的工具数量会多于此表:目前,单个工具包端点会列出约 30 个共享工具,以及该工具包自身的工具。连接的 initialize 响应会说明其确切范围,是了解当日实际范围的权威依据。
这是有意为之,并非意外的多路复用。元工具让受限连接也能回答此工具包未涵盖的问题——通过跨整个目录进行路由的
ask_pipeworx,无需添加第二个 MCP 服务。目前无法挂载不含这些元工具的工具包端点;如果额外的架构定义占用的上下文超过路由带来的价值,请只连接一次完整网关,而不是连接多个工具包端点。
或者,连接完整的 Pipeworx 网关,直接列出每个工具包的所有工具,而不只是当前工具包的工具:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
两个 URL 都连接到同一个网关和相同的 1683+ 个数据源。唯一的区别是哪些工具包的工具会被直接列出;无论连接哪一个,ask_pipeworx 都可以访问所有工具。
没有 MCP 客户端?通过 HTTP 调用
此工具包需要你自己的 API 密钥(_apiKey)——我们不会代为提供,因此这里没有无需密钥即可运行的 curl 命令。查看任意工具:GET https://gateway.pipeworx.io/v1/tools/terminal49_track。查找工具:使用 {"query":"..."} 向 POST https://gateway.pipeworx.io/v1/tools/search_packs 发送请求。
独立运行(无需网关账户)
此软件包也可作为本地 stdio MCP 服务运行——无需 Pipeworx 账户,也无需经过网关往返:
{
"mcpServers": {
"terminal49": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-terminal49"]
}
}
}
或者直接运行,确认服务可以启动:
npx -y @pipeworx/mcp-terminal49
它通过 stdin/stdout 使用 MCP 通信,并仅针对此工具包的工具响应 initialize/tools/list/tools/call——不包含上文网关连接额外提供的任何共享元工具。源代码相同,工具相同,但没有 ask_pipeworx 路由。
使用 ask_pipeworx
你可以用通俗的英语提问,而不是直接调用工具——这既适用于上文的工具包端点,也适用于完整网关:
ask_pipeworx({ question: "your question about Terminal49 data" })
网关会选择合适的工具并自动填充参数。
更多
许可证
MIT
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。