@mxstage/mxstage 0.2.4 → 0.2.6

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/LICENSE CHANGED
@@ -1,109 +1,109 @@
1
- Business Source License 1.1
2
-
3
- Parameters
4
-
5
- Licensor: Kazuhiro Muto
6
- Licensed Work: MX Stage 0.2.0 or later.
7
- The Licensed Work is (c) 2026 Kazuhiro Muto,
8
- except for the third-party material listed in
9
- THIRD_PARTY_NOTICES.md, which remains under its own
10
- license.
11
- Additional Use Grant: You may make production use of the Licensed Work,
12
- provided that you do not use it to create, change or
13
- delete data held in a Production Maximo Environment.
14
- Reading data from a Production Maximo Environment is
15
- permitted.
16
-
17
- A "Production Maximo Environment" is an instance of
18
- IBM Maximo or IBM Maximo Application Suite (including
19
- Maximo Manage) that an organization uses to record its
20
- day-to-day operations, or that is being prepared to
21
- replace such an instance (for example, the target of a
22
- migration or upgrade before go-live). Any other
23
- instance, such as one used only for development,
24
- testing, training, demonstration or migration
25
- rehearsals, is not a Production Maximo Environment,
26
- even if it holds a copy of production data.
27
- Change Date: Four years from the date on which each version of the
28
- Licensed Work is first publicly distributed.
29
- Change License: Apache License, Version 2.0
30
-
31
- Notice
32
-
33
- The Business Source License (this document, or the “License”) is not an Open
34
- Source license. However, the Licensed Work will eventually be made available
35
- under an Open Source License, as stated in this License.
36
-
37
- License text copyright © 2017 MariaDB Corporation Ab, All Rights Reserved.
38
- "Business Source License" is a trademark of MariaDB Corporation Ab.
39
-
40
- -----------------------------------------------------------------------------
41
-
42
- Business Source License 1.1
43
-
44
- Terms
45
-
46
- The Licensor hereby grants you the right to copy, modify, create derivative
47
- works, redistribute, and make non-production use of the Licensed Work. The
48
- Licensor may make an Additional Use Grant, above, permitting limited
49
- production use.
50
-
51
- Effective on the Change Date, or the fourth anniversary of the first publicly
52
- available distribution of a specific version of the Licensed Work under this
53
- License, whichever comes first, the Licensor hereby grants you rights under
54
- the terms of the Change License, and the rights granted in the paragraph
55
- above terminate.
56
-
57
- If your use of the Licensed Work does not comply with the requirements
58
- currently in effect as described in this License, you must purchase a
59
- commercial license from the Licensor, its affiliated entities, or authorized
60
- resellers, or you must refrain from using the Licensed Work.
61
-
62
- All copies of the original and modified Licensed Work, and derivative works
63
- of the Licensed Work, are subject to this License. This License applies
64
- separately for each version of the Licensed Work and the Change Date may vary
65
- for each version of the Licensed Work released by Licensor.
66
-
67
- You must conspicuously display this License on each original or modified copy
68
- of the Licensed Work. If you receive the Licensed Work in original or
69
- modified form from a third party, the terms and conditions set forth in this
70
- License apply to your use of that work.
71
-
72
- Any use of the Licensed Work in violation of this License will automatically
73
- terminate your rights under this License for the current and all other
74
- versions of the Licensed Work.
75
-
76
- This License does not grant you any right in any trademark or logo of
77
- Licensor or its affiliates (provided that you may use a trademark or logo of
78
- Licensor as expressly required by this License).
79
-
80
- TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
81
- AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
82
- EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
83
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
84
- TITLE.
85
-
86
- MariaDB hereby grants you permission to use this License’s text to license
87
- your works, and to refer to it using the trademark “Business Source License”,
88
- as long as you comply with the Covenants of Licensor below.
89
-
90
- Covenants of Licensor
91
-
92
- In consideration of the right to use this License’s text and the “Business
93
- Source License” name and trademark, Licensor covenants to MariaDB, and to all
94
- other recipients of the licensed work to be provided by Licensor:
95
-
96
- 1. To specify as the Change License the GPL Version 2.0 or any later version,
97
- or a license that is compatible with GPL Version 2.0 or a later version,
98
- where “compatible” means that software provided under the Change License can
99
- be included in a program with software provided under GPL Version 2.0 or a
100
- later version. Licensor may specify additional Change Licenses without
101
- limitation.
102
-
103
- 2. To either: (a) specify an additional grant of rights to use that does not
104
- impose any additional restriction on the right granted in this License, as
105
- the Additional Use Grant; or (b) insert the text “None”.
106
-
107
- 3. To specify a Change Date.
108
-
109
- 4. Not to modify this License in any other way.
1
+ Business Source License 1.1
2
+
3
+ Parameters
4
+
5
+ Licensor: TSUNAGI
6
+ Licensed Work: MX Stage 0.2.0 or later.
7
+ The Licensed Work is (c) 2026 TSUNAGI,
8
+ except for the third-party material listed in
9
+ THIRD_PARTY_NOTICES.md, which remains under its own
10
+ license.
11
+ Additional Use Grant: You may make production use of the Licensed Work,
12
+ provided that you do not use it to create, change or
13
+ delete data held in a Production Maximo Environment.
14
+ Reading data from a Production Maximo Environment is
15
+ permitted.
16
+
17
+ A "Production Maximo Environment" is an instance of
18
+ IBM Maximo or IBM Maximo Application Suite (including
19
+ Maximo Manage) that an organization uses to record its
20
+ day-to-day operations, or that is being prepared to
21
+ replace such an instance (for example, the target of a
22
+ migration or upgrade before go-live). Any other
23
+ instance, such as one used only for development,
24
+ testing, training, demonstration or migration
25
+ rehearsals, is not a Production Maximo Environment,
26
+ even if it holds a copy of production data.
27
+ Change Date: Four years from the date on which each version of the
28
+ Licensed Work is first publicly distributed.
29
+ Change License: Apache License, Version 2.0
30
+
31
+ Notice
32
+
33
+ The Business Source License (this document, or the “License”) is not an Open
34
+ Source license. However, the Licensed Work will eventually be made available
35
+ under an Open Source License, as stated in this License.
36
+
37
+ License text copyright © 2017 MariaDB Corporation Ab, All Rights Reserved.
38
+ "Business Source License" is a trademark of MariaDB Corporation Ab.
39
+
40
+ -----------------------------------------------------------------------------
41
+
42
+ Business Source License 1.1
43
+
44
+ Terms
45
+
46
+ The Licensor hereby grants you the right to copy, modify, create derivative
47
+ works, redistribute, and make non-production use of the Licensed Work. The
48
+ Licensor may make an Additional Use Grant, above, permitting limited
49
+ production use.
50
+
51
+ Effective on the Change Date, or the fourth anniversary of the first publicly
52
+ available distribution of a specific version of the Licensed Work under this
53
+ License, whichever comes first, the Licensor hereby grants you rights under
54
+ the terms of the Change License, and the rights granted in the paragraph
55
+ above terminate.
56
+
57
+ If your use of the Licensed Work does not comply with the requirements
58
+ currently in effect as described in this License, you must purchase a
59
+ commercial license from the Licensor, its affiliated entities, or authorized
60
+ resellers, or you must refrain from using the Licensed Work.
61
+
62
+ All copies of the original and modified Licensed Work, and derivative works
63
+ of the Licensed Work, are subject to this License. This License applies
64
+ separately for each version of the Licensed Work and the Change Date may vary
65
+ for each version of the Licensed Work released by Licensor.
66
+
67
+ You must conspicuously display this License on each original or modified copy
68
+ of the Licensed Work. If you receive the Licensed Work in original or
69
+ modified form from a third party, the terms and conditions set forth in this
70
+ License apply to your use of that work.
71
+
72
+ Any use of the Licensed Work in violation of this License will automatically
73
+ terminate your rights under this License for the current and all other
74
+ versions of the Licensed Work.
75
+
76
+ This License does not grant you any right in any trademark or logo of
77
+ Licensor or its affiliates (provided that you may use a trademark or logo of
78
+ Licensor as expressly required by this License).
79
+
80
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
81
+ AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
82
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
83
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
84
+ TITLE.
85
+
86
+ MariaDB hereby grants you permission to use this License’s text to license
87
+ your works, and to refer to it using the trademark “Business Source License”,
88
+ as long as you comply with the Covenants of Licensor below.
89
+
90
+ Covenants of Licensor
91
+
92
+ In consideration of the right to use this License’s text and the “Business
93
+ Source License” name and trademark, Licensor covenants to MariaDB, and to all
94
+ other recipients of the licensed work to be provided by Licensor:
95
+
96
+ 1. To specify as the Change License the GPL Version 2.0 or any later version,
97
+ or a license that is compatible with GPL Version 2.0 or a later version,
98
+ where “compatible” means that software provided under the Change License can
99
+ be included in a program with software provided under GPL Version 2.0 or a
100
+ later version. Licensor may specify additional Change Licenses without
101
+ limitation.
102
+
103
+ 2. To either: (a) specify an additional grant of rights to use that does not
104
+ impose any additional restriction on the right granted in this License, as
105
+ the Additional Use Grant; or (b) insert the text “None”.
106
+
107
+ 3. To specify a Change Date.
108
+
109
+ 4. Not to modify this License in any other way.
package/README.md CHANGED
@@ -1,142 +1,163 @@
1
- # MX Stage
2
-
3
- English | [日本語](README.ja.md)
4
-
5
- **MX Stage is a local-only AI workbench for correcting IBM Maximo data with your own AI assistant (Claude Desktop, ChatGPT, IBM Bob): every change is staged, diffed and approved by a human before it is written to Maximo.**
6
-
7
- Website: https://mxstage.tsunagi.app · Contact: mxstage@tsunagi.app
8
-
9
- - **Your AI works on a staging sheet, not on Maximo.** The AI assistant loads Maximo data into a sheet in the *work screen* (a browser tab), analyses it and proposes changes with reasons. You see every changed cell.
10
- - **Only a person can commit.** The AI's tools cannot write to Maximo. Changes are written only when you press **Commit to Maximo** in the work screen. MX Stage writes one record first, checks it, then continues, and stops on conflicts. Any batch of changes can be undone before you commit.
11
- - **Nothing leaves your PC except calls to your Maximo and your AI assistant.** There is no MX Stage cloud and no telemetry. The only exception is optional: if you turn on **Settings → Updates → Update automatically** (off by default), the bridge asks GitHub once a day for the latest version number. Installs made with the setup script then update themselves while no work is open; the Claude Desktop extension downloads and checks the new file for you to install. A small local process (the *bridge*) serves the work screen, talks MCP to your AI assistant and relays requests to Maximo, so Maximo needs no CORS settings. Your Maximo API key is saved on this PC by the bridge, encrypted with Windows data protection (DPAPI) or the macOS Keychain, and is never sent to the browser. Every window of the work screen — the installed app, a browser tab, or the browser inside your AI assistant — connects automatically, even after a restart, and you can switch between saved Maximo environments in Settings. (You can also connect without saving; the key then stays only in the tab's memory.)
12
- - **Teach it your procedures.** Save a procedure worked out in a conversation as a *Skill*; the AI follows it next time.
13
-
14
- ## Why not call the Maximo REST API from the AI directly?
15
-
16
- Several Maximo MCP servers let the AI call the REST API. That is fine for reading, but risky for bulk changes: you cannot see what the AI is about to write, and a wrong guess goes straight into production. MX Stage puts a staging sheet, a diff, an undo and a human approval in between.
17
-
18
- ## Supported AI assistants
19
-
20
- | Assistant | Status |
21
- |---|---|
22
- | Claude Desktop (chat and Code tab) | Supported |
23
- | ChatGPT desktop — **Codex** or **Work** mode (Chat mode cannot use local MCP servers) | Supported |
24
- | Claude Code, Codex CLI and IDE extension, Antigravity | Work, not officially supported |
25
- | IBM Bob | Supported (registered by the installer) |
26
- | LM Studio | Coming |
27
-
28
- ## Requirements
29
-
30
- - Windows (macOS and Linux are untested)
31
- - Node.js 22.6 or later and Git (the installer offers to install them)
32
- - Chrome or Edge
33
- - IBM Maximo or Maximo Application Suite (Manage) with the JSON API at `/maximo/api` and an API key
34
-
35
- ## Install
36
-
37
- ### Claude Desktop (simplest)
38
-
39
- 1. Download `mxstage-<version>.mcpb` from the [latest release](https://github.com/mxstage/mxstage/releases/latest).
40
- 2. In Claude Desktop, open **Settings → Extensions**, then **Advanced settings → Install Extension…** and choose the file (or double-click the file, or drag it onto the Extensions page). Choose **Install**.
41
- 3. Open `http://127.0.0.1:8788/app` in Chrome or Edge and **enter your Maximo URL and API key in Settings.** Never paste the API key into the chat.
42
- 4. In a new chat, ask "show the MX Stage status".
43
-
44
- The extension needs no Node.js or Git: Claude Desktop runs it. To use MX Stage from other assistants as well (ChatGPT desktop, IBM Bob, Claude Code in the terminal, Antigravity), use the installer below; it detects the extension and does not register MX Stage twice.
45
-
46
- ### Other assistants (installer)
47
-
48
- **Ask Claude Code (or the Code tab of Claude Desktop) to install it:** give it this repository's URL and say "install this". It follows [Installation steps for Claude Code](#installation-steps-for-claude-code) below and asks before running each command.
49
-
50
- To install by hand, clone this repository to `%USERPROFILE%\mxstage` and run `node scripts/setup-local.mjs` in it.
51
-
52
- **One install registers MX Stage with every supported assistant found on this PC.** Then restart the assistant you use, open `mxstage` on the desktop (or `http://127.0.0.1:8788/app`), and **enter your Maximo URL and API key in Settings.** Never paste the API key into the chat.
53
-
54
- In Settings, also choose for each Maximo whether it is **production** or **test**. Committing to production needs a license (see [License](#license)); everything else is free.
55
-
56
- To update, say "update MX Stage"; to remove it, say "uninstall MX Stage" (see [Uninstall](#uninstall)).
57
-
58
- ## Where it is registered
59
-
60
- `~` is `%USERPROFILE%`. The installer only touches assistants that are installed (Claude Desktop: its settings folder exists; Antigravity: `~\.gemini`; Codex: `~\.codex`; IBM Bob: `~\.bob`), backs up every file before changing it (to `~\.config\mxstage\backup\`), and never changes other servers' settings. `node scripts/setup-local.mjs --status` shows what is registered without changing anything. To leave an assistant out, add `--no-claude-desktop`, `--no-antigravity`, `--no-codex` or `--no-bob` (`--no-skills` copies no Skills). `--claude-code` registers Claude Code even when the extension is enabled.
61
-
62
- | Assistant | MCP server | Skills | After installing or updating |
63
- |---|---|---|---|
64
- | Claude Code (CLI) | `mcpServers.mxstage` in `~\.claude.json`. **Not registered** when the MX Stage extension (`.mcpb`) is enabled in Claude Desktop, because the Code tab already gets MX Stage from the extension and would show every tool twice (an entry the installer added earlier is removed). Add `--claude-code` to register anyway for Claude Code in a terminal (remembered for later runs) | `~\.claude\skills\<name>\SKILL.md` | Restart Claude Code |
65
- | Claude Desktop (Code tab) | Same as Claude Code, or the extension (`.mcpb`) when it is enabled | Same as Claude Code | Quit Claude Desktop from the system tray and open it again |
66
- | Claude Desktop (chat) | `mcpServers.mxstage` in `%APPDATA%\Claude\claude_desktop_config.json`. Microsoft Store version: also in `%LOCALAPPDATA%\Packages\Claude_<publisher ID>\LocalCache\Roaming\Claude\claude_desktop_config.json` when that folder exists. **Not registered** when the MX Stage extension (`.mcpb`) is installed and enabled in Claude Desktop (an entry the installer added earlier is removed) | Not copied (see [Skills](#skills)) | Quit from the system tray (closing the window is not enough) and open again |
67
- | Antigravity | `mcpServers.mxstage` in `~\.gemini\config\mcp_config.json` | `~\.gemini\config\skills\<name>\SKILL.md` | Start a new conversation |
68
- | Codex (ChatGPT desktop, CLI, IDE extension) | `[mcp_servers.mxstage]` in `~\.codex\config.toml` | `~\.agents\skills\<name>\SKILL.md` | Restart Codex |
69
- | IBM Bob | `mcpServers.mxstage` in `~\.bob\settings\mcp.json` | `~\.bob\skills\<name>\SKILL.md` | Restart IBM Bob |
70
-
71
- ## Uninstall
72
-
73
- Say "uninstall MX Stage" to Claude Code, or run in `%USERPROFILE%\mxstage`:
74
-
75
- ```bash
76
- node scripts/setup-local.mjs --uninstall
77
- ```
78
-
79
- This removes the `mxstage` entries from every assistant (restoring any setting the installer replaced), the Skills it copied (unless you edited them), the sign-in shortcut and desktop shortcut, and the bridge it started. It keeps your own Skills (`~\.config\mxstage\skills\`) and the backups. To remove everything, also delete `%USERPROFILE%\mxstage` and `~\.config\mxstage` (the backups are full copies of the original settings files, including any tokens in them), and clear the site data for `127.0.0.1:8788` in your browser.
80
-
81
- ## Installation steps for Claude Code
82
-
83
- When the user asks to install MX Stage, follow these steps and get the user's approval before each command.
84
-
85
- 1. **Check prerequisites**: `node --version` (22.6 or later) and `git --version`. If missing, with the user's agreement install them with `winget install OpenJS.NodeJS.LTS` / `winget install Git.Git`, then confirm `node` and `git` work in a new shell.
86
- 2. **Get the code** into `%USERPROFILE%\mxstage` (`~/mxstage` on macOS and Linux):
87
- - if it does not exist: `git clone <this repository URL> "%USERPROFILE%\mxstage"`
88
- - if it exists: `git pull --ff-only` in it (if local changes block it, stop and tell the user)
89
- 3. **Install**: in that folder run `node scripts/setup-local.mjs --json`. This also runs `npm install` and builds the work screen. Do not use `mxstage.cmd` (it waits for a key press at the end).
90
- 4. **Read the result**: success if no item in `steps` has `"level": "error"`. For `error` or `warn`, tell the user its `message` and `hint` and follow the `hint`. Do not edit settings files by guesswork.
91
- 5. **Tell the user** to restart the assistant they use, to enter the Maximo URL and API key in the work screen settings (`http://127.0.0.1:8788/app`), and never to paste the API key into the chat.
92
-
93
- **Update**: steps 2 to 4. Ask the user to restart their assistant afterwards so the new bridge is used. **Uninstall**: `node scripts/setup-local.mjs --uninstall --json`. **Status**: `node scripts/setup-local.mjs --status --json` (changes nothing).
94
-
95
- ## Skills
96
-
97
- A Skill is a procedure the AI assistant follows.
98
-
99
- | | Location | Contents | Updates |
100
- |---|---|---|---|
101
- | Built-in | `skills/` in this repository (`mxstage-workbench`) | The basic procedure and rules for every task | Replaced with MX Stage updates; do not edit |
102
- | Yours | `~/.config/mxstage/skills/<name>/SKILL.md` | Procedures for your tasks or customers | Yours; kept across updates and never sent anywhere |
103
-
104
- - **Every assistant gets the basic procedure**: it is attached to the result of the first tool call in each conversation, so assistants that cannot load Skill files (Claude Desktop chat, for example) follow the same rules.
105
- - **Create Skills from the chat**: say "save this procedure as a Skill". The AI shows the name, description and body, and saves it after you agree.
106
- - Run the installer again to copy new or changed Skills to each assistant.
107
-
108
- ## Documentation
109
-
110
- The detailed guides are in Japanese for now:
111
-
112
- - [docs/local.md](docs/local.md) — daily use, updates, troubleshooting
113
- - [docs/status.md](docs/status.md) — what works today
114
- - [docs/publish.md](docs/publish.md) — checks before publishing
115
-
116
- ## Development
117
-
118
- ```bash
119
- npm run typecheck # tsc (app and bridge)
120
- npx vitest run # tests (app and bridge)
121
- npm run test:setup # installer tests (write only to temporary folders)
122
- npm run build # build the built-in Skill and the work screen (dist/app)
123
- npm run dev:app # dev server for the work screen (http://localhost:5173/app?demo=1 shows sample data; relays to the dev bridge on 8790)
124
- npm run dev:fake-maximo # a fake Maximo at https://127.0.0.1:9797 (API key: test-api-key)
125
- npm run dev:bridge # a bridge on port 8790 that accepts the development license for the fake Maximo
126
- ```
127
-
128
- Disable IBM telemetry when installing dependencies (`$env:IBM_TELEMETRY_DISABLED='true'; npm install` in PowerShell); the installer does this itself. See [dev/README.md](dev/README.md) for developing and testing license checks.
129
-
130
- **Only test commits against a development Maximo with dummy data.** There is no automatic rollback of changes written to Maximo.
131
-
132
- ## License
133
-
134
- MX Stage is licensed under the [Business Source License 1.1](LICENSE). The source is available, but it is not open source. The [LICENSE](LICENSE) file is authoritative; this is a summary.
135
-
136
- - **Free**: everything except committing to a production Maximo — loading, analysing and editing production data, building Skills, and committing to test environments. You may read, modify and redistribute the source under the same license.
137
- - **License needed**: using MX Stage to create, change or delete data in a **production Maximo environment** — US$4,800 per production environment per year, for any number of users and PCs. The license key names the environment's URLs (up to three aliases). [Pricing](https://mxstage.tsunagi.app/pricing).
138
- - **Production environment**: the Maximo your organization uses to record day-to-day operations, and an environment being prepared to replace it (for example, a migration target before go-live). **Test environment**: everything else (development, test, training, demonstration, migration rehearsal), even if it holds a copy of production data.
139
- - **Each version becomes Apache License 2.0 four years after its release.**
140
- - Third-party packages and fonts (IBM Carbon Design System, IBM Plex and others) keep their own licenses ([THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)).
141
-
142
- IBM and Maximo are trademarks of International Business Machines Corporation. MX Stage is an independent product and is not affiliated with or endorsed by IBM.
1
+ # MX Stage
2
+
3
+ [![MCP Registry](https://img.shields.io/badge/MCP_Registry-io.github.mxstage%2Fmxstage-0a7bbb)](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.mxstage/mxstage)
4
+ [![Latest release](https://img.shields.io/github/v/release/mxstage/mxstage?label=release)](https://github.com/mxstage/mxstage/releases/latest)
5
+ [![Claude Desktop extension](https://img.shields.io/badge/Claude_Desktop-.mcpb_extension-d97757)](https://github.com/mxstage/mxstage/releases/latest)
6
+ [![ChatGPT desktop](https://img.shields.io/badge/ChatGPT_desktop-Codex_%7C_Work-10a37f)](#supported-ai-assistants)
7
+ [![IBM Maximo / MAS Manage](https://img.shields.io/badge/IBM_Maximo-MAS_Manage-0f62fe)](#requirements)
8
+ [![EAM / CMMS](https://img.shields.io/badge/category-EAM_%7C_CMMS-6f42c1)](#requirements)
9
+ [![MCP server](https://img.shields.io/badge/MCP-server-555555)](https://modelcontextprotocol.io)
10
+ [![Glama MCP server score](https://glama.ai/mcp/servers/mxstage/mxstage/badges/score.svg)](https://glama.ai/mcp/servers/mxstage/mxstage)
11
+ [![Free for test environments](https://img.shields.io/badge/free-test_environments-2ea44f)](https://mxstage.tsunagi.app/pricing)
12
+ [![License: BSL 1.1](https://img.shields.io/badge/license-BSL_1.1_%E2%86%92_Apache_2.0-blue)](LICENSE)
13
+ [![Windows](https://img.shields.io/badge/platform-Windows-0078d4)](#requirements)
14
+
15
+ English | [日本語](README.ja.md)
16
+
17
+ **MX Stage is a local-only AI workbench for correcting IBM Maximo data with your own AI assistant (Claude Desktop, ChatGPT, IBM Bob): every change is staged, diffed and approved by a human before it is written to Maximo.**
18
+
19
+ Website: https://mxstage.tsunagi.app · Contact: mxstage@tsunagi.app
20
+
21
+ - **Your AI works on a staging sheet, not on Maximo.** The AI assistant loads Maximo data into a sheet in the *work screen* (a browser tab), analyses it and proposes changes with reasons. You see every changed cell.
22
+ - **Only a person can commit.** The AI's tools cannot write to Maximo. Changes are written only when you press **Commit to Maximo** in the work screen. MX Stage writes one record first, checks it, then continues, and stops on conflicts. Any batch of changes can be undone before you commit.
23
+ - **Nothing leaves your PC except calls to your Maximo and your AI assistant.** There is no MX Stage cloud and no telemetry. The only exception is optional: if you turn on **Settings → Updates → Update automatically** (off by default), the bridge asks GitHub once a day for the latest version number. Installs made with the setup script then update themselves while no work is open; the Claude Desktop extension downloads and checks the new file for you to install. A small local process (the *bridge*) serves the work screen, talks MCP to your AI assistant and relays requests to Maximo, so Maximo needs no CORS settings. Your Maximo API key is saved on this PC by the bridge, encrypted with Windows data protection (DPAPI) or the macOS Keychain, and is never sent to the browser. Every window of the work screen — the installed app, a browser tab, or the browser inside your AI assistant — connects automatically, even after a restart, and you can switch between saved Maximo environments in Settings. (You can also connect without saving; the key then stays only in the tab's memory.)
24
+ - **Teach it your procedures.** Save a procedure worked out in a conversation as a *Skill*; the AI follows it next time.
25
+
26
+ ## Why not call the Maximo REST API from the AI directly?
27
+
28
+ Several Maximo MCP servers let the AI call the REST API. That is fine for reading, but risky for bulk changes: you cannot see what the AI is about to write, and a wrong guess goes straight into production. MX Stage puts a staging sheet, a diff, an undo and a human approval in between.
29
+
30
+ ## Supported AI assistants
31
+
32
+ | Assistant | Status |
33
+ |---|---|
34
+ | Claude Desktop (chat and Code tab) | Supported |
35
+ | ChatGPT desktop — **Codex** or **Work** mode (Chat mode cannot use local MCP servers) | Supported |
36
+ | Claude Code, Codex CLI and IDE extension, Antigravity | Work, not officially supported |
37
+ | IBM Bob | Supported (registered by the installer) |
38
+ | LM Studio | Coming |
39
+
40
+ ## Requirements
41
+
42
+ - Windows (macOS and Linux are untested)
43
+ - Node.js 22.6 or later and Git (the installer offers to install them)
44
+ - Chrome or Edge
45
+ - IBM Maximo or Maximo Application Suite (Manage) with the JSON API at `/maximo/api` and an API key
46
+
47
+ ## Install
48
+
49
+ ### Claude Desktop (simplest)
50
+
51
+ 1. Download `mxstage-<version>.mcpb` from the [latest release](https://github.com/mxstage/mxstage/releases/latest).
52
+ 2. In Claude Desktop, open **Settings → Extensions**, then **Advanced settings → Install Extension…** and choose the file (or double-click the file, or drag it onto the Extensions page). Choose **Install**.
53
+ 3. Open `http://127.0.0.1:8788/app` in Chrome or Edge and **enter your Maximo URL and API key in Settings.** Never paste the API key into the chat.
54
+ 4. In a new chat, ask "show the MX Stage status".
55
+
56
+ The extension needs no Node.js or Git: Claude Desktop runs it. To use MX Stage from other assistants as well (ChatGPT desktop, IBM Bob, Claude Code in the terminal, Antigravity), use the installer below; it detects the extension and does not register MX Stage twice.
57
+
58
+ ### Claude plugin (Skills)
59
+
60
+ The `mxstage` plugin in [`plugin/`](plugin) adds two Skills to Claude (planning a safe bulk correction of Maximo data; explaining, installing and troubleshooting MX Stage) and, in Claude Code and Cowork, starts the MX Stage server with `npx @mxstage/mxstage` (Node.js 20 or later). Chat does not start local servers, so use the extension there. In Claude Code: `/plugin marketplace add mxstage/mxstage`, then `/plugin install mxstage@mxstage`.
61
+
62
+ ### Other assistants (installer)
63
+
64
+ **Ask Claude Code (or the Code tab of Claude Desktop) to install it:** give it this repository's URL and say "install this". It follows [Installation steps for Claude Code](#installation-steps-for-claude-code) below and asks before running each command.
65
+
66
+ To install by hand, clone this repository to `%USERPROFILE%\mxstage` and run `node scripts/setup-local.mjs` in it.
67
+
68
+ **One install registers MX Stage with every supported assistant found on this PC.** Then restart the assistant you use, open `mxstage` on the desktop (or `http://127.0.0.1:8788/app`), and **enter your Maximo URL and API key in Settings.** Never paste the API key into the chat.
69
+
70
+ In Settings, also choose for each Maximo whether it is **production** or **test**. Committing to production needs a license (see [License](#license)); everything else is free.
71
+
72
+ MCP clients that start servers with npm can also run the server alone with `npx -y @mxstage/mxstage` (Node.js 20 or later; the Skills and shortcuts come only with the installer).
73
+
74
+ To update, say "update MX Stage"; to remove it, say "uninstall MX Stage" (see [Uninstall](#uninstall)).
75
+
76
+ ## Where it is registered
77
+
78
+ `~` is `%USERPROFILE%`. The installer only touches assistants that are installed (Claude Desktop: its settings folder exists; Antigravity: `~\.gemini`; Codex: `~\.codex`; IBM Bob: `~\.bob`), backs up every file before changing it (to `~\.config\mxstage\backup\`), and never changes other servers' settings. `node scripts/setup-local.mjs --status` shows what is registered without changing anything. To leave an assistant out, add `--no-claude-desktop`, `--no-antigravity`, `--no-codex` or `--no-bob` (`--no-skills` copies no Skills). `--claude-code` registers Claude Code even when the extension is enabled.
79
+
80
+ | Assistant | MCP server | Skills | After installing or updating |
81
+ |---|---|---|---|
82
+ | Claude Code (CLI) | `mcpServers.mxstage` in `~\.claude.json`. **Not registered** when the MX Stage extension (`.mcpb`) is enabled in Claude Desktop, because the Code tab already gets MX Stage from the extension and would show every tool twice (an entry the installer added earlier is removed). Add `--claude-code` to register anyway for Claude Code in a terminal (remembered for later runs) | `~\.claude\skills\<name>\SKILL.md` | Restart Claude Code |
83
+ | Claude Desktop (Code tab) | Same as Claude Code, or the extension (`.mcpb`) when it is enabled | Same as Claude Code | Quit Claude Desktop from the system tray and open it again |
84
+ | Claude Desktop (chat) | `mcpServers.mxstage` in `%APPDATA%\Claude\claude_desktop_config.json`. Microsoft Store version: also in `%LOCALAPPDATA%\Packages\Claude_<publisher ID>\LocalCache\Roaming\Claude\claude_desktop_config.json` when that folder exists. **Not registered** when the MX Stage extension (`.mcpb`) is installed and enabled in Claude Desktop (an entry the installer added earlier is removed) | Not copied (see [Skills](#skills)) | Quit from the system tray (closing the window is not enough) and open again |
85
+ | Antigravity | `mcpServers.mxstage` in `~\.gemini\config\mcp_config.json` | `~\.gemini\config\skills\<name>\SKILL.md` | Start a new conversation |
86
+ | Codex (ChatGPT desktop, CLI, IDE extension) | `[mcp_servers.mxstage]` in `~\.codex\config.toml` | `~\.agents\skills\<name>\SKILL.md` | Restart Codex |
87
+ | IBM Bob | `mcpServers.mxstage` in `~\.bob\settings\mcp.json` | `~\.bob\skills\<name>\SKILL.md` | Restart IBM Bob |
88
+
89
+ ## Uninstall
90
+
91
+ Say "uninstall MX Stage" to Claude Code, or run in `%USERPROFILE%\mxstage`:
92
+
93
+ ```bash
94
+ node scripts/setup-local.mjs --uninstall
95
+ ```
96
+
97
+ This removes the `mxstage` entries from every assistant (restoring any setting the installer replaced), the Skills it copied (unless you edited them), the sign-in shortcut and desktop shortcut, and the bridge it started. It keeps your own Skills (`~\.config\mxstage\skills\`) and the backups. To remove everything, also delete `%USERPROFILE%\mxstage` and `~\.config\mxstage` (the backups are full copies of the original settings files, including any tokens in them), and clear the site data for `127.0.0.1:8788` in your browser.
98
+
99
+ ## Installation steps for Claude Code
100
+
101
+ When the user asks to install MX Stage, follow these steps and get the user's approval before each command.
102
+
103
+ 1. **Check prerequisites**: `node --version` (22.6 or later) and `git --version`. If missing, with the user's agreement install them with `winget install OpenJS.NodeJS.LTS` / `winget install Git.Git`, then confirm `node` and `git` work in a new shell.
104
+ 2. **Get the code** into `%USERPROFILE%\mxstage` (`~/mxstage` on macOS and Linux):
105
+ - if it does not exist: `git clone <this repository URL> "%USERPROFILE%\mxstage"`
106
+ - if it exists: `git pull --ff-only` in it (if local changes block it, stop and tell the user)
107
+ 3. **Install**: in that folder run `node scripts/setup-local.mjs --json`. This also runs `npm install` and builds the work screen. Do not use `mxstage.cmd` (it waits for a key press at the end).
108
+ 4. **Read the result**: success if no item in `steps` has `"level": "error"`. For `error` or `warn`, tell the user its `message` and `hint` and follow the `hint`. Do not edit settings files by guesswork.
109
+ 5. **Tell the user** to restart the assistant they use, to enter the Maximo URL and API key in the work screen settings (`http://127.0.0.1:8788/app`), and never to paste the API key into the chat.
110
+
111
+ **Update**: steps 2 to 4. Ask the user to restart their assistant afterwards so the new bridge is used. **Uninstall**: `node scripts/setup-local.mjs --uninstall --json`. **Status**: `node scripts/setup-local.mjs --status --json` (changes nothing).
112
+
113
+ ## Skills
114
+
115
+ A Skill is a procedure the AI assistant follows.
116
+
117
+ | | Location | Contents | Updates |
118
+ |---|---|---|---|
119
+ | Built-in: index | `skills/mxstage-workbench` | The rules for every task and which Skill to read when | Replaced with MX Stage updates; do not edit |
120
+ | Built-in: basic operations | `skills/mxstage-core-*` (8) | Loading, analysing, changing, matching, importing, committing, the work screen, writing Skills | Same |
121
+ | Built-in: standard Maximo objects | `skills/mxstage-obj-*` (8) | Assets and meters, locations, classifications and specifications, work orders, PMs and job plans, items and inventory, purchasing, reference data: what Maximo does with them, what MX Stage can change and the traps | Same |
122
+ | Yours | `~/.config/mxstage/skills/<name>/SKILL.md` | Each customer's environment (custom objects, attributes, rules) and your repeated tasks | Yours; kept across updates and never sent anywhere. Names starting with `mxstage` are reserved |
123
+
124
+ - **Every assistant gets the index**: it is attached, with the list of all Skills, to the result of the first tool call in each conversation, so assistants that cannot load Skill files (Claude Desktop chat, for example) follow the same rules. Tool results name the Skills for each step (for example the asset and classification Skills when asset specifications are loaded), and the AI reads them with `get_skill`.
125
+ - **Your Skills come first for their customer**: they may replace steps of the built-in Skills, never the rules of the index.
126
+ - **Create Skills from the chat**: say "save this procedure as a Skill". The AI shows the name, description and body, and saves it after you agree.
127
+ - Run the installer again to copy new or changed Skills to each assistant.
128
+
129
+ ## Documentation
130
+
131
+ The detailed guides are in Japanese for now:
132
+
133
+ - [docs/local.md](docs/local.md) — daily use, updates, troubleshooting
134
+ - [docs/status.md](docs/status.md) — what works today
135
+ - [docs/publish.md](docs/publish.md) — checks before publishing
136
+
137
+ ## Development
138
+
139
+ ```bash
140
+ npm run typecheck # tsc (app and bridge)
141
+ npx vitest run # tests (app and bridge)
142
+ npm run test:setup # installer tests (write only to temporary folders)
143
+ npm run build # build the built-in Skills and the work screen (dist/app)
144
+ npm run dev:app # dev server for the work screen (http://localhost:5173/app?demo=1 shows sample data; relays to the dev bridge on 8790)
145
+ npm run dev:fake-maximo # a fake Maximo at https://127.0.0.1:9797 (API key: test-api-key)
146
+ npm run dev:bridge # a bridge on port 8790 that accepts the development license for the fake Maximo
147
+ ```
148
+
149
+ Disable IBM telemetry when installing dependencies (`$env:IBM_TELEMETRY_DISABLED='true'; npm install` in PowerShell); the installer does this itself. See [dev/README.md](dev/README.md) for developing and testing license checks.
150
+
151
+ **Only test commits against a development Maximo with dummy data.** There is no automatic rollback of changes written to Maximo.
152
+
153
+ ## License
154
+
155
+ MX Stage is licensed under the [Business Source License 1.1](LICENSE). The source is available, but it is not open source. The [LICENSE](LICENSE) file is authoritative; this is a summary.
156
+
157
+ - **Free**: everything except committing to a production Maximo — loading, analysing and editing production data, building Skills, and committing to test environments. You may read, modify and redistribute the source under the same license.
158
+ - **License needed**: using MX Stage to create, change or delete data in a **production Maximo environment** — US$4,800 per production environment per year, for any number of users and PCs. The license key names the environment's URLs (up to three aliases). [Pricing](https://mxstage.tsunagi.app/pricing).
159
+ - **Production environment**: the Maximo your organization uses to record day-to-day operations, and an environment being prepared to replace it (for example, a migration target before go-live). **Test environment**: everything else (development, test, training, demonstration, migration rehearsal), even if it holds a copy of production data.
160
+ - **Each version becomes Apache License 2.0 four years after its release.**
161
+ - Third-party packages and fonts (IBM Carbon Design System, IBM Plex and others) keep their own licenses ([THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)).
162
+
163
+ IBM and Maximo are trademarks of International Business Machines Corporation. MX Stage is an independent product and is not affiliated with or endorsed by IBM.
@@ -5611,7 +5611,33 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5611
5611
  SOFTWARE.
5612
5612
 
5613
5613
  ==============================================================================
5614
- @parcel/watcher-win32-x64@2.6.0
5614
+ @parcel/watcher-linux-x64-glibc@2.6.0
5615
+ License: MIT
5616
+ ------------------------------------------------------------------------------
5617
+ MIT License
5618
+
5619
+ Copyright (c) 2017-present Devon Govett
5620
+
5621
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5622
+ of this software and associated documentation files (the "Software"), to deal
5623
+ in the Software without restriction, including without limitation the rights
5624
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
5625
+ copies of the Software, and to permit persons to whom the Software is
5626
+ furnished to do so, subject to the following conditions:
5627
+
5628
+ The above copyright notice and this permission notice shall be included in all
5629
+ copies or substantial portions of the Software.
5630
+
5631
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
5632
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
5633
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
5634
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
5635
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
5636
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5637
+ SOFTWARE.
5638
+
5639
+ ==============================================================================
5640
+ @parcel/watcher-linux-x64-musl@2.6.0
5615
5641
  License: MIT
5616
5642
  ------------------------------------------------------------------------------
5617
5643
  MIT License