@ffschrattenecker/tm1-mcp-server 7.0.0 → 7.0.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/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [7.0.1] - 2026-09-27
11
+
12
+ ### Fixed
13
+
14
+ - `tm1_list_connections` returns each connection's `environment` and, for a prod connection forced
15
+ to readonly, its `modeReason`. 7.0.0 documented both but left them out of the output.
16
+
10
17
  ## [7.0.0] - 2026-09-27
11
18
 
12
19
  ### Breaking
@@ -1299,7 +1306,8 @@ Initial public release.
1299
1306
  - Quality gates: strict typecheck, ESLint, `lint:no-flat-api`,
1300
1307
  annotation-coverage, and tool-registration wiring.
1301
1308
 
1302
- [Unreleased]: https://github.com/ffschrattenecker/tm1-mcp-server/compare/v7.0.0...HEAD
1309
+ [Unreleased]: https://github.com/ffschrattenecker/tm1-mcp-server/compare/v7.0.1...HEAD
1310
+ [7.0.1]: https://github.com/ffschrattenecker/tm1-mcp-server/compare/v7.0.0...v7.0.1
1303
1311
  [7.0.0]: https://github.com/ffschrattenecker/tm1-mcp-server/compare/v6.1.1...v7.0.0
1304
1312
  [6.1.1]: https://github.com/ffschrattenecker/tm1-mcp-server/compare/v6.1.0...v6.1.1
1305
1313
  [6.1.0]: https://github.com/ffschrattenecker/tm1-mcp-server/compare/v6.0.1...v6.1.0
@@ -4,13 +4,15 @@ import { READ_ONLY } from "../annotations.js";
4
4
  const ConnectionSchema = z.object({
5
5
  name: z.string(),
6
6
  mode: z.enum(["readwrite", "readonly"]).optional(),
7
+ environment: z.enum(["dev", "test", "prod"]).optional(),
8
+ modeReason: z.string().optional(),
7
9
  tm1Version: z.string().optional(),
8
10
  connected: z.boolean(),
9
11
  error: z.string().optional(),
10
12
  });
11
13
  export const registerListConnections = defineTool({
12
14
  name: "tm1_list_connections",
13
- description: "List the TM1 connections this server can reach: name (the `connection` argument of every other tool), readonly/readwrite mode, TM1 version, and whether a session is open. Makes no TM1 call.",
15
+ description: "List the TM1 connections this server can reach: name (the `connection` argument of every other tool), readonly/readwrite mode, TM1_ENVIRONMENT label (and why mode was forced), TM1 version, and whether a session is open. Makes no TM1 call.",
14
16
  annotations: READ_ONLY,
15
17
  output: z.object({ connections: z.array(ConnectionSchema) }),
16
18
  input: {},
@@ -19,6 +21,8 @@ export const registerListConnections = defineTool({
19
21
  const connections = registry.status().map((c) => ({
20
22
  name: c.name,
21
23
  ...(c.mode && { mode: c.mode }),
24
+ ...(c.environment && { environment: c.environment }),
25
+ ...(c.modeReason && { modeReason: c.modeReason }),
22
26
  ...(c.tm1Version && { tm1Version: c.tm1Version }),
23
27
  connected: c.connected,
24
28
  ...((c.configError ?? c.lastError) && {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ffschrattenecker/tm1-mcp-server",
3
- "version": "7.0.0",
3
+ "version": "7.0.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@ffschrattenecker/tm1-mcp-server",
9
- "version": "7.0.0",
9
+ "version": "7.0.1",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@modelcontextprotocol/sdk": "1.30.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ffschrattenecker/tm1-mcp-server",
3
- "version": "7.0.0",
3
+ "version": "7.0.1",
4
4
  "description": "MCP server for IBM Planning Analytics / TM1 — full model lifecycle via REST API",
5
5
  "repository": {
6
6
  "type": "git",