@kubova/mcp 0.1.0 → 0.1.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @kubova/mcp
2
2
 
3
- Model Context Protocol server for the [Kubova](https://kubova-web-next.vercel.app) container loading calculator.
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-web-next.vercel.app/dashboard/api-keys
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-web-next.vercel.app` | Override if self-hosting 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-web-next.vercel.app/dashboard/api-keys
23
- * KUBOVA_API_URL (optional) — defaults to https://kubova-web-next.vercel.app
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-web-next.vercel.app';
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 algorithm (Bischoff–Ratcliff block-loading + Parreño 2010 VNS). ' +
125
- 'Returns per-container placements with x,y,z coordinates in cm, volume ' +
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubova/mcp",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Model Context Protocol server for the Kubova container loading calculator",
5
5
  "license": "MIT",
6
6
  "type": "module",