it-tools-mcp 3.1.0 → 3.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.dockerhub.md +1 -2
- package/README.md +4 -2
- package/build/index.js +8 -13
- package/package.json +1 -1
package/README.dockerhub.md
CHANGED
|
@@ -13,8 +13,6 @@
|
|
|
13
13
|
|
|
14
14
|
A comprehensive Model Context Protocol (MCP) server that provides access to **112 IT tools and utilities** commonly used by developers, system administrators, and IT professionals. This server exposes a complete set of tools for encoding/decoding, text manipulation, hashing, network utilities, and many other common development and IT tasks.
|
|
15
15
|
|
|
16
|
-
[](https://glama.ai/mcp/servers/@wrenchpilot/it-tools-mcp)
|
|
17
|
-
|
|
18
16
|
## Using with VS Code
|
|
19
17
|
|
|
20
18
|
Add to your VS Code `settings.json`:
|
|
@@ -134,3 +132,4 @@ MIT License - see [LICENSE](https://github.com/wrenchpilot/it-tools-mcp/blob/mas
|
|
|
134
132
|
- **GitHub Repository**: [wrenchpilot/it-tools-mcp](https://github.com/wrenchpilot/it-tools-mcp)
|
|
135
133
|
- **Complete Documentation**: [GitHub README](https://github.com/wrenchpilot/it-tools-mcp#readme)
|
|
136
134
|
- **Inspired by**: [IT Tools](https://github.com/CorentinTh/it-tools) - online tools for developers
|
|
135
|
+
- **Enhanced by**: [sharevb fork](https://github.com/sharevb/it-tools) - incorporates select tools with additional utilities
|
package/README.md
CHANGED
|
@@ -15,8 +15,6 @@
|
|
|
15
15
|
|
|
16
16
|
A comprehensive Model Context Protocol (MCP) server that provides access to 112 IT tools and utilities commonly used by developers, system administrators, and IT professionals. This server exposes a complete set of tools for encoding/decoding, text manipulation, hashing, network utilities, and many other common development and IT tasks.
|
|
17
17
|
|
|
18
|
-
[](https://glama.ai/mcp/servers/@wrenchpilot/it-tools-mcp)
|
|
19
|
-
|
|
20
18
|
## 📦 Installation & Setup
|
|
21
19
|
|
|
22
20
|
### Using with VS Code
|
|
@@ -311,6 +309,7 @@ Contributions are welcome! Please follow the guidelines below:
|
|
|
311
309
|
This project uses **Conventional Commits** for clear, consistent commit messages.
|
|
312
310
|
|
|
313
311
|
**Version Management:**
|
|
312
|
+
|
|
314
313
|
- 🔧 **Manual version bumping** - Update `package.json` when you want to release
|
|
315
314
|
- 🤖 **Automatic publishing** - CI/CD detects changes and publishes automatically
|
|
316
315
|
- 🏷️ **Git tags** - Created automatically based on package.json version
|
|
@@ -339,6 +338,7 @@ git push
|
|
|
339
338
|
6. Submit a Pull Request
|
|
340
339
|
|
|
341
340
|
The CI/CD pipeline will automatically:
|
|
341
|
+
|
|
342
342
|
- ✅ Build and test your changes
|
|
343
343
|
- 🏷️ Bump version based on commit messages (on merge to main)
|
|
344
344
|
- 📦 Publish to Docker Hub and NPM
|
|
@@ -351,3 +351,5 @@ MIT License - see [LICENSE](LICENSE) for details.
|
|
|
351
351
|
## 🔗 Related
|
|
352
352
|
|
|
353
353
|
Inspired by [IT Tools](https://github.com/CorentinTh/it-tools) - online tools for developers.
|
|
354
|
+
|
|
355
|
+
This project incorporates select tools from the [@sharevb fork](https://github.com/sharevb/it-tools) which extends IT Tools with additional utilities and enhancements.
|
package/build/index.js
CHANGED
|
@@ -242,9 +242,7 @@ async function loadModularTools(server, category) {
|
|
|
242
242
|
// Find the register function in the module
|
|
243
243
|
const registerFunction = Object.values(toolModule).find((fn) => typeof fn === 'function' && fn.name.startsWith('register'));
|
|
244
244
|
if (registerFunction) {
|
|
245
|
-
console.time(`register:${category}:${toolDir}`);
|
|
246
245
|
registerFunction(server);
|
|
247
|
-
console.timeEnd(`register:${category}:${toolDir}`);
|
|
248
246
|
}
|
|
249
247
|
else {
|
|
250
248
|
console.warn(`No register function found in ${toolPath}`);
|
|
@@ -268,9 +266,7 @@ async function registerAllTools(server) {
|
|
|
268
266
|
'utility', 'development', 'forensic', 'physics'
|
|
269
267
|
];
|
|
270
268
|
for (const category of categories) {
|
|
271
|
-
console.time(`register:${category}-modular`);
|
|
272
269
|
await loadModularTools(server, category);
|
|
273
|
-
console.timeEnd(`register:${category}-modular`);
|
|
274
270
|
}
|
|
275
271
|
}
|
|
276
272
|
// Add resource monitoring tool
|
|
@@ -293,16 +289,17 @@ server.tool("system-info", "Get system resource usage and server information", {
|
|
|
293
289
|
});
|
|
294
290
|
// Run the server
|
|
295
291
|
async function main() {
|
|
296
|
-
console.time("Tool registration");
|
|
297
292
|
await registerAllTools(server);
|
|
298
|
-
console.timeEnd("Tool registration");
|
|
299
293
|
const transport = new StdioServerTransport();
|
|
300
|
-
console.time("Server connect");
|
|
301
294
|
await server.connect(transport);
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
295
|
+
// Log startup (stderr only, no resource usage)
|
|
296
|
+
if (process.env.NODE_ENV === 'test') {
|
|
297
|
+
console.error("IT Tools MCP Server running on stdio");
|
|
298
|
+
// Exit after stdin closes (for test automation)
|
|
299
|
+
process.stdin.on('end', () => {
|
|
300
|
+
setTimeout(() => process.exit(0), 100);
|
|
301
|
+
});
|
|
302
|
+
}
|
|
306
303
|
// Only start periodic monitoring in production, not in tests
|
|
307
304
|
if (process.env.NODE_ENV !== 'test') {
|
|
308
305
|
// Periodic resource monitoring (every 5 minutes)
|
|
@@ -313,9 +310,7 @@ async function main() {
|
|
|
313
310
|
}
|
|
314
311
|
}, 5 * 60 * 1000);
|
|
315
312
|
}
|
|
316
|
-
console.timeEnd("Total startup");
|
|
317
313
|
}
|
|
318
|
-
console.time("Total startup");
|
|
319
314
|
main().catch((error) => {
|
|
320
315
|
console.error("Fatal error in main():", error);
|
|
321
316
|
process.exit(1);
|