jmstoolbox-mcp 0.0.0-stage → 1.0.0

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 ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Giáo Hồ
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md CHANGED
@@ -1,3 +1,115 @@
1
- # Temporary Holding Version
1
+ # JMSToolBox MCP Server
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Model Context Protocol (MCP) server for JMS messaging brokers, built with Java 17 and the official Java MCP SDK (`io.modelcontextprotocol.sdk:mcp-core`), packaged as a universal cross-platform CLI tool via npm.
4
+
5
+ Supports all JMS brokers supported by [JMSToolBox](https://github.com/jmstoolbox/jmstoolbox) (**IBM MQ**, **ActiveMQ**, **Artemis**, **RabbitMQ**, **TIBCO EMS**, **Solace**, **Oracle WebLogic**, **SonicMQ**, etc.) by directly leveraging JMSToolBox's configuration and dynamic JAR driver loading.
6
+
7
+ ---
8
+
9
+ ## 🌟 Key Features
10
+
11
+ - **Universal JMS Compatibility:** Loads broker client JARs on-demand using dedicated `URLClassLoader`s, eliminating native C client dependencies.
12
+ - **Auto-Discovery across Platforms:**
13
+ - Auto-detects JMSToolBox installation directory on **Windows**, **macOS**, and **Linux** to locate bundled vendor driver JARs.
14
+ - Auto-detects JMSToolBox configuration files from standard locations across operating systems (`~/.jtb/JMSToolBox/config.xml`, `APPDATA`, `Application Support`, `XDG_CONFIG_HOME`).
15
+ - **Native Password Decryption:** Decrypts encrypted passwords stored in JMSToolBox `config.xml` directly.
16
+ - **Safe Queue Browsing:** Non-destructive queue inspection with complete headers, properties, and message payloads.
17
+ - **Safety Safeguards:** Destructive tools (`send_message`, `consume_message`) are blocked by default unless `READ_ONLY=false` is set.
18
+ - **NPM Package & npx Support:** Can be installed globally via npm or run directly with Node.js.
19
+
20
+ ---
21
+
22
+ ## 🛠 Available Tools
23
+
24
+ | Tool | Description | Safe? |
25
+ |------|-------------|:----:|
26
+ | `list_connections` | List all configured connections from JMSToolBox `config.xml` | ✅ |
27
+ | `connect` | Connect to a broker using its dynamic ConnectionFactory | ✅ |
28
+ | `disconnect` | Disconnect and clean up resources | ✅ |
29
+ | `get_active_connections`| View currently connected brokers | ✅ |
30
+ | `browse_messages` | Browse messages without consuming (reads headers + body) | ✅ |
31
+ | `get_queue_depth` | Count total messages pending in a queue | ✅ |
32
+ | `send_message` | Send text/JSON/XML message to a queue | ⚠️ (Requires `READ_ONLY=false`) |
33
+ | `consume_message` | Dequeue/consume message from a queue | ⚠️ (Requires `READ_ONLY=false`) |
34
+
35
+ ---
36
+
37
+ ## 📦 Installation & Packaging
38
+
39
+ ### Method 1: Global NPM Install (Recommended for Local Dev)
40
+ Run the automated build & install script:
41
+ ```bash
42
+ npm run publish:local
43
+ ```
44
+ This builds the fat JAR using Maven, packages the npm tarball, and installs `jmstoolbox-mcp` globally.
45
+
46
+ ### Method 2: Manual Maven Build
47
+ ```bash
48
+ mvn clean package
49
+ ```
50
+ Generates `target/jmstoolbox-mcp.jar`.
51
+
52
+ ---
53
+
54
+ ## ⚙️ MCP Configuration
55
+
56
+ Add to your `.kiro/settings/mcp.json` or Claude Desktop configuration:
57
+
58
+ ### Option A: Using NPM binary (if installed globally)
59
+ ```json
60
+ {
61
+ "mcpServers": {
62
+ "jmstoolbox": {
63
+ "command": "npx",
64
+ "args": ["-y", "jmstoolbox-mcp"],
65
+ "env": {
66
+ "READ_ONLY": "true"
67
+ },
68
+ "disabled": false,
69
+ "autoApprove": [
70
+ "list_connections",
71
+ "connect",
72
+ "disconnect",
73
+ "get_active_connections",
74
+ "browse_messages",
75
+ "get_queue_depth"
76
+ ]
77
+ }
78
+ }
79
+ }
80
+ ```
81
+
82
+ ### Option B: Using direct launcher script
83
+ ```json
84
+ {
85
+ "mcpServers": {
86
+ "jmstoolbox": {
87
+ "command": "F:\\Documents\\Library\\AI\\jmstoolbox-mcp\\jmstoolbox-mcp.cmd",
88
+ "args": [],
89
+ "env": {
90
+ "READ_ONLY": "true"
91
+ },
92
+ "disabled": false,
93
+ "autoApprove": [
94
+ "list_connections",
95
+ "connect",
96
+ "disconnect",
97
+ "get_active_connections",
98
+ "browse_messages",
99
+ "get_queue_depth"
100
+ ]
101
+ }
102
+ }
103
+ }
104
+ ```
105
+
106
+ ---
107
+
108
+ ## 🔧 Environment Variables
109
+
110
+ | Variable | Description | Default |
111
+ |----------|-------------|---------|
112
+ | `READ_ONLY` | Safety flag (`true`/`false`). When `true`, prevents destructive actions (`send_message`, `consume_message`). | `true` |
113
+ | `JMS_CONFIG_PATH` | Explicit path to `config.xml`. | Auto-detected (`~/.jtb/JMSToolBox/config.xml`) |
114
+ | `JTB_HOME` | Explicit path to JMSToolBox installation directory. | Auto-detected (`Program Files`, `/Applications`, `/opt`, etc.) |
115
+ | `JTB_KEY` | Custom encryption key if customized in JMSToolBox. | JMSToolBox default key |
package/bin/index.js ADDED
@@ -0,0 +1,177 @@
1
+ #!/usr/bin/env node
2
+
3
+ const fs = require('fs');
4
+ const path = require('path');
5
+ const { spawn, execSync } = require('child_process');
6
+
7
+ function getWindowsDrives() {
8
+ try {
9
+ const output = execSync('fsutil fsinfo drives', { encoding: 'utf8', stdio: ['pipe', 'pipe', 'ignore'] });
10
+ const matches = [...output.matchAll(/\b([A-Za-z]):\\/g)].map(m => m[1].toUpperCase());
11
+ if (matches.length > 0) {
12
+ return matches;
13
+ }
14
+ } catch (e) {}
15
+
16
+ // Fallback: Check drive roots C: to Z:
17
+ const drives = [];
18
+ for (let i = 67; i <= 90; i++) {
19
+ const letter = String.fromCharCode(i);
20
+ try {
21
+ if (fs.existsSync(`${letter}:\\`)) {
22
+ drives.push(letter);
23
+ }
24
+ } catch (e) {}
25
+ }
26
+ return drives.length > 0 ? drives : ['C'];
27
+ }
28
+
29
+ function findJavaExecutable() {
30
+ // 1. Check JAVA_HOME
31
+ if (process.env.JAVA_HOME) {
32
+ const rawHome = process.env.JAVA_HOME.replace(/^"(.*)"$/, '$1').trim();
33
+ const binJava = path.join(rawHome, 'bin', process.platform === 'win32' ? 'java.exe' : 'java');
34
+ if (fs.existsSync(binJava)) {
35
+ return binJava;
36
+ }
37
+ }
38
+
39
+ // 2. Platform-specific JRE detection
40
+ if (process.platform === 'win32') {
41
+ // Query registry on Windows (HKLM, HKCU, and WOW6432Node)
42
+ const registryRoots = [
43
+ 'HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall',
44
+ 'HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall',
45
+ 'HKLM\\SOFTWARE\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall'
46
+ ];
47
+ for (const root of registryRoots) {
48
+ try {
49
+ const queryCmd = `reg query "${root}" 2>nul`;
50
+ const output = execSync(queryCmd, { encoding: 'utf8' });
51
+ const jtbKeys = output.split('\n').filter(line => line.toLowerCase().includes('jmstoolbox'));
52
+ for (const key of jtbKeys) {
53
+ const trimmedKey = key.trim();
54
+ if (!trimmedKey) continue;
55
+ try {
56
+ const locOutput = execSync(`reg query "${trimmedKey}" /v InstallLocation 2>nul`, { encoding: 'utf8' });
57
+ const match = locOutput.match(/InstallLocation\s+REG_SZ\s+(.*)/i);
58
+ if (match && match[1]) {
59
+ const installPath = match[1].trim();
60
+ const regJava = path.join(installPath, 'jre', 'bin', 'java.exe');
61
+ if (fs.existsSync(regJava)) return regJava;
62
+ }
63
+ } catch (e) {}
64
+ }
65
+ } catch (e) {}
66
+ }
67
+
68
+ const standardProgramDirs = [
69
+ process.env.ProgramFiles,
70
+ process.env['ProgramFiles(x86)'],
71
+ process.env.ProgramW6432
72
+ ].filter(Boolean);
73
+
74
+ for (const progDir of standardProgramDirs) {
75
+ const p = path.join(progDir, 'JMSToolBox', 'jre', 'bin', 'java.exe');
76
+ if (fs.existsSync(p)) return p;
77
+ }
78
+
79
+ const drives = getWindowsDrives();
80
+ for (const drive of drives) {
81
+ const p1 = `${drive}:\\Program Files\\JMSToolBox\\jre\\bin\\java.exe`;
82
+ if (fs.existsSync(p1)) return p1;
83
+ const p2 = `${drive}:\\Program Files (x86)\\JMSToolBox\\jre\\bin\\java.exe`;
84
+ if (fs.existsSync(p2)) return p2;
85
+ const p3 = `${drive}:\\JMSToolBox\\jre\\bin\\java.exe`;
86
+ if (fs.existsSync(p3)) return p3;
87
+ }
88
+
89
+ if (process.env.LOCALAPPDATA) {
90
+ const p1 = path.join(process.env.LOCALAPPDATA, 'Programs', 'JMSToolBox', 'jre', 'bin', 'java.exe');
91
+ if (fs.existsSync(p1)) return p1;
92
+ const p2 = path.join(process.env.LOCALAPPDATA, 'JMSToolBox', 'jre', 'bin', 'java.exe');
93
+ if (fs.existsSync(p2)) return p2;
94
+ }
95
+ } else if (process.platform === 'darwin') {
96
+ const userHome = process.env.HOME || '';
97
+ const macLocations = [
98
+ '/Applications/JMSToolBox.app/Contents/Eclipse/jre/Home/bin/java',
99
+ '/Applications/JMSToolBox.app/Contents/Eclipse/jre/bin/java',
100
+ '/Applications/JMSToolBox.app/Contents/jre/bin/java',
101
+ path.join(userHome, 'Applications/JMSToolBox.app/Contents/Eclipse/jre/Home/bin/java'),
102
+ path.join(userHome, 'Applications/JMSToolBox.app/Contents/jre/bin/java'),
103
+ '/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home/bin/java',
104
+ '/Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home/bin/java'
105
+ ];
106
+ for (const loc of macLocations) {
107
+ if (fs.existsSync(loc)) return loc;
108
+ }
109
+ } else {
110
+ const userHome = process.env.HOME || '';
111
+ const linuxLocations = [
112
+ '/opt/jmstoolbox/jre/bin/java',
113
+ '/opt/JMSToolBox/jre/bin/java',
114
+ '/usr/local/jmstoolbox/jre/bin/java',
115
+ '/usr/share/jmstoolbox/jre/bin/java',
116
+ path.join(userHome, 'jmstoolbox/jre/bin/java'),
117
+ path.join(userHome, '.local/share/jmstoolbox/jre/bin/java'),
118
+ '/usr/lib/jvm/default-java/bin/java',
119
+ '/usr/lib/jvm/java-17-openjdk/bin/java',
120
+ '/usr/lib/jvm/java-21-openjdk/bin/java'
121
+ ];
122
+ for (const loc of linuxLocations) {
123
+ if (fs.existsSync(loc)) return loc;
124
+ }
125
+ }
126
+
127
+ // 3. Fallback to system PATH
128
+ return 'java';
129
+ }
130
+
131
+ function findJarPath() {
132
+ const candidates = [
133
+ path.join(__dirname, '..', 'jmstoolbox-mcp.jar'),
134
+ path.join(__dirname, '..', 'target', 'jmstoolbox-mcp.jar'),
135
+ path.join(__dirname, 'jmstoolbox-mcp.jar')
136
+ ];
137
+
138
+ for (const p of candidates) {
139
+ if (fs.existsSync(p)) {
140
+ return p;
141
+ }
142
+ }
143
+ return null;
144
+ }
145
+
146
+ const javaBin = findJavaExecutable();
147
+ const jarPath = findJarPath();
148
+
149
+ if (!jarPath) {
150
+ console.error('[jmstoolbox-mcp] FATAL: Could not locate jmstoolbox-mcp.jar.');
151
+ console.error('[jmstoolbox-mcp] Checked locations:');
152
+ console.error(' - ' + path.join(__dirname, '..', 'jmstoolbox-mcp.jar'));
153
+ console.error(' - ' + path.join(__dirname, '..', 'target', 'jmstoolbox-mcp.jar'));
154
+ console.error('Please run "mvn clean package" first or check package installation.');
155
+ process.exit(1);
156
+ }
157
+
158
+ const args = ['-jar', jarPath, ...process.argv.slice(2)];
159
+
160
+ const child = spawn(javaBin, args, {
161
+ stdio: ['pipe', 'pipe', 'inherit'] // pipe stdin & stdout for MCP JSON-RPC, stderr to parent for logs
162
+ });
163
+
164
+ child.on('error', (err) => {
165
+ console.error(`[jmstoolbox-mcp] Failed to launch Java process (${javaBin}): ${err.message}`);
166
+ process.exit(1);
167
+ });
168
+
169
+ child.on('exit', (code, signal) => {
170
+ process.exit(code !== null ? code : 1);
171
+ });
172
+
173
+ process.stdin.pipe(child.stdin);
174
+ child.stdout.pipe(process.stdout);
175
+
176
+ process.on('SIGINT', () => child.kill('SIGINT'));
177
+ process.on('SIGTERM', () => child.kill('SIGTERM'));
Binary file
package/package.json CHANGED
@@ -1,6 +1,48 @@
1
1
  {
2
2
  "name": "jmstoolbox-mcp",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.0",
4
+ "description": "Model Context Protocol (MCP) server for JMS messaging brokers with dynamic driver loading and JMSToolBox configuration support",
5
+ "main": "bin/index.js",
6
+ "bin": {
7
+ "jmstoolbox-mcp": "bin/index.js"
8
+ },
9
+ "scripts": {
10
+ "start": "node bin/index.js",
11
+ "publish:local": "node scripts/publish-local.js"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/joutvhu/jmstoolbox-mcp.git"
16
+ },
17
+ "keywords": [
18
+ "mcp",
19
+ "model-context-protocol",
20
+ "jmstoolbox",
21
+ "jms",
22
+ "activemq",
23
+ "artemis",
24
+ "ibmmq",
25
+ "rabbitmq",
26
+ "tibco",
27
+ "solace",
28
+ "weblogic",
29
+ "messaging",
30
+ "queue",
31
+ "ai"
32
+ ],
33
+ "author": "Giao Ho <joutvhu@gmail.com>",
34
+ "license": "Apache-2.0",
35
+ "bugs": {
36
+ "url": "https://github.com/joutvhu/jmstoolbox-mcp/issues"
37
+ },
38
+ "homepage": "https://github.com/joutvhu/jmstoolbox-mcp#readme",
39
+ "engines": {
40
+ "node": ">=16.0.0"
41
+ },
42
+ "files": [
43
+ "bin/",
44
+ "jmstoolbox-mcp.jar",
45
+ "README.md",
46
+ "LICENSE"
47
+ ]
48
+ }