@kubova/mcp 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/index.js +5 -6
- package/package.json +20 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @kubova/mcp
|
|
2
2
|
|
|
3
|
-
Model Context Protocol server for the [Kubova](https://kubova
|
|
3
|
+
Model Context Protocol server for the [Kubova](https://kubova.com) container loading calculator.
|
|
4
4
|
|
|
5
5
|
Lets Claude, Cursor, Cline, ChatGPT, n8n, and any other MCP-aware AI agent pack shipping containers as a tool call.
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ Lets Claude, Cursor, Cline, ChatGPT, n8n, and any other MCP-aware AI agent pack
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
# Get an API key first at
|
|
11
|
-
# https://kubova
|
|
11
|
+
# https://kubova.com/dashboard/api-keys
|
|
12
12
|
# (Pro plan; 14-day trial available.)
|
|
13
13
|
```
|
|
14
14
|
|
|
@@ -87,7 +87,7 @@ Same JSON shape — point your MCP-aware client at the package via `npx`.
|
|
|
87
87
|
| Variable | Default | Notes |
|
|
88
88
|
|---|---|---|
|
|
89
89
|
| `KUBOVA_API_KEY` | — | **Required.** Generated from the dashboard. |
|
|
90
|
-
| `KUBOVA_API_URL` | `https://kubova
|
|
90
|
+
| `KUBOVA_API_URL` | `https://kubova.com` | Override if self-hosting Kubova. |
|
|
91
91
|
|
|
92
92
|
## License
|
|
93
93
|
|
package/dist/index.js
CHANGED
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
* }
|
|
20
20
|
*
|
|
21
21
|
* Env:
|
|
22
|
-
* KUBOVA_API_KEY (required) — get one at https://kubova
|
|
23
|
-
* KUBOVA_API_URL (optional) — defaults to https://kubova
|
|
22
|
+
* KUBOVA_API_KEY (required) — get one at https://kubova.com/dashboard/api-keys
|
|
23
|
+
* KUBOVA_API_URL (optional) — defaults to https://kubova.com
|
|
24
24
|
*/
|
|
25
25
|
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
26
26
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
27
27
|
import { CallToolRequestSchema, ListToolsRequestSchema, } from '@modelcontextprotocol/sdk/types.js';
|
|
28
28
|
import { z } from 'zod';
|
|
29
|
-
const API_URL = process.env.KUBOVA_API_URL ?? 'https://kubova
|
|
29
|
+
const API_URL = process.env.KUBOVA_API_URL ?? 'https://kubova.com';
|
|
30
30
|
const API_KEY = process.env.KUBOVA_API_KEY;
|
|
31
31
|
if (!API_KEY) {
|
|
32
32
|
// eslint-disable-next-line no-console
|
|
@@ -121,9 +121,8 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
|
121
121
|
{
|
|
122
122
|
name: 'pack_containers',
|
|
123
123
|
description: 'Pack a list of cargo SKUs into one or more shipping containers using ' +
|
|
124
|
-
'the Kubova
|
|
125
|
-
'
|
|
126
|
-
'utilization, weight, and any unplaced pieces.',
|
|
124
|
+
'the Kubova solver. Returns per-container placements with x,y,z ' +
|
|
125
|
+
'coordinates in cm, volume utilization, weight, and any unplaced pieces.',
|
|
127
126
|
inputSchema: PACK_INPUT_JSONSCHEMA,
|
|
128
127
|
},
|
|
129
128
|
{
|
package/package.json
CHANGED
|
@@ -1,8 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubova/mcp",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Model Context Protocol server for the Kubova container loading calculator",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Model Context Protocol (MCP) server for the Kubova 3D container loading calculator — plan container and pallet loads from any AI assistant.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"homepage": "https://kubova.com",
|
|
7
|
+
"bugs": {
|
|
8
|
+
"url": "https://kubova.com/contact"
|
|
9
|
+
},
|
|
10
|
+
"keywords": [
|
|
11
|
+
"mcp",
|
|
12
|
+
"model context protocol",
|
|
13
|
+
"container loading",
|
|
14
|
+
"load planning",
|
|
15
|
+
"logistics",
|
|
16
|
+
"freight",
|
|
17
|
+
"packing",
|
|
18
|
+
"pallet",
|
|
19
|
+
"container calculator",
|
|
20
|
+
"ai agent",
|
|
21
|
+
"ai tools"
|
|
22
|
+
],
|
|
23
|
+
"author": "Kubova (https://kubova.com)",
|
|
6
24
|
"type": "module",
|
|
7
25
|
"bin": {
|
|
8
26
|
"kubova-mcp": "./dist/index.js"
|