@limetry/mcp 1.2.60 → 1.2.63

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/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * policy upsert, and approval tools (`\@limetry/mcp`).
5
5
  *
6
6
  * Requires `LIMETRY_API_KEY` (or `LIMETRY_BEARER_TOKEN`). Optional `LIMETRY_BASE_URL`
7
- * defaults to `http://localhost:3810`.
7
+ * defaults to `https://api.limetry.org`.
8
8
  *
9
9
  * @packageDocumentation
10
10
  */
package/dist/index.js CHANGED
@@ -4,19 +4,19 @@
4
4
  * policy upsert, and approval tools (`\@limetry/mcp`).
5
5
  *
6
6
  * Requires `LIMETRY_API_KEY` (or `LIMETRY_BEARER_TOKEN`). Optional `LIMETRY_BASE_URL`
7
- * defaults to `http://localhost:3810`.
7
+ * defaults to `https://api.limetry.org`.
8
8
  *
9
9
  * @packageDocumentation
10
10
  */
11
11
  import { randomUUID } from "node:crypto";
12
- import { APP_VERSION, redactDetails } from "@limetry/sdk";
12
+ import { APP_VERSION, redactDetails, resolveLimetryBaseUrl } from "@limetry/sdk";
13
13
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
14
14
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
15
15
  import { z } from "zod";
16
16
  /**
17
17
  * Limetry HTTP API origin with trailing slash stripped.
18
18
  */
19
- const BASE_URL = (process.env.LIMETRY_BASE_URL ?? "http://localhost:3810").replace(/\/$/, "");
19
+ const BASE_URL = resolveLimetryBaseUrl();
20
20
  /**
21
21
  * Bearer token used for all Limetry API calls.
22
22
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetry/mcp",
3
- "version": "1.2.60",
3
+ "version": "1.2.63",
4
4
  "description": "MCP server for Limetry agent action governance and telemetry",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -30,7 +30,7 @@
30
30
  "typecheck": "yarn run -T tsgo -p tsconfig.json --noEmit"
31
31
  },
32
32
  "dependencies": {
33
- "@limetry/sdk": "^1.2.60",
33
+ "@limetry/sdk": "^1.2.63",
34
34
  "@modelcontextprotocol/sdk": "^1.30.0",
35
35
  "zod": "^4.5.4"
36
36
  },